Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.0.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Added a warLibIncludes element to include only the specified list of jars because the warSourceExcludes is never finished when you add new dependencies to a project.
Activity
Jene Jasper
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | MWAR-146-maven-war-plugin-2.0.2.patch [ 32652 ] |
Stéphane Nicoll
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |
Stéphane Nicoll
made changes -
| Assignee | Stephane Nicoll [ sni ] |
Stéphane Nicoll
made changes -
| Comment | [ yes ] |
Now just create the project parent pom with all shared dependencies, for example:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>nl.abz</groupId>
<artifactId>test</artifactId>
<packaging>pom</packaging>
<version>v0100</version>
<name>Test project</name>
<dependencies>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>1.1.5</version>
<scope>compile</scope>
<type>jar</type>
</dependency>
<dependency>
<groupId>struts</groupId>
<artifactId>struts</artifactId>
<version>1.2.7</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>