Maven Repository - POM file for Web Framework struts-annotations 1.0.4 1.0.4

Summary

Struts Annotations.

struts-annotations adds apt generation support for struts based annotated projetcs, such as TLD and documentation generation from annotated component classes as used in struts2.

Declaration

Here is the list of declaration for struts-annotations. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.struts</groupId>
   <artifactId>struts-annotations</artifactId>
   <version>1.0.4</version>
</dependency>

If you think this Maven repository POM file listing for struts-annotations is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





Depends on

The struts-annotations-1.0.4 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
JUnitjunit 3.8.1
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
1966

Plugin

The following plugins are used in the struts-annotations-1.0.4.jar

  1. maven-compiler-plugin
  2. maven-release-plugin

Packages

The following packages are defined in the struts-annotations-1.0.4.jar

org.apache.struts.annotations.taglib.apt

POM File Source

Here is the content of the POM file.

<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>struts-annotations</artifactId>
    <version>1.0.4</version>
    <packaging>jar</packaging>
    <name>Struts Annotations</name>
    <url>http://struts.apache.org</url>
    <description>
        struts-annotations adds apt generation support for struts based annotated projetcs,
        such as TLD and documentation generation from annotated component classes as used in struts2 
    </description>

    <scm>
        <connection>scm:svn:http://svn.apache.org/repos/asf/struts/maven/tags/struts-annotations-1.0.4</connection>
        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/tags/struts-annotations-1.0.4</developerConnection>
        <url>http://svn.apache.org/viewvc/struts/maven/tags/struts-annotations-1.0.4</url>
    </scm>


    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <tagBase>https://svn.apache.org/repos/asf/struts/maven/tags</tagBase>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>default-tools.jar</id>
            <activation>
                <property>
                    <name>java.vendor</name>
                    <value>Sun Microsystems Inc.</value>
                </property>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <version>1.5.0</version>
                    <scope>system</scope>
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
                </dependency>
            </dependencies>
        </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>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadoc</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>
    </profiles>
 
    <distributionManagement>
        <repository>
            <id>struts-staging</id>
            <name>Apache Struts Staging Repository</name>
            <url>scp://people.apache.org/www/people.apache.org/builds/struts/struts-annotations-${pom.version}/m2-staging-repository</url>
        </repository>
        <site>
            <id>apache-site</id>
            <url>scp://people.apache.org/www/struts.apache.org/struts-annotations/</url>
        </site>
    </distributionManagement>

    <dependencies>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>

       <dependency>
            <groupId>org.freemarker</groupId>
            <artifactId>freemarker</artifactId>
            <version>2.3.11</version>
        </dependency>
    </dependencies>
</project>