| CODENOTIFIER | HelpYou are not signed inSign in |
Project: AppFuse
Revision: 3154
Author: mraible
Date: 10 May 2008 21:53:17
Changes:[maven-release-plugin] copy for tag APPFUSE_2.0.2
Files:| ... | ...@@ -0,0 +1,89 @@ | |
| 1 | <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"> | |
| 2 | ||
| 3 | <modelVersion>4.0.0</modelVersion> | |
| 4 | ||
| 5 | <parent> | |
| 6 | <groupId>org.appfuse</groupId> | |
| 7 | <artifactId>appfuse</artifactId> | |
| 8 | <version>2.0.2</version> | |
| 9 | <relativePath>../../pom.xml</relativePath> | |
| 10 | </parent> | |
| 11 | ||
| 12 | <artifactId>maven-warpath-plugin</artifactId> | |
| 13 | <packaging>maven-plugin</packaging> | |
| 14 | <version>2.0.2</version> | |
| 15 | <name>Maven WarPath Plugin</name> | |
| 16 | ||
| 17 | <prerequisites> | |
| 18 | <maven>2.0.6</maven> | |
| 19 | </prerequisites> | |
| 20 | ||
| 21 | <scm> | |
| 22 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/plugins/maven-warpath-plugin</connection> | |
| 23 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/plugins/maven-warpath-plugin</developerConnection> | |
| 24 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/plugins/maven-warpath-plugin</url> | |
| 25 | </scm> | |
| 26 | ||
| 27 | <developers> | |
| 28 | <developer> | |
| 29 | <name>Michael Horwitz</name> | |
| 30 | <email>mike.horwitz@gmail.com</email> | |
| 31 | <timezone>0</timezone> | |
| 32 | </developer> | |
| 33 | </developers> | |
| 34 | ||
| 35 | <dependencies> | |
| 36 | <dependency> | |
| 37 | <groupId>org.apache.maven</groupId> | |
| 38 | <artifactId>maven-plugin-api</artifactId> | |
| 39 | <version>2.0.4</version> | |
| 40 | </dependency> | |
| 41 | <dependency> | |
| 42 | <groupId>org.apache.maven</groupId> | |
| 43 | <artifactId>maven-project</artifactId> | |
| 44 | <version>2.0.4</version> | |
| 45 | </dependency> | |
| 46 | <dependency> | |
| 47 | <groupId>org.apache.maven</groupId> | |
| 48 | <artifactId>maven-artifact</artifactId> | |
| 49 | <version>2.0.4</version> | |
| 50 | </dependency> | |
| 51 | <dependency> | |
| 52 | <groupId>org.apache.maven</groupId> | |
| 53 | <artifactId>maven-core</artifactId> | |
| 54 | <version>2.0.4</version> | |
| 55 | </dependency> | |
| 56 | <dependency> | |
| 57 | <groupId>org.codehaus.plexus</groupId> | |
| 58 | <artifactId>plexus-utils</artifactId> | |
| 59 | <version>1.1</version> | |
| 60 | </dependency> | |
| 61 | <dependency> | |
| 62 | <groupId>org.codehaus.plexus</groupId> | |
| 63 | <artifactId>plexus-utils</artifactId> | |
| 64 | <version>1.4.1</version> | |
| 65 | </dependency> | |
| 66 | <dependency> | |
| 67 | <groupId>junit</groupId> | |
| 68 | <artifactId>junit</artifactId> | |
| 69 | <version>${junit.version}</version> | |
| 70 | <scope>test</scope> | |
| 71 | </dependency> | |
| 72 | </dependencies> | |
| 73 | ||
| 74 | <distributionManagement> | |
| 75 | <site> | |
| 76 | <id>appfuse-plugins</id> | |
| 77 | <name>AppFuse Plugins Site</name> | |
| 78 | <url>scp://static.appfuse.org/var/www/appfuse-site/plugins/maven-warpath-plugin</url> | |
| 79 | </site> | |
| 80 | </distributionManagement> | |
| 81 | ||
| 82 | <reporting> | |
| 83 | <plugins> | |
| 84 | <plugin> | |
| 85 | <artifactId>maven-plugin-plugin</artifactId> | |
| 86 | </plugin> | |
| 87 | </plugins> | |
| 88 | </reporting> | |
| 89 | </project> | |
| 0 | 90 | \ No newline at end of file |
| ... | ...@@ -0,0 +1,319 @@ | |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | ||
| 3 | <!-- | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | you may not use this file except in compliance with the License. | |
| 6 | You may obtain a copy of the License at | |
| 7 | ||
| 8 | http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | ||
| 10 | Unless required by applicable law or agreed to in writing, software | |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | See the License for the specific language governing permissions and | |
| 14 | limitations under the License. | |
| 15 | --> | |
| 16 | ||
| 17 | <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"> | |
| 18 | ||
| 19 | <modelVersion>4.0.0</modelVersion> | |
| 20 | ||
| 21 | <parent> | |
| 22 | <groupId>org.appfuse</groupId> | |
| 23 | <artifactId>appfuse-web</artifactId> | |
| 24 | <version>2.0.2</version> | |
| 25 | </parent> | |
| 26 | ||
| 27 | <artifactId>appfuse-tapestry</artifactId> | |
| 28 | <packaging>war</packaging> | |
| 29 | <name>AppFuse Tapestry Module</name> | |
| 30 | ||
| 31 | <description> | |
| 32 | Tapestry Module for AppFuse: includes Tapestry with Spring and Flash messages support. | |
| 33 | Include this module in your dependencies if you want to use Tapestry as your web framework. | |
| 34 | </description> | |
| 35 | ||
| 36 | <scm> | |
| 37 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/web/tapestry</connection> | |
| 38 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/web/tapestry</developerConnection> | |
| 39 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/web/tapestry</url> | |
| 40 | </scm> | |
| 41 | ||
| 42 | <build> | |
| 43 | <plugins> | |
| 44 | <plugin> | |
| 45 | <groupId>org.codehaus.mojo</groupId> | |
| 46 | <artifactId>dbunit-maven-plugin</artifactId> | |
| 47 | <version>1.0-beta-1</version> | |
| 48 | <configuration> | |
| 49 | <dataTypeFactoryName>${dbunit.dataTypeFactoryName}</dataTypeFactoryName> | |
| 50 | <driver>${jdbc.driverClassName}</driver> | |
| 51 | <username>${jdbc.username}</username> | |
| 52 | <password>${jdbc.password}</password> | |
| 53 | <url>${jdbc.url}</url> | |
| 54 | <src>src/test/resources/sample-data.xml</src> | |
| 55 | <type>${dbunit.operation.type}</type> | |
| 56 | <schema>${dbunit.schema}</schema> | |
| 57 | <skip>${maven.test.skip}</skip> | |
| 58 | </configuration> | |
| 59 | <executions> | |
| 60 | <execution> | |
| 61 | <id>test-compile</id> | |
| 62 | <phase>test-compile</phase> | |
| 63 | <goals> | |
| 64 | <goal>operation</goal> | |
| 65 | </goals> | |
| 66 | </execution> | |
| 67 | <execution> | |
| 68 | <!-- Runs before integration tests and jetty:run-war --> | |
| 69 | <id>test</id> | |
| 70 | <phase>test</phase> | |
| 71 | <goals> | |
| 72 | <goal>operation</goal> | |
| 73 | </goals> | |
| 74 | </execution> | |
| 75 | </executions> | |
| 76 | <dependencies> | |
| 77 | <dependency> | |
| 78 | <groupId>${jdbc.groupId}</groupId> | |
| 79 | <artifactId>${jdbc.artifactId}</artifactId> | |
| 80 | <version>${jdbc.version}</version> | |
| 81 | </dependency> | |
| 82 | </dependencies> | |
| 83 | </plugin> | |
| 84 | <plugin> | |
| 85 | <groupId>org.appfuse</groupId> | |
| 86 | <artifactId>maven-warpath-plugin</artifactId> | |
| 87 | <version>${pom.version}</version> | |
| 88 | <extensions>true</extensions> | |
| 89 | <executions> | |
| 90 | <execution> | |
| 91 | <goals> | |
| 92 | <goal>add-classes</goal> | |
| 93 | </goals> | |
| 94 | </execution> | |
| 95 | </executions> | |
| 96 | </plugin> | |
| 97 | <plugin> | |
| 98 | <artifactId>maven-war-plugin</artifactId> | |
| 99 | <version>2.0.2</version> | |
| 100 | <configuration> | |
| 101 | <dependentWarExcludes>**/jdbc.properties</dependentWarExcludes> | |
| 102 | </configuration> | |
| 103 | <executions> | |
| 104 | <execution> | |
| 105 | <id>skinny-war</id> | |
| 106 | <goals> | |
| 107 | <goal>war</goal> | |
| 108 | </goals> | |
| 109 | <phase>post-integration-test</phase> | |
| 110 | <inherited>false</inherited> | |
| 111 | <configuration> | |
| 112 | <warSourceExcludes>WEB-INF/lib/**</warSourceExcludes> | |
| 113 | </configuration> | |
| 114 | </execution> | |
| 115 | </executions> | |
| 116 | </plugin> | |
| 117 | </plugins> | |
| 118 | <resources> | |
| 119 | <resource> | |
| 120 | <directory>src/main/resources</directory> | |
| 121 | <filtering>true</filtering> | |
| 122 | </resource> | |
| 123 | </resources> | |
| 124 | <testResources> | |
| 125 | <testResource> | |
| 126 | <directory>src/test/resources</directory> | |
| 127 | </testResource> | |
| 128 | <testResource> | |
| 129 | <directory>src/main/webapp</directory> | |
| 130 | <includes> | |
| 131 | <include>**/*.xml</include> | |
| 132 | </includes> | |
| 133 | </testResource> | |
| 134 | </testResources> | |
| 135 | </build> | |
| 136 | ||
| 137 | <repositories> | |
| 138 | <repository> | |
| 139 | <id>tapestry@javaforge</id> | |
| 140 | <url>http://howardlewisship.com/repository</url> | |
| 141 | </repository> | |
| 142 | </repositories> | |
| 143 | ||
| 144 | <dependencies> | |
| 145 | <dependency> | |
| 146 | <groupId>${pom.groupId}</groupId> | |
| 147 | <artifactId>appfuse-web-common</artifactId> | |
| 148 | <version>${pom.version}</version> | |
| 149 | <type>war</type> | |
| 150 | </dependency> | |
| 151 | <dependency> | |
| 152 | <groupId>${pom.groupId}</groupId> | |
| 153 | <artifactId>appfuse-web-common</artifactId> | |
| 154 | <version>${pom.version}</version> | |
| 155 | <type>warpath</type> | |
| 156 | <exclusions> | |
| 157 | <exclusion> | |
| 158 | <groupId>org.appfuse</groupId> | |
| 159 | <artifactId>appfuse-hibernate</artifactId> | |
| 160 | </exclusion> | |
| 161 | </exclusions> | |
| 162 | </dependency> | |
| 163 | <dependency> | |
| 164 | <groupId>org.appfuse</groupId> | |
| 165 | <artifactId>appfuse-${dao.framework}</artifactId> | |
| 166 | <version>${pom.version}</version> | |
| 167 | </dependency> | |
| 168 | <dependency> | |
| 169 | <groupId>org.apache.tapestry</groupId> | |
| 170 | <artifactId>tapestry-annotations</artifactId> | |
| 171 | <version>${tapestry.version}</version> | |
| 172 | </dependency> | |
| 173 | <dependency> | |
| 174 | <groupId>org.apache.tapestry</groupId> | |
| 175 | <artifactId>tapestry-contrib</artifactId> | |
| 176 | <version>${tapestry.version}</version> | |
| 177 | </dependency> | |
| 178 | <dependency> | |
| 179 | <groupId>com.javaforge.tapestry</groupId> | |
| 180 | <artifactId>tapestry-flash</artifactId> | |
| 181 | <version>${tapestry.flash.version}</version> | |
| 182 | <exclusions> | |
| 183 | <exclusion> | |
| 184 | <groupId>tapestry</groupId> | |
| 185 | <artifactId>tapestry</artifactId> | |
| 186 | </exclusion> | |
| 187 | <exclusion> | |
| 188 | <groupId>tapestry</groupId> | |
| 189 | <artifactId>tapestry-annotations</artifactId> | |
| 190 | </exclusion> | |
| 191 | </exclusions> | |
| 192 | </dependency> | |
| 193 | <dependency> | |
| 194 | <groupId>com.javaforge.tapestry</groupId> | |
| 195 | <artifactId>tapestry-spring</artifactId> | |
| 196 | <version>${tapestry.spring.version}</version> | |
| 197 | <exclusions> | |
| 198 | <exclusion> | |
| 199 | <groupId>tapestry</groupId> | |
| 200 | <artifactId>tapestry</artifactId> | |
| 201 | </exclusion> | |
| 202 | <exclusion> | |
| 203 | <groupId>tapestry</groupId> | |
| 204 | <artifactId>tapestry-annotations</artifactId> | |
| 205 | </exclusion> | |
| 206 | </exclusions> | |
| 207 | </dependency> | |
| 208 | <dependency> | |
| 209 | <groupId>net.sf.tacos</groupId> | |
| 210 | <artifactId>tacos-core</artifactId> | |
| 211 | <version>${tacos.version}</version> | |
| 212 | </dependency> | |
| 213 | </dependencies> | |
| 214 | ||
| 215 | <profiles> | |
| 216 | <profile> | |
| 217 | <id>integration-test</id> | |
| 218 | <activation> | |
| 219 | <property> | |
| 220 | <name>!maven.test.skip</name> | |
| 221 | </property> | |
| 222 | </activation> | |
| 223 | <build> | |
| 224 | <plugins> | |
| 225 | <plugin> | |
| 226 | <groupId>org.codehaus.cargo</groupId> | |
| 227 | <artifactId>cargo-maven2-plugin</artifactId> | |
| 228 | <version>0.3</version> | |
| 229 | <configuration> | |
| 230 | <wait>${cargo.wait}</wait> | |
| 231 | <container> | |
| 232 | <containerId>${cargo.container}</containerId> | |
| 233 | <!--home>${cargo.container.home}</home--> | |
| 234 | <zipUrlInstaller> | |
| 235 | <url>${cargo.container.url}</url> | |
| 236 | <installDir>${installDir}</installDir> | |
| 237 | </zipUrlInstaller> | |
| 238 | </container> | |
| 239 | <configuration> | |
| 240 | <home>${project.build.directory}/${cargo.container}/container</home> | |
| 241 | <properties> | |
| 242 | <cargo.hostname>${cargo.host}</cargo.hostname> | |
| 243 | <cargo.servlet.port>${cargo.port}</cargo.servlet.port> | |
| 244 | </properties> | |
| 245 | </configuration> | |
| 246 | </configuration> | |
| 247 | <executions> | |
| 248 | <execution> | |
| 249 | <id>start-container</id> | |
| 250 | <phase>pre-integration-test</phase> | |
| 251 | <goals> | |
| 252 | <goal>start</goal> | |
| 253 | </goals> | |
| 254 | </execution> | |
| 255 | <execution> | |
| 256 | <id>stop-container</id> | |
| 257 | <phase>post-integration-test</phase> | |
| 258 | <goals> | |
| 259 | <goal>stop</goal> | |
| 260 | </goals> | |
| 261 | </execution> | |
| 262 | </executions> | |
| 263 | </plugin> | |
| 264 | <plugin> | |
| 265 | <artifactId>maven-antrun-plugin</artifactId> | |
| 266 | <version>1.1</version> | |
| 267 | <configuration> | |
| 268 | <tasks> | |
| 269 | <taskdef resource="webtest_base_relaxed.taskdef"> | |
| 270 | <classpath refid="maven.test.classpath" /> | |
| 271 | </taskdef> | |
| 272 | <mkdir dir="target/webtest-data" /> | |
| 273 | <!-- Delete old results file if it exists --> | |
| 274 | <delete file="target/webtest-data/web-tests-result.xml" /> | |
| 275 | <!-- This is so the default will be used if no test case is specified --> | |
| 276 | <property name="test" value="run-all-tests" /> | |
| 277 | <echo level="info">Testing '${project.build.finalName}' with locale '${user.language}'</echo> | |
| 278 | <ant antfile="src/test/resources/web-tests.xml" target="${test}"> | |
| 279 | <property name="user.language" value="${user.language}" /> | |
| 280 | <property name="webapp.name" value="${project.build.finalName}" /> | |
| 281 | <property name="host" value="${cargo.host}" /> | |
| 282 | <property name="port" value="${cargo.port}" /> | |
| 283 | </ant> | |
| 284 | </tasks> | |
| 285 | </configuration> | |
| 286 | <executions> | |
| 287 | <execution> | |
| 288 | <phase>integration-test</phase> | |
| 289 | <goals> | |
| 290 | <goal>run</goal> | |
| 291 | </goals> | |
| 292 | </execution> | |
| 293 | </executions> | |
| 294 | <dependencies> | |
| 295 | <dependency> | |
| 296 | <groupId>com.canoo.webtest</groupId> | |
| 297 | <artifactId>webtest</artifactId> | |
| 298 | <version>${webtest.version}</version> | |
| 299 | <exclusions> | |
| 300 | <exclusion> | |
| 301 | <groupId>groovy</groupId> | |
| 302 | <artifactId>groovy-all</artifactId> | |
| 303 | </exclusion> | |
| 304 | </exclusions> | |
| 305 | </dependency> | |
| 306 | </dependencies> | |
| 307 | </plugin> | |
| 308 | </plugins> | |
| 309 | </build> | |
| 310 | </profile> | |
| 311 | </profiles> | |
| 312 | ||
| 313 | <properties> | |
| 314 | <!-- Commons DBCP 1.2.2 apparently has timeout issues (APF-976), but 1.2.1 causes the following with Tapestry 4.1.5 --> | |
| 315 | <!-- NoSuchMethodError: org.apache.commons.pool.impl.GenericKeyedObjectPool.setMinIdle(I)V --> | |
| 316 | <commons.dbcp.version>1.2.2</commons.dbcp.version> | |
| 317 | </properties> | |
| 318 | </project> | |
| 319 |
| ... | ...@@ -0,0 +1,27 @@ | |
| 1 | <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"> | |
| 2 | ||
| 3 | <modelVersion>4.0.0</modelVersion> | |
| 4 | ||
| 5 | <parent> | |
| 6 | <groupId>org.appfuse</groupId> | |
| 7 | <artifactId>appfuse</artifactId> | |
| 8 | <version>2.0.2</version> | |
| 9 | <relativePath>../../pom.xml</relativePath> | |
| 10 | </parent> | |
| 11 | ||
| 12 | <groupId>org.appfuse.archetypes</groupId> | |
| 13 | <artifactId>appfuse-basic-spring</artifactId> | |
| 14 | <name>AppFuse Basic Archetype - Spring MVC</name> | |
| 15 | <version>2.0.2</version> | |
| 16 | ||
| 17 | <description> | |
| 18 | Maven 2 archetype that creates a web application with AppFuse embedded in it. | |
| 19 | </description> | |
| 20 | ||
| 21 | <scm> | |
| 22 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-spring</connection> | |
| 23 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-spring</developerConnection> | |
| 24 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-spring</url> | |
| 25 | </scm> | |
| 26 | ||
| 27 | </project> | |
| 0 | 28 | \ No newline at end of file |
| ... | ...@@ -0,0 +1,29 @@ | |
| 1 | <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"> | |
| 2 | ||
| 3 | <modelVersion>4.0.0</modelVersion> | |
| 4 | ||
| 5 | <parent> | |
| 6 | <groupId>org.appfuse</groupId> | |
| 7 | <artifactId>appfuse</artifactId> | |
| 8 | <version>2.0.2</version> | |
| 9 | <relativePath>../../pom.xml</relativePath> | |
| 10 | </parent> | |
| 11 | ||
| 12 | <groupId>org.appfuse.archetypes</groupId> | |
| 13 | <artifactId>appfuse-modular-jsf</artifactId> | |
| 14 | <name>AppFuse Modular Archetype - JSF</name> | |
| 15 | <version>2.0.2</version> | |
| 16 | ||
| 17 | <description> | |
| 18 | Maven 2 archetype that creates a modular web application with AppFuse. This archetype creates two modules: | |
| 19 | "core" and "web". The core module depends on appfuse-service, while the web module depends on core as well | |
| 20 | as AppFuse's JSF implementation. | |
| 21 | </description> | |
| 22 | ||
| 23 | <scm> | |
| 24 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-modular-jsf</connection> | |
| 25 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-modular-jsf</developerConnection> | |
| 26 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-modular-jsf</url> | |
| 27 | </scm> | |
| 28 | ||
| 29 | </project> | |
| 0 | 30 | \ No newline at end of file |
| ... | ...@@ -0,0 +1,27 @@ | |
| 1 | <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"> | |
| 2 | ||
| 3 | <modelVersion>4.0.0</modelVersion> | |
| 4 | ||
| 5 | <parent> | |
| 6 | <groupId>org.appfuse</groupId> | |
| 7 | <artifactId>appfuse</artifactId> | |
| 8 | <version>2.0.2</version> | |
| 9 | <relativePath>../../pom.xml</relativePath> | |
| 10 | </parent> | |
| 11 | ||
| 12 | <groupId>org.appfuse.archetypes</groupId> | |
| 13 | <artifactId>appfuse-basic-struts</artifactId> | |
| 14 | <name>AppFuse Basic Archetype - Struts</name> | |
| 15 | <version>2.0.2</version> | |
| 16 | ||
| 17 | <description> | |
| 18 | Maven 2 archetype that creates a web application with AppFuse embedded in it. | |
| 19 | </description> | |
| 20 | ||
| 21 | <scm> | |
| 22 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-struts</connection> | |
| 23 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-struts</developerConnection> | |
| 24 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/archetypes/appfuse-basic-struts</url> | |
| 25 | </scm> | |
| 26 | ||
| 27 | </project> | |
| 0 | 28 | \ No newline at end of file |
| ... | ...@@ -0,0 +1,351 @@ | |
| 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | ||
| 3 | <!-- | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | you may not use this file except in compliance with the License. | |
| 6 | You may obtain a copy of the License at | |
| 7 | ||
| 8 | http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | ||
| 10 | Unless required by applicable law or agreed to in writing, software | |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | See the License for the specific language governing permissions and | |
| 14 | limitations under the License. | |
| 15 | --> | |
| 16 | ||
| 17 | <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"> | |
| 18 | ||
| 19 | <modelVersion>4.0.0</modelVersion> | |
| 20 | ||
| 21 | <parent> | |
| 22 | <groupId>org.appfuse</groupId> | |
| 23 | <artifactId>appfuse-web</artifactId> | |
| 24 | <version>2.0.2</version> | |
| 25 | </parent> | |
| 26 | ||
| 27 | <artifactId>appfuse-jsf</artifactId> | |
| 28 | <packaging>war</packaging> | |
| 29 | <name>AppFuse JSF Module</name> | |
| 30 | ||
| 31 | <description> | |
| 32 | JSF Module for AppFuse: includes MyFaces, Facelets and Ajax4JSF. Include this module in | |
| 33 | your dependencies if you want to use JSF as your web framework. | |
| 34 | </description> | |
| 35 | ||
| 36 | <scm> | |
| 37 | <connection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/web/jsf</connection> | |
| 38 | <developerConnection>scm:svn:https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/web/jsf</developerConnection> | |
| 39 | <url>https://appfuse.dev.java.net/source/browse/appfuse/tags/APPFUSE_2.0.2/web/jsf</url> | |
| 40 | </scm> | |
| 41 | ||
| 42 | <build> | |
| 43 | <plugins> | |
| 44 | <plugin> | |
| 45 | <groupId>org.codehaus.mojo</groupId> | |
| 46 | <artifactId>dbunit-maven-plugin</artifactId> | |
| 47 | <version>1.0-beta-1</version> | |
| 48 | <configuration> | |
| 49 | <dataTypeFactoryName>${dbunit.dataTypeFactoryName}</dataTypeFactoryName> | |
| 50 | <driver>${jdbc.driverClassName}</driver> | |
| 51 | <username>${jdbc.username}</username> | |
| 52 | <password>${jdbc.password}</password> | |
| 53 | <url>${jdbc.url}</url> | |
| 54 | <src>src/test/resources/sample-data.xml</src> | |
| 55 | <type>${dbunit.operation.type}</type> | |
| 56 | <schema>${dbunit.schema}</schema> | |
| 57 | <skip>${maven.test.skip}</skip> | |
| 58 | </configuration> | |
| 59 | <executions> | |
| 60 | <execution> | |
| 61 | <id>test-compile</id> | |
| 62 | <phase>test-compile</phase> | |
| 63 | <goals> | |
| 64 | <goal>operation</goal> | |
| 65 | </goals> | |
| 66 | </execution> | |
| 67 | <execution> | |
| 68 | <!-- Runs before integration tests and jetty:run-war --> | |
| 69 | <id>test</id> | |
| 70 | <phase>test</phase> | |
| 71 | <goals> | |
| 72 | <goal>operation</goal> | |
| 73 | </goals> | |
| 74 | </execution> | |
| 75 | </executions> | |
| 76 | <dependencies> | |
| 77 | <dependency> | |
| 78 | <groupId>${jdbc.groupId}</groupId> | |
| 79 | <artifactId>${jdbc.artifactId}</artifactId> | |
| 80 | <version>${jdbc.version}</version> | |
| 81 | </dependency> | |
| 82 | </dependencies> | |
| 83 | </plugin> | |
| 84 | <plugin> | |
| 85 | <groupId>org.appfuse</groupId> | |
| 86 | <artifactId>maven-warpath-plugin</artifactId> | |
| 87 | <version>${pom.version}</version> | |
| 88 | <extensions>true</extensions> | |
| 89 | <executions> | |
| 90 | <execution> | |
| 91 | <goals> | |
| 92 | <goal>add-classes</goal> | |
| 93 | </goals> | |
| 94 | </execution> | |
| 95 | </executions> | |
| 96 | </plugin> | |
| 97 | <plugin> | |
| 98 | <artifactId>maven-war-plugin</artifactId> | |
| 99 | <version>2.0.2</version> | |
| 100 | <configuration> | |
| 101 | <dependentWarExcludes>**/jdbc.properties</dependentWarExcludes> | |
| 102 | </configuration> | |
| 103 | <executions> | |
| 104 | <execution> | |
| 105 | <id>skinny-war</id> | |
| 106 | <goals> | |
| 107 | <goal>war</goal> | |
| 108 | </goals> | |
| 109 | <phase>post-integration-test</phase> | |
| 110 | <inherited>false</inherited> | |
| 111 | <configuration> | |
| 112 | <warSourceExcludes>WEB-INF/lib/**</warSourceExcludes> | |
| 113 | </configuration> | |
| 114 | </execution> | |
| 115 | </executions> | |
| 116 | </plugin> | |
| 117 | </plugins> | |
| 118 | <resources> | |
| 119 | <resource> | |
| 120 | <directory>src/main/resources</directory> | |
| 121 | <filtering>true</filtering> | |
| 122 | </resource> | |
| 123 | </resources> | |
| 124 | <testResources> | |
| 125 | <testResource> | |
| 126 | <directory>src/test/resources</directory> | |
| 127 | </testResource> | |
| 128 | <testResource> | |
| 129 | <directory>src/main/webapp</directory> | |
| 130 | <includes> | |
| 131 | <include>**/*.xml</include> | |
| 132 | </includes> | |
| 133 | </testResource> | |
| 134 | </testResources> | |
| 135 | </build> | |
| 136 | ||
| 137 | <repositories> | |
| 138 | <!-- Needed for Facelets --> | |
| 139 | <repository> | |
| 140 | <id>java.net</id> | |
| 141 | <url>http://download.java.net/maven/1/</url> | |
| 142 | <layout>legacy</layout> | |
| 143 | </repository> | |
| 144 | </repositories> | |
| 145 | ||
| 146 | <dependencies> | |
| 147 | <dependency> | |
| 148 | <groupId>${pom.groupId}</groupId> | |
| 149 | <artifactId>appfuse-web-common</artifactId> | |
| 150 | <version>${pom.version}</version> | |
| 151 | <type>war</type> | |
| 152 | </dependency> | |
| 153 | <dependency> | |
| 154 | <groupId>${pom.groupId}</groupId> | |
| 155 | <artifactId>appfuse-web-common</artifactId> | |
| 156 | <version>${pom.version}</version> | |
| 157 | <type>warpath</type> | |
| 158 | <exclusions> | |
| 159 | <exclusion> | |
| 160 | <groupId>org.appfuse</groupId> | |
| 161 | <artifactId>appfuse-hibernate</artifactId> | |
| 162 | </exclusion> | |
| 163 | </exclusions> | |
| 164 | </dependency> | |
| 165 | <dependency> | |
| 166 | <groupId>org.appfuse</groupId> | |
| 167 | <artifactId>appfuse-${dao.framework}</artifactId> | |
| 168 | <version>${pom.version}</version> | |
| 169 | </dependency> | |
| 170 | <dependency> | |
| 171 | <groupId>net.java.dev.ajax4jsf</groupId> | |
| 172 | <artifactId>ajax4jsf</artifactId> | |
| 173 | <version>${ajax4jsf.version}</version> | |
| 174 | </dependency> | |
| 175 | <dependency> | |
| 176 | <groupId>net.sourceforge.jsf-comp</groupId> | |
| 177 | <artifactId>acegi-jsf</artifactId> | |
| 178 | <version>${acegijsf.version}</version> | |
| 179 | <exclusions> | |
| 180 | <exclusion> | |
| 181 | <groupId>org.acegisecurity</groupId> | |
| 182 | <artifactId>acegi-security</artifactId> | |
| 183 | </exclusion> | |
| 184 | </exclusions> | |
| 185 | </dependency> | |
| 186 | <dependency> | |
| 187 | <groupId>com.sun.facelets</groupId> | |
| 188 | <artifactId>jsf-facelets</artifactId> | |
| 189 | <version>${facelets.version}</version> | |
| 190 | </dependency> | |
| 191 | <dependency> | |
| 192 | <groupId>com.corejsf</groupId> | |
| 193 | <artifactId>corejsf-validator</artifactId> | |
| 194 | <version>${corejsf.validator.version}</version> | |
| 195 | </dependency> | |
| 196 | <dependency> | |
| 197 | <groupId>org.apache.myfaces.core</groupId> | |
| 198 | <artifactId>myfaces-api</artifactId> | |
| 199 | <version>${myfaces.version}</version> | |
| 200 | </dependency> | |
| 201 | <dependency> | |
| 202 | <groupId>org.apache.myfaces.core</groupId> | |
| 203 | <artifactId>myfaces-impl</artifactId> | |
| 204 | <version>${myfaces.version}</version> | |
| 205 | </dependency> | |
| 206 | <dependency> | |
| 207 | <groupId>org.apache.myfaces.tomahawk</groupId> | |
| 208 | <artifactId>tomahawk</artifactId> | |
| 209 | <version>${myfaces.tomahawk.version}</version> | |
| 210 | </dependency> | |
| 211 | <!--<dependency> | |
| 212 | <groupId>javax.annotation</groupId> | |
| 213 | <artifactId>jsr250-api</artifactId> | |
| 214 | <version>1.0</version> | |
| 215 | </dependency>--> | |
| 216 | <dependency> | |
| 217 | <groupId>org.apache.shale</groupId> | |
| 218 | <artifactId>shale-test</artifactId> | |
| 219 | <version>${shale.version}</version> | |
| 220 | <optional>true</optional> | |
| 221 | </dependency> | |
| 222 | <dependency> | |
| 223 | <groupId>org.subethamail</groupId> | |
| 224 | <artifactId>subethasmtp-wiser</artifactId> | |
| 225 | <version>${wiser.version}</version> | |
| 226 | <scope>test</scope> | |
| 227 | </dependency> | |
| 228 | <!-- Dependencies with scope=provided aren't picked up from dependent JARs --> | |
| 229 | <dependency> | |
| 230 | <groupId>javax.servlet.jsp</groupId> | |
| 231 | <artifactId>jsp-api</artifactId> | |
| 232 | <version>${jsp.version}</version> <!-- Special case for JSF only --> | |
| 233 | <scope>provided</scope> | |
| 234 | </dependency> | |
| 235 | <dependency> | |
| 236 | <groupId>javax.servlet</groupId> | |
| 237 | <artifactId>servlet-api</artifactId> | |
| 238 | <version>${servlet.version}</version> | |
| 239 | <scope>provided</scope> | |
| 240 | </dependency> | |
| 241 | <dependency> | |
| 242 | <groupId>${jdbc.groupId}</groupId> | |
| 243 | <artifactId>${jdbc.artifactId}</artifactId> | |
| 244 | <version>${jdbc.version}</version> | |
| 245 | </dependency> | |
| 246 | </dependencies> | |
| 247 | ||
| 248 | <profiles> | |
| 249 | <profile> | |
| 250 | <id>integration-test</id> | |
| 251 | <activation> | |
| 252 | <property> | |
| 253 | <name>!maven.test.skip</name> | |
| 254 | </property> | |
| 255 | </activation> | |
| 256 | <build> | |
| 257 | <plugins> | |
| 258 | <plugin> | |
| 259 | <groupId>org.codehaus.cargo</groupId> | |
| 260 | <artifactId>cargo-maven2-plugin</artifactId> | |
| 261 | <version>0.3</version> | |
| 262 | <configuration> | |
| 263 | <wait>${cargo.wait}</wait> | |
| 264 | <container> | |
| 265 | <containerId>${cargo.container}</containerId> | |
| 266 | <!--home>${cargo.container.home}</home--> | |
| 267 | <zipUrlInstaller> | |
| 268 | <url>${cargo.container.url}</url> | |
| 269 | <installDir>${installDir}</installDir> | |