Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-alpha-2
-
Fix Version/s: 2.1-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
In maven-war-plugin 2.1-alpha-2, execute the following on a war project:
mvn clean;
mvn install;
mvn install;
The 3rd command incorrectly lists messages for each dependency as follows:
[INFO] Dependency[Dependency
{groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}]has changed (was Dependency {groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}
).
The first time that mvn install is run, dependencies are added to:
target\myapp-war-1.1-SNAPSHOT\WEB-INF\lib
The second invocation of mvn install appears to fail in comparing the existing jars in the above path with what is in the repository. The message states the dependencies have changed when in fact they have not.
This problem does not exist in maven-war-plugin 2.0.2.
Activity
Stéphane Nicoll
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Stephane Nicoll [ sni ] |
Stéphane Nicoll
made changes -
| Fix Version/s | 2.2 [ 15001 ] | |
| Description |
In maven-war-plugin 2.1-alpha-2, execute the following on a war project: mvn clean; mvn install; mvn install; The 3rd command incorrectly lists messages for each dependency as follows: [INFO] Dependency[Dependency {groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}] has changed (was Dependency {groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}). The first time that mvn install is run, dependencies are added to: target\myapp-war-1.1-SNAPSHOT\WEB-INF\lib The second invocation of mvn install appears to fail in comparing the existing jars in the above path with what is in the repository. The message states the dependencies have changed when in fact they have not. This problem does not exist in maven-war-plugin 2.0.2. |
In maven-war-plugin 2.1-alpha-2, execute the following on a war project:
mvn clean; mvn install; mvn install; The 3rd command incorrectly lists messages for each dependency as follows: [INFO] Dependency[Dependency {groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}] has changed (was Dependency {groupId=com.mycompany, artifactId=myartifact, version=8.6.1, type=jar}). The first time that mvn install is run, dependencies are added to: target\myapp-war-1.1-SNAPSHOT\WEB-INF\lib The second invocation of mvn install appears to fail in comparing the existing jars in the above path with what is in the repository. The message states the dependencies have changed when in fact they have not. This problem does not exist in maven-war-plugin 2.0.2. |
Dennis Lundberg
made changes -
| Fix Version/s | 2.3 [ 18298 ] | |
| Fix Version/s | 2.2 [ 15001 ] |
Dennis Lundberg
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 2.1-beta-1 [ 12616 ] | |
| Fix Version/s | 2.3 [ 18298 ] | |
| Resolution | Fixed [ 1 ] |