<?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</modelVersion>
    <groupId>org.springframework.ws</groupId>
    <artifactId>spring-ws</artifactId>
    <packaging>pom</packaging>
    <version>2.1.4.RELEASE</version>
    <name>Spring Web Services</name>
    <description>
        Spring Web Services is a product of the Spring community focused on creating document-driven Web services. It
        aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services
        using one of the many ways to manipulate XML payloads.
    </description>
    <url>http://static.springframework.org/spring-ws/site/index.html</url>
    <issueManagement>
        <system>JIRA</system>
        <url>http://jira.springframework.org/browse/SWS</url>
    </issueManagement>
    <ciManagement>
        <system>bamboo</system>
        <url>http://build.springframework.org/browse/SWS</url>
    </ciManagement>
    <inceptionYear>2005</inceptionYear>
    <developers>
        <developer>
            <id>apoutsma</id>
            <name>Arjen Poutsma</name>
            <email>apoutsma@vmware.com</email>
            <organization>SpringSource - a division of VMware</organization>
            <organizationUrl>http://www.springsource.com</organizationUrl>
            <roles>
                <role>Project Admin</role>
                <role>Developer</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
        <developer>
            <id>tareqa</id>
            <name>Tareq Abed Rabbo</name>
            <email>tareq.abedrabbo@gmail.com</email>
            <roles>
                <role>Developer</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
    </developers>
    <contributors>
        <contributor>
            <name>Ingo Siebert</name>
        </contributor>
        <contributor>
            <name>Ben Ethridge</name>
        </contributor>
        <contributor>
            <name>Kristoffer Moum</name>
        </contributor>
        <contributor>
            <name>Rick Evans</name>
        </contributor>
        <contributor>
            <name>Giovanni Cuccu</name>
        </contributor>
        <contributor>
			<name>Lukas Krecan</name>
			<url>http://blog.krecan.net</url>
        </contributor>
    </contributors>
    <organization>
        <name>The Spring Web Services Framework</name>
        <url>http://www.springframework.org/spring-ws</url>
    </organization>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <distributionManagement>
        <downloadUrl>http://www.springsource.com/download/community?project=Spring%20Web%20Services</downloadUrl>
<!--
        <repository>
            <id>spring-milestone</id>
            <name>Spring Milestone Repository</name>
            <url>s3://maven.springframework.org/milestone</url>
        </repository>
-->
        <repository>
            <id>spring-release</id>
            <name>Spring Release Repository</name>
            <url>s3://maven.springframework.org/release</url>
        </repository>
        <snapshotRepository>
            <id>spring-snapshot</id>
            <name>Spring Snapshot Repository</name>
            <url>s3://maven.springframework.org/snapshot</url>
        </snapshotRepository>
        <site>
            <id>static.springframework.org</id>
            <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-ws/sites/2.0</url>
        </site>
    </distributionManagement>
    <scm>
        <connection>scm:git:https://github.com/SpringSource/spring-ws.git</connection>
        <developerConnection>scm:git:https://github.com/SpringSource/spring-ws.git</developerConnection>
        <url>https://fisheye.springframework.org/browse/spring-ws/trunk</url>
    </scm>
    <properties>
        <spring.framework.version>3.2.4.RELEASE</spring.framework.version>
    </properties>
    <modules>
        <module>parent</module>
        <module>xml</module>
        <module>core</module>
        <module>support</module>
        <module>security</module>
        <module>test</module>
        <module>archetype</module>
    </modules>
    <profiles>
        <profile>
            <id>samples</id>
            <modules>
                <module>samples</module>
            </modules>
        </profile>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-assembly-plugin</artifactId>
                        <version>2.2-beta-5</version>
                        <inherited>false</inherited>
                        <executions>
                            <execution>
                                <id>full</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>single</goal>
                                </goals>
                                <configuration>
                                    <descriptors>
                                        <descriptor>src/assembly/full.xml</descriptor>
                                    </descriptors>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>central</id>
            <distributionManagement>
              <snapshotRepository>
                <id>sonatype-nexus-snapshots</id>
                <name>Sonatype Nexus Snapshots Repository</name>
                <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
              </snapshotRepository>
              <repository>
                <id>sonatype-nexus-staging</id>
                <name>Sonatype Nexus Release Repository</name>
                <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
              </repository>
            </distributionManagement>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.4</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
    <pluginRepositories>
        <pluginRepository>
            <id>spring-release</id>
            <name>Spring Release Repository</name>
            <url>http://maven.springframework.org/release</url>
        </pluginRepository>
    </pluginRepositories>
    <build>
        <extensions>
            <extension>
                <groupId>org.springframework.build.aws</groupId>
                <artifactId>org.springframework.build.aws.maven</artifactId>
                <version>3.1.0.RELEASE</version>
            </extension>
        </extensions>
        <plugins>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.2.1</version>
            </plugin>
            <plugin>
                <artifactId>maven-site-plugin</artifactId>
                <version>3.0</version>
                <dependencies>
                  <dependency>
                    <groupId>org.apache.maven.wagon</groupId>
                    <artifactId>wagon-ssh</artifactId>
                    <version>1.0-beta-7</version>
                  </dependency>
                </dependencies>
            </plugin>
            <!--
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-5</version>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <id>all-jar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <archive>
                                <manifest>
                                    <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                </manifest>
                                <manifestEntries>
                                    <Spring-WS-Version>${project.version}</Spring-WS-Version>
                                </manifestEntries>
                            </archive>
                            <descriptors>
                                <descriptor>src/assembly/all.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                    <execution>
                        <id>sources</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <archive>
                                <manifest>
                                    <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                </manifest>
                                <manifestEntries>
                                    <Spring-WS-Version>${project.version}</Spring-WS-Version>
                                </manifestEntries>
                            </archive>
                            <descriptors>
                                <descriptor>src/assembly/sources.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                    <execution>
                        <id>minimal-zip</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/assembly/minimal.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            -->
            <plugin>
                <groupId>com.agilejava.docbkx</groupId>
                <artifactId>docbkx-maven-plugin</artifactId>
                <version>2.0.13</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate-html</goal>
                            <goal>generate-pdf</goal>
                        </goals>
                        <phase>pre-site</phase>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>org.docbook</groupId>
                        <artifactId>docbook-xml</artifactId>
                        <version>4.4</version>
                        <scope>runtime</scope>
                    </dependency>
                </dependencies>
                <configuration>
                    <includes>index.xml</includes>
                    <chunkedOutput>true</chunkedOutput>
                    <htmlStylesheet>css/html.css</htmlStylesheet>
                    <highlightSource>1</highlightSource>
                    <xincludeSupported>true</xincludeSupported>
                    <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
                    <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
                    <postProcess>
                        <copy todir="target/site/reference">
                            <fileset dir="target/docbkx">
                                <include name="**/*.html" />
                                <include name="**/*.pdf" />
                            </fileset>
                        </copy>
                        <copy todir="target/site/reference/html">
                            <fileset dir="src/docbkx/resources">
                                <include name="**/*.css" />
                                <include name="**/*.png" />
                                <include name="**/*.gif" />
                                <include name="**/*.jpg" />
                            </fileset>
                        </copy>
                        <move file="target/site/reference/pdf/index.pdf" tofile="target/site/reference/pdf/spring-ws-reference.pdf" failonerror="false" />
                        <move todir="target/site/reference/html" failonerror="false">
							<fileset dir="target/site/reference/html/index" />
						</move>
                    </postProcess>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <reporting>
        <plugins>
            <plugin>
                <artifactId>maven-jxr-plugin</artifactId>
                <version>2.1</version>                
                <configuration>
                    <aggregate>true</aggregate>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-report-plugin</artifactId>
                <version>2.4.2</version>
                <configuration>
                    <aggregate>true</aggregate>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.7</version>
                <configuration>
                    <breakiterator>true</breakiterator>
                    <header>Spring Web Services Framework</header>
                    <source>1.5</source>
                    <quiet>true</quiet>
                    <stylesheetfile>${basedir}/src/main/javadoc/javadoc.css</stylesheetfile>
                    <overview>${basedir}/src/main/javadoc/overview.html</overview>
                    <groups>
                        <group>
                            <title>Spring-WS</title>
                            <packages>org.springframework.ws*</packages>
                        </group>
                        <group>
                            <title>Spring-XML</title>
                            <packages>org.springframework.xml*</packages>
                        </group>
                    </groups>
                    <javadocDirectory>${basedir}/src/main/javadoc</javadocDirectory>
                    <excludePackageNames>org.springframework.ws.samples</excludePackageNames>
                    <links>
                        <link>http://java.sun.com/javase/6/docs/api/</link>
                        <link>http://java.sun.com/javaee/5/docs/api/</link>
                        <link>http://java.sun.com/webservices/docs/2.0/api</link>
                        <link>http://java.sun.com/webservices/docs/2.0/xws-security/api/</link>
                        <link>http://static.springframework.org/spring/docs/2.5.x/api</link>
                        <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
                        <link>http://xmlbeans.apache.org/docs/2.0.0/reference</link>
                        <link>http://jibx.sourceforge.net/api</link>
                        <link>http://ws.apache.org/commons/axiom/apidocs/</link>
                        <link>http://dom4j.org/apidocs/</link>
                        <link>http://jdom.org/docs/apidocs/</link>
                        <link>http://www.xom.nu/apidocs/</link>
                        <link>http://acegisecurity.org/acegi-security/apidocs/</link>
                        <link>http://www.extreme.indiana.edu/apis/wsdl4j/</link>
                        <link>http://jakarta.apache.org/commons/httpclient/apidocs/</link>
                        <link>http://ws.apache.org/wss4j/apidocs/</link>
                        <link>http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/</link>
                        <link>http://ws.apache.org/commons/XmlSchema/apidocs/</link>
                    </links>
                </configuration>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>aggregate</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>
</project>
