You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local dependency projects are not included in the onejar
What steps will reproduce the problem?
1. Using an eclipse workspace with several projects
2. Add default onejar tags to main project pom.xml
3. Run As Maven Package
What is the expected output? What do you see instead?
Local project jars should be in the onejar lib directory along with 3rd party
dependency projects. They are no where to be found. If I delete a local
project, resorting to a .m2 version. That jar will then show up in the onejar.
What version of onejar-maven-plugin are you using?
This is the pom entry
<plugins>
<plugin>
<groupId>org.dstovall</groupId>
<artifactId>onejar-maven-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<configuration>
<mainClass>com.protedyne.PatientInventoryLauncher</mainClass>
<!-- Optional -->
<onejarVersion>0.97</onejarVersion>
<!-- Optional, default is false -->
<attachToBuild>true</attachToBuild>
<!-- Optional, default is "onejar" -->
<classifier>onejar</classifier>
</configuration>
<goals>
<goal>one-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
What is the output of "mvn -version" on your machine?
Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
Java version: 1.6.0_20
Java home: C:\Program Files\Java\jdk1.6.0_20\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
Please provide any additional information below.
It works as expected using "mvn package" from the command window, so I'm
suspecting it has to do with the plugi-in
Thanks
Dave
Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 1:54
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Sep 2010 at 1:54The text was updated successfully, but these errors were encountered: