The project that I want to create consists of a single application library relay-mailer.0.0.1.jar and several supporting libraries: log4j, commons-logging, mail, activation, etc. There a couple of launch scripts too. I have two goals that I am trying to reach. First is to copy the all the files (libraries and scripts) to a specified local directory for staging and local testing. Second is to deploy the contents of the local staging directory to a remote host using scp. My current pom.xml content is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>relay-mailer</groupId> <artifactId>relay-mailer</artifactId> <version>0.0.1</version> <packaging>jar</packaging> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.14</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> </dependency> <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>dnsjava</groupId> <artifactId>dnsjava</artifactId> <version>2.0.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> </dependency> </dependencies> <!--distributionManagement> <site> <id>mojo.website</id> <name>Mojo Website</name> <url>file:/test/</url> </site> </distributionManagement--> </project>
Wayne Fay <[EMAIL PROTECTED]> wrote: Please describe (specifically) what you are trying to do, what end results you are hoping to achieve, and someone on this list will most likely reply back with information that may prove helpful. Wayne On 5/22/07, Dennis Cook wrote: > Okay, so adding the element to the POM helped get past the error message, but > the result was did not provide what I was looking for. I got a staging > directory containing some template html files. Neither the application > library nor any of the supporting libraries were present. > > How do I get all of the libraries that make up the application into one > location? > > Dennis Cook wrote: > I am new to maven2 and trying to convert a project that is using a makefile > to maven2. This is a simple java application, one main jar with 3 dependent > libraries. I have gotten the build process to work up to the install goal. > But I need to progress to the point that the application jar and its > supporting libraries are delivered to another directory on the local (and > eventually remote) host. > From the information I can find in the doc I think the site:stage goal is the > one I need, but I hit an error from in this goal that I do not understand: > From the command mvn site:stage > The error: > [INFO] Error during site generation > Embedded error: C:\development\nethaggler\relay-mail\target\staging\Unnamed - > relay-mailer:relay-mailer:jar:0.0.1\integration.html (The filename, directory > name, or volume label syntax is incorrect) > My project has has no html files so why is it looking for this > integration.html file? > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
