You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by William Hatch <wk...@me.com> on 2009/09/11 09:41:58 UTC

Assembly plug in behaving differently between local and CI server

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org