Hi, We are currently stuck with the approach of building an EAR file using the ATG modules to be deployed i n JBoss.
We have defined the following plugins PMD, JUnit Now for packaging the ear, ATG provides a assember utility called runassember.bat which identfies the ATG dependent modules and package a standalone ear. Hence we are trying to leverage this rather than writing the whole packaging ourselves. Our current problem is how to tell Maven that the Runassembler.bat will be responsible for building the EAR. We are typically looking at something like this maven compile maven pmd:pmd maven test Now after this we wanted to understand how we can effectively call the runassembler so that Maven delegates the building of ear to the runassember. Please find the extract of the POM.xml <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>lib</groupId> <artifactId>assembler</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>lib</groupId> <artifactId>dss</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>lib</groupId> <artifactId>dps</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-svn</artifactId> <version>1.0-alpha-4</version> </dependency> </dependencies> <scm> <connection>scm:svn:https://...........> <developerConnection>scm:svn://...........</developerConnection> <url>..............</url> </scm> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <targetJdk>1.5</targetJdk> <format>html</format> <linkXref>true</linkXref> <sourceEncoding>utf-8</sourceEncoding> <minimumTokens>100</minimumTokens> </configuration> </plugin> </plugins> </reporting> <build> <directory>bin</directory> <outputDirectory>bin/classes</outputDirectory> <finalName>${pom.artifactId}-${pom.version}</finalName> <testOutputDirectory>bin/test-classes</testOutputDirectory> <sourceDirectory>src</sourceDirectory> <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> <testSourceDirectory>src</testSourceDirectory> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <configuration> <checkoutDirectory>D:\ATG\ATG2006.3</checkoutDirectory> </configuration> </plugin> </plugins> </build> SInce this is very urgent, any help would be highly appreceiated Thanks in advance. -Mukundh -- View this message in context: http://www.nabble.com/Building-EAR-with-ATG-modules-using-Maven-2-tf4219783s177.html#a12004580 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]