|
Struts example source code file (pom.xml)
The Struts pom.xml source code<?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 <parent> <groupId>org.apache.struts <artifactId>struts2-parent <version>2.2.3 </parent> <groupId>org.apache.struts.xwork <artifactId>xwork-core <packaging>jar <name>XWork: Core <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/xwork-core <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/xwork-core <url>http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/xwork-core </scm> <properties> <currentVersion>${project.version} </properties> <profiles> <profile> <!-- Run the translator for Java 1.4 compatiblity OS/X Sample: $ cd xwork/ $ mvn clean install -Pj4 -Djava14.jar=$JAVA_HOME/../Classes/classes.jar --> <id>j4 <build> <plugins> <plugin> <groupId>org.codehaus.mojo <artifactId>retrotranslator-maven-plugin <version>1.0-alpha-4 <executions> <execution> <phase>package <goals> <goal>translate-project </goals> <configuration> <verify>false <failonwarning>true <lazy>true <advanced>true <verbose>false </configuration> </execution> </executions> </plugin> </plugins> </build> <!-- <dependencies> <dependency> <groupId>sun.jdk <artifactId>rt <version>1.4.0 <scope>system <systemPath>${java14.jar} </dependency> <dependency> <groupId>net.sf.retrotranslator <artifactId>retrotranslator-runtime <version>1.2.1 </dependency> <dependency> <groupId>net.sf.retrotranslator <artifactId>retrotranslator-transformer <version>1.2.1 </dependency> </dependencies> --> </profile> </profiles> <build> <sourceDirectory>${basedir}/src/main/java <testSourceDirectory>${basedir}/src/test/java <resources> <resource> <directory>${basedir}/src/main/resources </resource> </resources> <testResources> <testResource> <directory>${basedir}/src/test/resources </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-surefire-plugin <version>2.6 <configuration> <properties> <property> <name>maven.testng.output.dir <value>${project.basedir}/target/surefire-reports </property> </properties> <useSystemClassLoader>false <additionalClasspathElements> <element>${project.build.testOutputDirectory}/xwork-jar.jar <element>${project.build.testOutputDirectory}/xwork-zip.zip <element>${project.build.testOutputDirectory}/xwork - jar.jar <element>${project.build.testOutputDirectory}/xwork - zip.zip </additionalClasspathElements> <includes> <include>**/*Test.java </includes> <excludes> <exclude>**/XWorkTestCase.java <exclude>**/TestBean.java <exclude>**/TestBean2.java <exclude>**/TestInterceptor.java <exclude>**/AnnotatedTestBean.java <exclude>**/ContainerImplTest.java <exclude>**/URLUtilTest.java </excludes> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo <artifactId>cobertura-maven-plugin <version>2.4 <executions> <execution> <goals> <goal>clean </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF </archive> </configuration> </plugin> <plugin> <groupId>org.apache.felix <artifactId>maven-bundle-plugin <configuration> <instructions> <Export-Package>org.apache.commons.lang.xwork.*,com.opensymphony.xwork2.* </instructions> </configuration> <executions> <execution> <id>bundle-manifest <phase>process-classes <goals> <goal>manifest </goals> </execution> </executions> </plugin> </plugins> <defaultGoal>install </build> <dependencies> <dependency> <groupId>commons-logging <artifactId>commons-logging <optional>true </dependency> <dependency> <groupId>commons-lang <artifactId>commons-lang </dependency> <dependency> <groupId>commons-io <artifactId>commons-io <optional>true </dependency> <dependency> <groupId>ognl <artifactId>ognl </dependency> <dependency> <groupId>asm <artifactId>asm </dependency> <dependency> <groupId>asm <artifactId>asm-commons </dependency> <dependency> <groupId>org.springframework <artifactId>spring-core <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-aop <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-aspects <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-beans <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-context <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-context-support <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-web <optional>true </dependency> <dependency> <groupId>org.springframework <artifactId>spring-test <scope>test </dependency> <dependency> <groupId>cglib <artifactId>cglib-nodep <optional>true </dependency> <dependency> <groupId>junit <artifactId>junit <optional>true </dependency> <dependency> <groupId>org.testng <artifactId>testng <optional>true <classifier>jdk15 </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-core <scope>test </dependency> <dependency> <groupId>org.easymock <artifactId>easymock <scope>test </dependency> </dependencies> </project> Other Struts examples (source code examples)Here is a short list of links related to this Struts pom.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.