I have hit this bug

http://jira.codehaus.org/browse/MNG-4809

Quoting it,

We cannot specify variables to define a system path. Maven complains about
absolute path. This is a pain which forces us to either hard code the path
or use -DlocalRepository flag.

Is there a way to use settings from settings.xml to refer to this property?

<systemPath>${settings.localRepository}/my.jar</systemPath>
Am using,

Apache Maven 3.0-beta-2 (r983206; 2010-08-07 16:30:51+0530)

Can anyone please suggest a good workaround other than specifying a hard
coded path or passing -DlocalRepository flag, if one exists.

Thanks much,
Hari

Reply via email to