| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| /* |
| * Copyright 2006 The Apache Software Foundation. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| * $Id$ |
| */ |
| --> |
| |
| <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"> |
| |
| <parent> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts-master</artifactId> |
| <version>4</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.struts</groupId> |
| <artifactId>struts2-parent</artifactId> |
| <version>2.1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>Struts 2</name> |
| <url>http://struts.apache.org/struts2</url> |
| <description>Apache Struts 2</description> |
| |
| <inceptionYear>2000</inceptionYear> |
| |
| <!-- |
| <description> |
| Apache Struts 2 is an elegant, extensible framework, |
| well suited for creating moderate to large-scale Java web |
| applications. The framework is designed to streamline the |
| full development cycle, from building, to deploying, |
| to maintaining applications over time. |
| </description> |
| --> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/</developerConnection> |
| <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/</url> |
| </scm> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://issues.apache.org/struts/</url> |
| </issueManagement> |
| |
| <ciManagement/> |
| <distributionManagement> |
| <snapshotRepository> |
| <id>apache.snapshots</id> |
| <uniqueVersion>false</uniqueVersion> |
| <name>Apache Maven Repository (Snapshots and Test Builds)</name> |
| <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url> |
| </snapshotRepository> |
| <site> |
| <id>apache-site</id> |
| <url>scp://people.apache.org/www/struts.apache.org/2.x/</url> |
| </site> |
| </distributionManagement> |
| |
| <modules> |
| <module>core</module> |
| <!--<module>assembly</module>--> |
| <module>api</module> |
| </modules> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| <comments/> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org</url> |
| </organization> |
| |
| <profiles> |
| <profile> |
| <id>apps</id> |
| <activation> |
| <property> |
| <name>apps</name> |
| </property> |
| </activation> |
| <modules> |
| <module>apps</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>plugins</id> |
| <modules> |
| <module>plugins</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>all</id> |
| <modules> |
| <module>plugins</module> |
| <module>apps</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>xwork</id> |
| <modules> |
| <module>../xwork</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>struts-annotations</id> |
| <modules> |
| <module>../maven/struts-annotations</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>1.4-backport</id> |
| <activation> |
| <jdk>1.4</jdk> |
| </activation> |
| <dependencies> |
| <!-- should have the org.w3c.dom dependency here --> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>alljars</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.2</version> |
| <!-- |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| --> |
| <executions> |
| <execution> |
| <id>attach-source</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-source</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <activation> |
| <property> |
| <name>release</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <configuration> |
| <jdkName>1.5</jdkName> |
| <exclude>target,test-output,.clover</exclude> |
| <useShortDependencyNames>true</useShortDependencyNames> |
| <!-- |
| <libraries> |
| <library> |
| <name>xwork</name> |
| <sources>file://$xwork$/src/java</sources> |
| </library> |
| <library> |
| <name>xwork-tiger</name> |
| <sources>file://$xwork$/tiger/src/java</sources> |
| </library> |
| </libraries> |
| --> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>2.0-beta-5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| |
| <!-- Using 2.1.3 because of http://jira.codehaus.org/browse/MSUREFIRE-114 --> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.1.3</version> |
| <configuration> |
| <includes> |
| <include>**/*Test.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/TestBean.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>retrotranslator-maven-plugin</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>translate</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include> |
| <directory>${pom.basedir}/target/classes</directory> |
| </include> |
| </includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <defaultGoal>install</defaultGoal> |
| |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.2</version> |
| <!-- |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| --> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| </plugin> |
| <!-- |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>http://svn.apache.org/repos/asf/struts/maven/trunk/build/struts_checks.xml</configLocation> |
| </configuration> |
| </plugin> |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jxr-maven-plugin</artifactId> |
| </plugin> |
| <!-- |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| --> |
| </plugins> |
| </reporting> |
| |
| <repositories> |
| <repository> |
| <id>snapshots-maven-codehaus</id> |
| <name>snapshots-maven-codehaus</name> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>always</updatePolicy> |
| <checksumPolicy>ignore</checksumPolicy> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <url>http://snapshots.maven.codehaus.org/maven2</url> |
| </repository> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Maven Repository (Snapshots and Test Builds)</name> |
| <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
| <releases><enabled>false</enabled></releases> |
| <snapshots><enabled>true</enabled></snapshots> |
| </repository> |
| <repository> |
| <id>opensymphony</id> |
| <name>opensymphony</name> |
| <layout>legacy</layout> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>always</updatePolicy> |
| <checksumPolicy>ignore</checksumPolicy> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <url>http://maven.opensymphony.com</url> |
| </repository> |
| <repository> |
| <id>Maven Snapshots</id> |
| <url>http://snapshots.maven.codehaus.org/maven2/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>Maven Snapshots</id> |
| <url>http://snapshots.maven.codehaus.org/maven2/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </pluginRepository> |
| <pluginRepository> |
| <id>apache.snapshots</id> |
| <name>Apache Maven Repository (Snapshots and Test Builds)</name> |
| <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
| <releases><enabled>false</enabled></releases> |
| <snapshots><enabled>true</enabled></snapshots> |
| </pluginRepository> |
| |
| </pluginRepositories> |
| |
| </project> |