blob: 8d310d46e5b8873e1ba01a98c304a005ee3fd5ee [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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</modelVersion>
<parent>
<groupId>org.apache.axis</groupId>
<artifactId>axis-project</artifactId>
<version>1.4.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>axis-rt-core</artifactId>
<name>Axis Runtime Core</name>
<url>${baseUrl}/core</url>
<distributionManagement>
<site>
<id>axis</id>
<url>${baseSiteUrl}/core</url>
</site>
</distributionManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>axis-jaxrpc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</dependency>
<dependency>
<groupId>wsdl4j</groupId>
<artifactId>wsdl4j</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<!-- Note that version 0.5 requires Java 1.5 -->
<version>0.4</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.6.2</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
<version>2.6.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>2.0.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>testutils</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<executions>
<execution>
<id>generate-timestamp</id>
<phase>initialize</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
import java.util.Date
import java.text.MessageFormat
project.properties['today'] = MessageFormat.format("{0,date,MMM dd, yyyy (HH:mm:ss z)}", new Date())
</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>axis-saaj</artifactId>
<version>${project.version}</version>
</artifactItem>
</artifactItems>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/endorsed</outputDirectory>
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>
<!-- Necessary because we only support DOM 2 and SAAJ 1.2 -->
-Xbootclasspath/p:${project.build.directory}/endorsed/xmlParserAPIs.jar${path.separator}${project.build.directory}/endorsed/axis-saaj.jar
</compilerArgument>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<!-- TODO: tests that don't follow standard naming convention -->
<include>test/faults/FaultDecode.java</include>
<include>test/faults/FaultEncode.java</include>
</includes>
<excludes>
<!-- Quote: "comment out for now - this class is a mess" -->
<exclude>test/utils/TestOptions.java</exclude>
<!-- TODO: this test probably never worked correctly because there was no corresponding build.xml file,
and therefore it was skipped in the original Ant build -->
<exclude>test/MSGDispatch/TestMessageService.java</exclude>
<!-- These are actually not unit tests -->
<exclude>test/concurrency/TestService.java</exclude>
<exclude>test/MSGDispatch/TestService.java</exclude>
<exclude>test/soap/TestFaultHandler.java</exclude>
<exclude>test/soap/TestHandler.java</exclude>
<!-- TODO: these tests cause OOM errors; investigate why -->
<exclude>test/encoding/TestSer.java</exclude>
<exclude>test/soap12/TestSer.java</exclude>
<!-- Was commented out in the original PackageTests.java -->
<exclude>test/wsdd/TestXSD.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestSections>
<manifestSection>
<name>org/apache/axis</name>
<manifestEntries>
<Implementation-Title>Apache Axis</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>Apache Axis</Implementation-Vendor>
</manifestEntries>
</manifestSection>
</manifestSections>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
</plugins>
</reporting>
</project>