alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Struts example source code file (pom.xml)

This example Struts source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

assembly, assembly, backported, e, e, jdk, jdk, l, l, struts

The Struts pom.xml source code

<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
    <groupId>org.apache.struts
    <artifactId>struts2-assembly
    <packaging>pom
    <name>Struts 2 Assembly
    <description>
        Struts 2 Assembly
    </description>

    <parent>
        <groupId>org.apache.struts
        <artifactId>struts2-parent
        <version>2.2.3
    </parent>

    <scm>
        <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/assembly
        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_2_3/assembly
        <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/tags/STRUTS_2_2_3/assembly
    </scm>

    <profiles>
        <profile>
            <id>j4
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-assembly-plugin
                        <version>2.2
                        <executions>
                            <execution>
                                <id>make-assembly
                                <phase>package
                                <goals>
                                    <goal>attached
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/all.xml
                                <descriptor>src/main/assembly/lib.xml
                                <descriptor>src/main/assembly/lib-jdk14.xml
                                <descriptor>src/main/assembly/apps.xml
                                <descriptor>src/main/assembly/src.xml
                                <descriptor>src/main/assembly/docs.xml
                            </descriptors>
                            <finalName>struts-${project.version}
                            <outputDirectory>target/assembly/out
                            <workDirectory>target/assembly/work
                        </configuration>
                    </plugin>
                </plugins>
            </build>
            <dependencies>
                <!-- Backported JDK 1.4 jars -->
                <dependency>
                    <groupId>net.sf.retrotranslator
                    <artifactId>retrotranslator-runtime
                    <version>1.2.1
                    <scope>runtime
                </dependency>

                <dependency>
                    <groupId>backport-util-concurrent
                    <artifactId>backport-util-concurrent
                    <version>3.0
                    <scope>runtime
                </dependency>

                <dependency>
                    <groupId>org.apache.struts.xwork
                    <artifactId>xwork-core
                    <version>${project.version}
                    <type>jar
                    <classifier>jdk14
                    <scope>runtime
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-core
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-config-browser-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-jasperreports-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-jfreechart-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-jsf-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-pell-multipart-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-plexus-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-sitegraph-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-sitemesh-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-struts1-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-tiles-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-rest-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-oval-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-osgi-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-json-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-embeddedjsp-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>

                <dependency>
                    <groupId>org.apache.struts
                    <artifactId>struts2-gxp-plugin
                    <version>${project.version}
                    <classifier>jdk14
                </dependency>
            </dependencies>
        </profile>
    </profiles>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo
                <artifactId>dependency-maven-plugin
                <version>1.0
                <executions>
                    <execution>
                        <id>copy-war
                        <phase>package
                        <goals>
                            <goal>copy
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-blank
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-mailreader
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-portlet
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-showcase
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-rest-showcase
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                                <artifactItem>
                                    <groupId>org.apache.struts
                                    <artifactId>struts2-mailreader
                                    <version>${project.version}
                                    <type>war
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>${project.build.directory}/apps
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <artifactId>maven-antrun-plugin
                <executions>
                    <execution>
                        <id>cwiki-docs
                        <phase>prepare-package
                        <goals>
                            <goal>run
                        </goals>
                        <configuration>
                            <tasks>
                                <mkdir dir="${project.build.directory}/cwiki" />
                                <exec executable="wget">
                                    <arg value="-erobots=off" />
                                    <arg value="-nH" />
                                    <arg value="-nv" />
                                    <arg value="-E" />
                                    <arg value="-L" />
                                    <arg value="--directory-prefix=${project.build.directory}/cwiki" />
                                    <arg value="--no-check-certificate" />
                                    <arg value="-r" />
                                    <arg value="https://cwiki.apache.org/WW/" />
                                </exec>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <artifactId>maven-assembly-plugin
                <version>2.2
                <executions>
                    <execution>
                        <id>make-assembly
                        <phase>package
                        <goals>
                            <goal>attached
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <descriptors>
                        <descriptor>src/main/assembly/all.xml
                        <descriptor>src/main/assembly/lib.xml
                        <descriptor>src/main/assembly/apps.xml
                        <descriptor>src/main/assembly/src.xml
                        <descriptor>src/main/assembly/docs.xml
                    </descriptors>
                    <finalName>struts-${project.version}
                    <outputDirectory>target/assembly/out
                    <workDirectory>target/assembly/work
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-codebehind-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-convention-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-javatemplates-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-config-browser-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-dojo-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-dwr-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-jasperreports-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-jfreechart-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-jsf-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-junit-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-pell-multipart-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-plexus-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-portlet-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-rest-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-sitegraph-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-sitemesh-plugin
            <version>${project.version}
        </dependency>
        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-spring-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-struts1-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-testng-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-tiles-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-oval-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-json-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-embeddedjsp-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-gxp-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-osgi-plugin
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-osgi-admin-bundle
            <version>${project.version}
        </dependency>

        <dependency>
            <groupId>org.apache.struts
            <artifactId>struts2-osgi-demo-bundle
            <version>${project.version}
        </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

 

new blog posts

 

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.