[jboss-dev-forums] [Design of JBoss Build System] - Re: how to release assembly artifacts

scott.stark@jboss.org do-not-reply at jboss.com
Tue Feb 26 18:47:34 EST 2008


The previous version did have an essentially empty project that build the client jar from the server project:

https://svn.jboss.org/repos/repository.jboss.org/maven2/org/jboss/jnp-client/5.0.0.Beta3/jnp-client-5.0.0.Beta3.pom

  |   <build>
  |     <plugins>
  |       <plugin>
  |         <artifactId>maven-antrun-plugin</artifactId>
  |         <version>1.1</version>
  |         <executions>
  |           <execution>
  |             <id>buildjar</id>
  |             <phase>package</phase>
  |             <goals>
  |               <goal>run</goal>
  |             </goals>
  |             <configuration>
  |               <tasks>
  |                 <jar jarfile="${basedir}/target/jnp-client-5.0.0.Beta3.jar" update="true" manifest="${basedir}/../jnpserver/src/etc/default.mf">
  |                   <fileset dir="${basedir}/../jnpserver/target/classes">
  |                     <include name="org/jnp/interfaces/**"></include>
  |                     <include name="org/jboss/naming/**"></include>
  |                   </fileset>
  |                   <fileset file="${basedir}/JBossORG-EULA.txt"></fileset>
  |                 </jar>
  |               </tasks>
  |             </configuration>
  |           </execution>
  |         </executions>
  |         <inherited>true</inherited>
  |       </plugin>
  |     </plugins>
  |   </build>
  | 

I guess I'll have to go back to that.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132348#4132348

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132348



More information about the jboss-dev-forums mailing list