Modified: axis/axis2/java/core/trunk/pom.xml URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/pom.xml?rev=1721145&r1=1721144&r2=1721145&view=diff ============================================================================== --- axis/axis2/java/core/trunk/pom.xml (original) +++ axis/axis2/java/core/trunk/pom.xml Mon Dec 21 12:50:51 2015 @@ -53,7 +53,6 @@ <module>modules/mex</module> <module>modules/mtompolicy</module> <module>modules/mtompolicy-mar</module> - <module>modules/parent</module> <module>modules/ping</module> <module>modules/samples/version</module> <module>modules/soapmonitor/servlet</module> @@ -123,6 +122,19 @@ </executions> </plugin> <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <!-- Skip the execution configured in org.apache:apache. We use our own configuration. --> + <id>attach-sources</id> + <phase>none</phase> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> @@ -490,14 +502,592 @@ </site> </distributionManagement> <properties> + <!-- Tracking SNAPSHOT(s) of a few projects --> + <axiom.version>1.2.17-SNAPSHOT</axiom.version> + <neethi.version>3.0.3</neethi.version> + <woden.version>1.0M11-SNAPSHOT</woden.version> + <xmlschema.version>2.2.1</xmlschema.version> + + <!-- Use released versions for these projects --> + <ant.version>1.7.0</ant.version> + <antlr.version>2.7.7</antlr.version> + <bsf.version>2.4.0</bsf.version> + <commons.codec.version>1.3</commons.codec.version> + <commons.fileupload.version>1.3.1</commons.fileupload.version> + <commons.httpclient.version>3.1</commons.httpclient.version> + <commons.io.version>2.1</commons.io.version> + <commons.logging.version>1.1.1</commons.logging.version> + <fi.version>1.2.7</fi.version> + <geronimo.spec.activation.version>1.0.2</geronimo.spec.activation.version> + <geronimo.spec.annotation.version>1.1</geronimo.spec.annotation.version> + <geronimo.spec.javamail.version>1.6</geronimo.spec.javamail.version> + <geronimo.spec.stax.version>1.0.1</geronimo.spec.stax.version> + <geronimo.spec.metadata.version>1.1.2</geronimo.spec.metadata.version> + <geronimo.spec.saaj.version>1.0.1</geronimo.spec.saaj.version> + <geronimo.spec.jaxws.version>1.0</geronimo.spec.jaxws.version> + <google.gson.version>2.1</google.gson.version> + <httpcore.version>4.2.1</httpcore.version> + <httpclient.version>4.2.1</httpclient.version> + <intellij.version>5.0</intellij.version> + <jalopy.version>1.5rc3</jalopy.version> + <jaxb.api.version>2.2.6</jaxb.api.version> + <jaxbri.version>2.2.6</jaxbri.version> + <jettison.version>1.3</jettison.version> + <jibx.version>1.2</jibx.version> + <junit.version-jdk1.4>3.8.2</junit.version-jdk1.4> + <junit.version>4.4</junit.version> + <log4j.version>1.2.15</log4j.version> + <maven.archiver.version>2.2</maven.archiver.version> + <maven.artifact.version>2.0.8</maven.artifact.version> + <maven.plugin.testing.version>1.1</maven.plugin.testing.version> + <maven.version>2.0.7</maven.version> + <maven.plugin.descriptor.version>2.0.7</maven.plugin.descriptor.version> + <maven.archetype.plugin.version>2.2</maven.archetype.plugin.version> + <plexus.classworlds.version>2.4</plexus.classworlds.version> + <plexus.utils.version>1.4.9</plexus.utils.version> + <rhino.version>1.6R7</rhino.version> + <servlet.api.version>2.3</servlet.api.version> + <spring.version>2.5.1</spring.version> + <tomcat.version>6.0.16</tomcat.version> + <wsdl4j.version>1.6.2</wsdl4j.version> + <xalan.version>2.7.0</xalan.version> + <xmlbeans.version>2.5.0</xmlbeans.version> + <xml_resolver.version>1.2</xml_resolver.version> + <xmlunit.version>1.3</xmlunit.version> + <commons.lang.version>2.3</commons.lang.version> + <javax.mail.version>1.4</javax.mail.version> + <commons.cli.version>1.2</commons.cli.version> + <!-- The build failing if tests are skipped is very annoying --> + <failIfNoTests>false</failIfNoTests> + <m2Repository>'${settings.localRepository}'</m2Repository> + <geronimo-spec.jta.version>1.1</geronimo-spec.jta.version> + <jaxws.tools.version>2.2.6</jaxws.tools.version> + <jaxws.rt.version>2.2.6</jaxws.rt.version> + <jsr311.api.version>1.1.1</jsr311.api.version> + <!-- This variable is used in some Xdocs and is substituted using Velocity. Note that we can't use the project.version variable directly because of the dot. See http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html --> <axis2_version>${project.version}</axis2_version> </properties> + <pluginRepositories> + <pluginRepository> + <id>apache.snapshots</id> + <name>Apache Snapshot Repository</name> + <url>http://repository.apache.org/snapshots</url> + <snapshots> + <enabled>true</enabled> + <updatePolicy>daily</updatePolicy> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </pluginRepository> + </pluginRepositories> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>com.sun.xml.fastinfoset</groupId> + <artifactId>FastInfoset</artifactId> + <version>${fi.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat</groupId> + <artifactId>tribes</artifactId> + <version>${tomcat.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat</groupId> + <artifactId>juli</artifactId> + <version>${tomcat.version}</version> + </dependency> + <dependency> + <groupId>xml-resolver</groupId> + <artifactId>xml-resolver</artifactId> + <version>${xml_resolver.version}</version> + </dependency> + <dependency> + <groupId>xalan</groupId> + <artifactId>xalan</artifactId> + <version>${xalan.version}</version> + <exclusions> + <exclusion> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>${jaxbri.version}</version> + </dependency> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-xjc</artifactId> + <version>${jaxbri.version}</version> + </dependency> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>${jaxb.api.version}</version> + <exclusions> + <exclusion> + <groupId>javax.xml.stream</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.activation</groupId> + <artifactId>activation</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.sun.xml.ws</groupId> + <artifactId>jaxws-tools</artifactId> + <version>${jaxws.tools.version}</version> + </dependency> + <dependency> + <groupId>com.sun.xml.ws</groupId> + <artifactId>jaxws-rt</artifactId> + <version>${jaxws.rt.version}</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-core</artifactId> + <version>${spring.version}</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-beans</artifactId> + <version>${spring.version}</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-context</artifactId> + <version>${spring.version}</version> + </dependency> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-web</artifactId> + <version>${spring.version}</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>${servlet.api.version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.jettison</groupId> + <artifactId>jettison</artifactId> + <version>${jettison.version}</version> + <exclusions> + <exclusion> + <groupId>stax</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>${google.gson.version}</version> + </dependency> + <dependency> + <groupId>org.jibx</groupId> + <artifactId>jibx-bind</artifactId> + <version>${jibx.version}</version> + </dependency> + <dependency> + <groupId>org.jibx</groupId> + <artifactId>jibx-run</artifactId> + <version>${jibx.version}</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.woodstox</groupId> + <artifactId>wstx-asl</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-launcher</artifactId> + <version>${ant.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-api</artifactId> + <version>${axiom.version}</version> + <exclusions> + <exclusion> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + </exclusion> + <exclusion> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-impl</artifactId> + <version>${axiom.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-dom</artifactId> + <version>${axiom.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>axiom-jaxb</artifactId> + <version>${axiom.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>testutils</artifactId> + <version>${axiom.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.commons.axiom</groupId> + <artifactId>xml-truth</artifactId> + <version>${axiom.version}</version> + </dependency> + <dependency> + <groupId>org.apache.ws.xmlschema</groupId> + <artifactId>xmlschema-core</artifactId> + <version>${xmlschema.version}</version> + </dependency> + <dependency> + <groupId>org.apache.neethi</groupId> + <artifactId>neethi</artifactId> + <version>${neethi.version}</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.woodstox</groupId> + <artifactId>woodstox-core-asl</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + <version>${ant.version}</version> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>${commons.logging.version}</version> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>${commons.codec.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-stax-api_1.0_spec</artifactId> + <version>${geronimo.spec.stax.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-activation_1.1_spec</artifactId> + <version>${geronimo.spec.activation.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-javamail_1.4_spec</artifactId> + <version>${geronimo.spec.javamail.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-annotation_1.0_spec</artifactId> + <version>${geronimo.spec.annotation.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-ws-metadata_2.0_spec</artifactId> + <version>${geronimo.spec.metadata.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-saaj_1.3_spec</artifactId> + <version>${geronimo.spec.saaj.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jaxws_2.2_spec</artifactId> + <version>${geronimo.spec.jaxws.version}</version> + </dependency> + + <dependency> + <groupId>commons-httpclient</groupId> + <artifactId>commons-httpclient</artifactId> + <version>${commons.httpclient.version}</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>${commons.io.version}</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpcore</artifactId> + <version>${httpcore.version}</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${httpclient.version}</version> + </dependency> + <dependency> + <groupId>commons-fileupload</groupId> + <artifactId>commons-fileupload</artifactId> + <version>${commons.fileupload.version}</version> + </dependency> + <dependency> + <groupId>wsdl4j</groupId> + <artifactId>wsdl4j</artifactId> + <version>${wsdl4j.version}</version> + </dependency> + <dependency> + <groupId>org.apache.woden</groupId> + <artifactId>woden-core</artifactId> + <version>${woden.version}</version> + </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + <version>${jsr311.api.version}</version> + </dependency> + <dependency> + <groupId>xmlunit</groupId> + <artifactId>xmlunit</artifactId> + <version>${xmlunit.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>${junit.version}</version> + </dependency> + <dependency> + <groupId>org.apache.xmlbeans</groupId> + <artifactId>xmlbeans</artifactId> + <version>${xmlbeans.version}</version> + <exclusions> + <exclusion> + <groupId>stax</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-project</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-artifact</artifactId> + <version>${maven.artifact.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-archiver</artifactId> + <version>${maven.archiver.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-descriptor</artifactId> + <version>${maven.plugin.descriptor.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-archetype-plugin</artifactId> + <version>${maven.archetype.plugin.version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>${plexus.utils.version}</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-classworlds</artifactId> + <version>${plexus.classworlds.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-plugin-testing-harness</artifactId> + <scope>test</scope> + <version>${maven.plugin.testing.version}</version> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>${log4j.version}</version> + <exclusions> + <exclusion> + <groupId>javax.mail</groupId> + <artifactId>mail</artifactId> + </exclusion> + <exclusion> + <groupId>javax.jms</groupId> + <artifactId>jms</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.jdmk</groupId> + <artifactId>jmxtools</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.jmx</groupId> + <artifactId>jmxri</artifactId> + </exclusion> + <exclusion> + <groupId>oro</groupId> + <artifactId>oro</artifactId> + </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.eclipse.core</groupId> + <artifactId>jobs</artifactId> + <version>3.2.0-v20060603</version> + </dependency> + <dependency> + <groupId>org.eclipse.core</groupId> + <artifactId>resources</artifactId> + <version>3.2.1-R32x_v20060914</version> + </dependency> + <dependency> + <groupId>org.eclipse.core</groupId> + <artifactId>runtime</artifactId> + <version>3.2.0-v20060603</version> + </dependency> + <dependency> + <groupId>org.eclipse.equinox</groupId> + <artifactId>common</artifactId> + <version>3.2.0-v20060603</version> + </dependency> + <dependency> + <groupId>org.eclipse</groupId> + <artifactId>jface</artifactId> + <version>3.2.1-M20060908-1000</version> + </dependency> + <dependency> + <groupId>org.eclipse</groupId> + <artifactId>osgi</artifactId> + <version>3.2.1-R32x_v20060919</version> + </dependency> + <dependency> + <groupId>org.eclipse</groupId> + <artifactId>swt</artifactId> + <version>3.2.1-v3235e</version> + </dependency> + <dependency> + <groupId>org.eclipse.swt.win32.win32</groupId> + <artifactId>x86</artifactId> + <version>3.2.1-v3235</version> + </dependency> + <dependency> + <groupId>org.eclipse.ui</groupId> + <artifactId>ide</artifactId> + <version>3.2.1-M20060915-1030</version> + </dependency> + <dependency> + <groupId>org.eclipse.core</groupId> + <artifactId>expressions</artifactId> + <version>3.2.1-r321_v20060721</version> + </dependency> + <dependency> + <groupId>org.eclipse</groupId> + <artifactId>ui</artifactId> + <version>3.2.1-M20060913-0800</version> + </dependency> + <dependency> + <groupId>org.eclipse.ui</groupId> + <artifactId>workbench</artifactId> + <version>3.2.1-M20060906-0800</version> + </dependency> + <dependency> + <groupId>org.eclipse.update</groupId> + <artifactId>core</artifactId> + <version>3.2.1-v20092006</version> + </dependency> + <dependency> + <groupId>com.intellij</groupId> + <artifactId>openapi</artifactId> + <version>${intellij.version}</version> + </dependency> + <dependency> + <groupId>com.intellij</groupId> + <artifactId>extensions</artifactId> + <version>${intellij.version}</version> + </dependency> + <dependency> + <groupId>rhino</groupId> + <artifactId>js</artifactId> + <version>${rhino.version}</version> + </dependency> + <dependency> + <groupId>bsf</groupId> + <artifactId>bsf</artifactId> + <version>${bsf.version}</version> + </dependency> + <dependency> + <groupId>jalopy</groupId> + <artifactId>jalopy</artifactId> + <version>${jalopy.version}</version> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>${commons.lang.version}</version> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jta_1.1_spec</artifactId> + <version>${geronimo-spec.jta.version}</version> + </dependency> + + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>${commons.cli.version}</version> + </dependency> + + <!-- Jetty is used by some of the unit tests --> + <dependency> + <groupId>jetty</groupId> + <artifactId>jetty</artifactId> + <version>5.1.10</version> + </dependency> + + <!-- AspectJ is used in the unit tests of several transports --> + <dependency> + <groupId>org.aspectj</groupId> + <artifactId>aspectjrt</artifactId> + <version>1.8.2</version> + </dependency> + <dependency> + <groupId>org.aspectj</groupId> + <artifactId>aspectjweaver</artifactId> + <version>1.8.2</version> + </dependency> + </dependencies> + </dependencyManagement> <build> - <!-- Note: the pluginManagement in axis2-parent doesn't apply here; we - need to define our own! --> <pluginManagement> <plugins> <plugin> @@ -515,10 +1105,6 @@ </configuration> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <!-- Note: 2.0 seems to have issues with the calculation of the tag path --> @@ -549,10 +1135,195 @@ </dependency> </dependencies> </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.2</version> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <!-- Minimum required version here is 2.2-beta-4 because org.apache:apache:7 uses + the runOnlyAtExecutionRoot parameter which is not supported in earlier + versions. --> + <version>2.2-beta-5</version> + <configuration> + <!-- Workaround for MASSEMBLY-422 / MASSEMBLY-449 --> + <archiverConfig> + <fileMode>420</fileMode> <!-- 420(dec) = 644(oct) --> + <directoryMode>493</directoryMode> <!-- 493(dec) = 755(oct) --> + <defaultDirectoryMode>493</defaultDirectoryMode> + </archiverConfig> + </configuration> + </plugin> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.3.1</version> + </plugin> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.0</version> + </plugin> + <plugin> + <artifactId>maven-ear-plugin</artifactId> + <version>2.3.1</version> + </plugin> + <plugin> + <artifactId>maven-ejb-plugin</artifactId> + <version>2.1</version> + </plugin> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <artifactId>maven-plugin-plugin</artifactId> + <version>2.6</version> + </plugin> + <plugin> + <artifactId>maven-rar-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.2</version> + </plugin> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.13</version> + </plugin> + <plugin> + <artifactId>maven-war-plugin</artifactId> + <version>2.1-beta-1</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.4</version> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.1.0</version> + </plugin> + <plugin> + <groupId>net.ju-n.maven.plugins</groupId> + <artifactId>checksum-maven-plugin</artifactId> + <version>1.2</version> + </plugin> + + <!-- Use 1.5.2 versions of the aar and mar plugins in order to avoid + the chicken and egg problem. --> + <plugin> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-aar-maven-plugin</artifactId> + <version>1.5.2</version> + </plugin> + <plugin> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-mar-maven-plugin</artifactId> + <version>1.5.2</version> + </plugin> + + <!-- No chicken and egg problem here because the plugin doesn't expose + any extension. We can always use the version from the current build. --> + <plugin> + <groupId>org.apache.axis2</groupId> + <artifactId>axis2-repo-maven-plugin</artifactId> + <version>${project.version}</version> + </plugin> </plugins> </pluginManagement> <plugins> <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireJavaVersion> + <!-- We require Java 7 for the build, but we enforce Java 5 compatibility using Animal Sniffer --> + <version>1.7.0</version> + </requireJavaVersion> + <requireNoRepositories> + <message>The POM must not include repository definitions since non Apache repositories threaten the build stability.</message> + <banRepositories>true</banRepositories> + <banPluginRepositories>true</banPluginRepositories> + <!-- We still need to allow the Apache snapshot repository --> + <allowSnapshotRepositories>true</allowSnapshotRepositories> + <allowSnapshotPluginRepositories>true</allowSnapshotPluginRepositories> + </requireNoRepositories> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <inherited>true</inherited> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <version>1.14</version> + <executions> + <execution> + <id>check</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <signature> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>java15</artifactId> + <version>1.0</version> + </signature> + </configuration> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <redirectTestOutputToFile>true</redirectTestOutputToFile> + </configuration> + </plugin> + <plugin> + <!-- Always build source JARs --> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>source-jars</id> + <goals> + <goal>jar-no-fork</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>true</attach> + </configuration> + </plugin> + <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <executions>
