|
Struts example source code file (pom.xml)
The Struts pom.xml source code<?xml version="1.0" encoding="UTF-8"?> <!-- /* * $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"> <modelVersion>4.0.0 <parent> <groupId>org.apache.struts <artifactId>struts2-apps <version>2.2.3 </parent> <groupId>org.apache.struts <artifactId>struts2-portlet <packaging>war <name>Portlet Webapp <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/apps/portlet <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/apps/portlet <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_2_3/apps/portlet </scm> <profiles> <profile> <id>pluto <build> <plugins> <!-- configure maven-war-plugin to use updated web.xml --> <plugin> <artifactId>maven-war-plugin <configuration> <webXml>${project.build.directory}/pluto-resources/web.xml </configuration> </plugin> <!-- bind 'pluto:assemble' goal to 'process-resources' lifecycle --> <plugin> <groupId>org.apache.pluto <artifactId>maven-pluto-plugin <version>1.1.3 <executions> <execution> <phase>generate-resources <goals> <goal>assemble </goals> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty <artifactId>maven-jetty-plugin <configuration> <webXml>${project.build.directory}/pluto-resources/web.xml <webDefaultXml>src/main/webapp/WEB-INF/jetty-pluto-web-default.xml <systemProperties> <systemProperty> <name>org.apache.pluto.embedded.portletId <value>StrutsPortlet </systemProperty> </systemProperties> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.bekk.boss <artifactId>maven-jetty-pluto-embedded <version>1.0 </dependency> </dependencies> </profile> </profiles> <dependencies> <dependency> <groupId>portlet-api <artifactId>portlet-api <scope>provided </dependency> <dependency> <groupId>org.apache.struts <artifactId>struts2-spring-plugin </dependency> <dependency> <groupId>org.apache.struts <artifactId>struts2-portlet-plugin </dependency> <dependency> <groupId>org.apache.struts <artifactId>struts2-dwr-plugin </dependency> <dependency> <groupId>org.apache.velocity <artifactId>velocity </dependency> <dependency> <groupId>org.apache.velocity <artifactId>velocity-tools <version>1.3 <exclusions> <exclusion> <groupId>velocity <artifactId>velocity </exclusion> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> <exclusion> <groupId>struts <artifactId>struts </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-digester <artifactId>commons-digester <exclusions> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-fileupload <artifactId>commons-fileupload </dependency> <dependency> <groupId>commons-collections <artifactId>commons-collections </dependency> <dependency> <groupId>log4j <artifactId>log4j </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty <scope>test </dependency> <dependency> <groupId>net.sourceforge.jwebunit <artifactId>jwebunit-htmlunit-plugin <version>1.4.1 <scope>test <exclusions> <exclusion> <groupId>javax.servlet <artifactId>servlet-api </exclusion> </exclusions> </dependency> <dependency> <groupId>com.bekk.boss <artifactId>maven-jetty-pluto-embedded <version>1.0 <scope>test </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jsp-2.1 <scope>test </dependency> <dependency> <groupId>commons-lang <artifactId>commons-lang </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/etc/gridsphere/README-gridsphere.txt <exclude>src/main/etc/gridsphere/struts-portlet <exclude>src/main/etc/jetspeed2/README-jetspeed2.txt <exclude>src/main/etc/jetspeed2/struts-portlet.psml </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.