You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by li...@datanucleus.org on 2008/11/06 10:24:04 UTC
RAR : How to get the jar included, how to limit transitive deps inclusion
Hi,
I try to use the RAR plugin for M2 and have 2 problems.
Background
I have a project with "src/java" and the code for a JCA adapter under that.
This is viewable here
http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/jdo.connector/trunk/
If I execute
mvn clean install
I get a RAR with the following contents :-
META-INF/
META-INF/MANIFEST.MF
datanucleus-core-1.1-SNAPSHOT.jar
datanucleus-rdbms-1.1-SNAPSHOT.jar
jdo2-api-2.2.jar
ant-1.7.0.jar
ant-launcher-1.7.0.jar
junit-3.8.1.jar
geronimo-jpa_3.0_spec-1.0.jar
META-INF/geronimo-ra.xml
META-INF/jonas-ra.xml
META-INF/weblogic-ra.xml
META-INF/persistence.xml
META-INF/ra.xml
META-INF/README.txt
META-INF/NOTICE.txt
plugin.xml
META-INF/maven/
META-INF/maven/org.datanucleus/
META-INF/maven/org.datanucleus/datanucleus-jca/
META-INF/maven/org.datanucleus/datanucleus-jca/pom.xml
META-INF/maven/org.datanucleus/datanucleus-jca/pom.properties
Problem 1 : How do I get the jar for this project to be included in the RAR
for this project ?
The RAR plugin doc says that the "jar" will be included by default in the RAR.
It isn't for me using M2 2.0.9 and v 2.2 of RAR plugin.
Problem 2 : It is including transitive deps from some of the jars I require in
the RAR. I DO NOT want this. How do I get exactly which jars I want included
in the RAR ?
Thanks in advance
--
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org