Hi,

My project structure is as follows:

myproject - pom.xml
              - myearmodule
                       -pom.xml
              - mywebmodule
                       -pom.xml
              - myejbmodule
                       -pom.xml
              .........

pom.xml of 'myejbmodule'
-------------------------------
                :
                :
              <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                  <dependencies>
                          ........
                  </dependencies>
                  
                <executions>
                  <execution>
                    <phase>compile</phase>
                    <configuration>
                      <tasks>
                          <java
classname="org.apache.xalan.xsltc.cmdline.Compile"
dir="${project.build.directory}">
                              <arg line="-p package1.package2."/>
                              <arg line="-j mytranslets.jar"/>
                              <arg line="-u
file:///${basedir}/myfolder/label.xsl"/>
                          </java>
                      </tasks>
                    </configuration>
                    <goals>
                      <goal>run</goal>
                    </goals>
                  </execution>
                </executions>
                  
              </plugin>

The 'mytranslets.jar' jar file created in 'myejbmodule' gets created in the
'target' folder of 'myejbmodule'

I would want to include the jar as part of the myearmodule.ear that gets
generated from 'myearmodule'. Any pointers??

Cheers,   
-- 
View this message in context: 
http://old.nabble.com/Including-generated-jars-into-ear-file-tp27495491p27495491.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to