Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.0.2
-
Fix Version/s: None
-
Component/s: inheritance
-
Labels:None
-
Environment:Win XP & Solaris 8
Maven 1.0.2
-
Number of attachments :
Description
In my project.properties the
maven.jar.override = on
is setted and the library override:
maven.jar.commons-lang = $
{basedir}/lib/commons-lang-2.0.jar
is setted.
Now the Artifact Plugin tries to get the commons-lang-2.0.jar from the local plugin libraries and fails.
Issue Links
- is duplicated by
-
MAVEN-1540
Jar overrides are not getting inherited
-
-
MAVEN-1610
failing inheritance for project.properties
-
this is the correct behaviour.
You need to either:
a) add the property to project.properties inside the plugin (not recommended)
b) put the property in ~/build.properties (affects all projects and plugins)
c) add the property to the command line with -D
What is your reason for doing this? If you are just manually downloading JARs, perhaps it is better to put them in the local repository directly?