Install each library jar into your local repository with the install:install-file command... Just make up reasonable groupId and artifactIds, and hopefully you know the version numbers.
mvn install:install-file -DgroupId={xyz} -DartifactId={abc} -Dversion={1.2.3} -Dpackaging=jar -Dfile=lib/xyz-abc-1.2.3.jar -Dgeneratepom=true Then in your pom, add dependencies for each library jar you've just installed. Before you do all this work, you might want to make sure the Jars don't already exist in a Maven repository somewhere... Wayne On 6/7/06, Marc Weber <[EMAIL PROTECTED]> wrote:
Hi. I want to create a package for a sourceforge project. It contains src/javafiles.java and lib/somejar1,2,3,...jar Now I want include the lib/somejar.jar into the distribution but I don't know how to do this? Unpack the jars and add the .class files using <project> <build> <resources> <resource> <directory> ? Marc Weber --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]