Thanks, both answers where what I was looking for. I'm not building a webapp
(yet). Currently, I'm copying all jars (including the built one) into
target/lib, and then running:
java -cp [all jars] package.className
Adding the following helped me get my dependent jars into the target/lib
directory:
<postGoal name="jar">
<j:forEach var="dep" items="${pom.dependencies}">
<j:if test="${dep.getProperty('bundle.jar')=='true'}">
<copy todir="${maven.build.dir}"
file="${maven.repo.local}/${dep.artifactDirectory}/jars/
${dep.artifact}"/>
</j:if>
</j:forEach>
</postGoal>
Now, I'm running into a new problem. I have a Resources.properties file in
my java/src/package... tree, and I want to include it in the jar.
Unfortunately, this is not working:
<resources>
<includes>
<include>**/*.properties</include>
</includes>
</resources>
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]