archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules:
"core" and "web". The core module depends on appfuse-service, while the web module depends on core as well
as AppFuse's JSF implementation.
<?xml version="1.0" encoding="UTF-8"?> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <packaging>pom</packaging> <version>${version}</version> <name>AppFuse Modular Application</name> <url>http://www.mycompany.com</url> <prerequisites> <maven>2.0.4</maven> </prerequisites> <licenses> <license> <name></name> <url></url> </license> </licenses> <scm> <connection></connection> <developerConnection></developerConnection> <url></url> </scm> <issueManagement> <system></system> <url></url> </issueManagement> <developers> <developer> <id></id> <name></name> <email></email> <timezone></timezone> </developer> </developers> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>central</id> <url>http://repo1.maven.org/maven2</url> </repository> <repository> <id>appfuse</id> <url>http://static.appfuse.org/repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>maven-snapshots</id> <url>http://snapshots.repository.codehaus.org</url> </pluginRepository> <pluginRepository> <id>appfuse</id> <url>http://static.appfuse.org/repository</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>jmock</groupId> <artifactId>jmock</artifactId> <version>${jmock.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-mock</artifactId> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.subethamail</groupId> <artifactId>subethasmtp-wiser</artifactId> <version>${wiser.version}</version> <scope>test</scope> </dependency> </dependencies> <modules> <module>core</module> <module>web</module> </modules> <reporting> <plugins> <plugin> <artifactId>maven-changes-plugin</artifactId> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> </plugin> <plugin> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> </plugins> </reporting> <properties> <dao.framework>hibernate</dao.framework> <web.framework>jsf</web.framework> <appfuse.version>2.0-m2</appfuse.version> <!-- Database settings --> <hibernate.dialect>org.hibernate.dialect.MySQLInnoDBDialect</hibernate.dialect> <jdbc.groupId>mysql</jdbc.groupId> <jdbc.artifactId>mysql-connector-java</jdbc.artifactId> <jdbc.version>5.0.3</jdbc.version> <jdbc.driverClassName>com.mysql.jdbc.Driver</jdbc.driverClassName> <jdbc.url><![CDATA[jdbc:mysql://localhost/appfuse?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8]]></jdbc.url> <jdbc.username>root</jdbc.username> <jdbc.password></jdbc.password> <!-- Testing dependency versions --> <jsp.version>2.0</jsp.version> <servlet.version>2.4</servlet.version> <jmock.version>1.1.0</jmock.version> <junit.version>3.8.2</junit.version> <spring.version>2.0.1</spring.version> <wiser.version>1.0.3</wiser.version> <!-- WebTest dependency versions --> <javamail.version>1.4</javamail.version> <log4j.version>1.2.13</log4j.version> <oro.version>2.0.8</oro.version> <webtest.version>1454</webtest.version> <!-- Cargo settings --> <cargo.host>localhost</cargo.host> <cargo.port>8081</cargo.port> <cargo.wait>false</cargo.wait> </properties> </project>