I added the assemply plug in to a project, and it creates a proper jar
that includes config files, etc when run locally on my machine using
mvn package, but the same command on our build server outputs a jar
that lacks some critical config files that need to be at the default
package level in the classpath. Here's the config from the pom:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-4</version>
<executions>
<execution>
<goals>
<goal>attached</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.medialets.service.PostEC</mainClass>
</manifest>
</archive>
</configuration>
</execution>
</executions>
</plugin>
what gives?
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]