Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0.3
-
None
-
None
-
Windows XP
Description
If Maven2 dependancy scope is changed from the default to provided, and the "clean install" goals are run everything is fine. The referenced jars manifest entry is removed and the jar is installed in the local repository.
If you run a "clean deploy" straight afterwards, the project state has not changed and the resulting jars are not deployed to the remote repository.
So the problem is that the jars deployed on a previous "clean deploy" are still in the repository with incorrect manifest entries. (Still referencing the "provided" dependancy.
If the pom is updated and a "clean deploy" is done straight away, it works fine.