|
Struts example source code file (pom.xml)
The Struts pom.xml source code<?xml version="1.0"?> <!-- /* * $Id: pom.xml 1090129 2011-04-08 06:27:42Z lukaszlenart $ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ --> <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> <artifactId>struts2-plugins <groupId>org.apache.struts <version>2.2.3 </parent> <modelVersion>4.0.0 <groupId>org.apache.struts <artifactId>struts2-dojo-plugin <name>Struts 2 Dojo Plugin <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/plugins/dojo <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/plugins/dojo <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_2_3/plugins/dojo </scm> <profiles> <profile> <id>release <activation> <property> <name>release </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo <artifactId>rat-maven-plugin <version>1.0-alpha-2 <executions> <execution> <phase>verify <goals> <goal>check </goals> <configuration> <addDefaultLicenseMatchers>false <licenseMatchers> <classNames> <className>rat.analysis.license.ApacheSoftwareLicense20 </classNames> </licenseMatchers> <includes> <include>pom.xml <include>src/** </includes> <excludes> <exclude>src/main/resources/org/apache/struts2/static/dojo/nls/** <exclude>src/main/resources/org/apache/struts2/static/dojo/src/** <exclude>src/main/resources/org/apache/struts2/static/dojo/* <exclude>src/test/resources/org/apache/struts2/dojo/views/jsp/ui/** </excludes> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.myfaces.tobago <artifactId>maven-apt-plugin <version>1.0.15 <configuration> <A> uri=/struts-dojo-tags,tlibVersion=2.2.3,jspVersion=2.0,shortName=sx,displayName="Struts Dojo Tags", outFile=${basedir}/target/classes/META-INF/struts-dojo-tags.tld, description="Struts AJAX tags based on Dojo.", outTemplatesDir=${basedir}/../../core/src/site/resources/tags/ajax </A> <resourceTargetPath>target <fork>false <force>true <nocompile>true <showWarnings>true <factory> org.apache.struts.annotations.taglib.apt.TLDAnnotationProcessorFactory </factory> <target>1.5 <includes> <include>**/*.java </includes> </configuration> <executions> <execution> <phase>compile <goals> <goal>execute </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <!-- Core --> <dependency> <groupId>org.apache.struts <artifactId>struts2-core <version>${project.version} </dependency> <!-- JSP API --> <dependency> <groupId>javax.servlet <artifactId>jsp-api <scope>provided </dependency> <!-- Velocity --> <dependency> <groupId>org.apache.velocity <artifactId>velocity <optional>true </dependency> <!-- Test dependencies --> <dependency> <groupId>junit <artifactId>junit <scope>test </dependency> <dependency> <groupId>${project.groupId} <artifactId>struts2-junit-plugin <version>${project.version} <scope>test </dependency> <dependency> <groupId>jmock <artifactId>jmock <scope>test </dependency> <dependency> <groupId>org.easymock <artifactId>easymock <scope>test </dependency> <dependency> <groupId>jmock <artifactId>jmock-cglib <scope>test </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-core <scope>test </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-jdk1.3 <scope>test </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-alt-jdk1.3 <scope>test </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-alt-jdk1.3-j2ee1.3 <scope>test </dependency> <dependency> <groupId>mockobjects <artifactId>mockobjects-jdk1.3-j2ee1.3 <scope>test </dependency> <!-- Mocks for unit testing (by Spring) --> <dependency> <groupId>org.springframework <artifactId>spring-test <scope>test </dependency> <dependency> <groupId>org.springframework <artifactId>spring-core <scope>test </dependency> <!-- struts-annotations must be in compile scope for maven-apt-plugin to function correctly. Marking it optional to exclude it from transitive dependency resolution --> <dependency> <groupId>org.apache.struts <artifactId>struts-annotations <scope>compile <optional>true </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo <artifactId>rat-maven-plugin <version>1.0-alpha-2 <configuration> <includes> <include>pom.xml <include>src/** </includes> <excludes> <exclude>src/main/resources/org/apache/struts2/static/dojo/nls/** <exclude>src/main/resources/org/apache/struts2/static/dojo/src/** <exclude>src/main/resources/org/apache/struts2/static/dojo/* <exclude>src/test/resources/org/apache/struts2/dojo/views/jsp/ui/** </excludes> </configuration> </plugin> </plugins> </reporting> </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.