Esclarecimentos na utilização dos arquivos WAR e EAR
15/01/2013
0
Eduardo Pereira
Posts
25/01/2013
Henrique Andrade
26/01/2013
Eduardo Pereira
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>br.com.dicarte.controlefinanceiro</groupId> <artifactId>AdministradorFinanceiro</artifactId> <version>0.0.1</version> <packaging>pom</packaging> <name>Administrador Financeiro</name> <modules> <module>AdministradorFinanceiroEAR</module> <module>AdministradorFinanceiroEJB</module> <module>AdministradorFinanceiroCTRLL</module> <module>AdministradorFinanceiroWEB</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> <compilerVersion>1.6</compilerVersion> <executable>C:\ambiente-novo\jdk1.6.0_06\bin</executable> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <version>2.3</version> <configuration> <ejbVersion>3.1</ejbVersion> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.1.1</version> <configuration> <webResources> <webResource> <directory>$/src/main/webapp/WEB-INF</directory> <includes> <include>web.xml</include> </includes> <targetPath>WEB-INF</targetPath> <filtering>true</filtering> </webResource> </webResources> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <version>2.5</version> <configuration> <displayName>EAR</displayName> <generateApplicationXml>true</generateApplicationXml> <modules> <ejbModule> <groupId>br.com.dicarte.controlefinanceiro</groupId> <artifactId>AdministradorFinanceiroEJB</artifactId> <bundleFileName>AdministradorFinanceiroEJB-0.0.1.jar</bundleFileName> </ejbModule> <webModule> <groupId>br.com.dicarte.controlefinanceiro</groupId> <artifactId>AdministradorFinanceiroWEB</artifactId> <bundleFileName>AdministradorFinanceiroWEB-0.0.1.war</bundleFileName> <contextRoot>/AdministradorFinanceiro</contextRoot> </webModule> <jarModule> <groupId>br.com.dicarte.controlefinanceiro</groupId> <artifactId>AdministradorFinanceiroCTRLL</artifactId> <bundleFileName>AdministradorFinanceiro-0.0.1.jar</bundleFileName> </jarModule> </modules> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>maven2-repository-.dev.java.net</id> <name>Java.net Repository for Maven</name> <url>http://download.java.net/maven/2</url> </repository> <repository> <id>prime-repo</id> <name>Prime Technology Maven Repository</name> <url>http://repository.prime.com.tr</url> <layout>default</layout> </repository> </repositories> </project>
26/02/2013
Eduardo Pereira