Skip to content
Permalink
Browse files
Make sure the release profile involves the jaxws22 stuff
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1564352 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Feb 4, 2014
1 parent 1e8aba0 commit b2d38cf3c2e4ccb194742a9579bb51d873bba026
Showing 1 changed file with 86 additions and 0 deletions.
@@ -304,6 +304,92 @@
</pluginManagement>
</build>
</profile>
<profile>
<id>release</id>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jaxws_2.2_spec</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<properties>
<cxf.spi-dir>spi-2.2</cxf.spi-dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-jaxws22-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/src/main/jaxws22</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-jaxws22-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/src/test/jaxws22</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>create-endorsed-dir</id>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jaxws_2.2_spec</artifactId>
<outputDirectory>${basedir}/target/endorsed</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArguments>
<endorseddirs>${basedir}/target/endorsed</endorseddirs>
</compilerArguments>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>jdk17</id>
<activation>

0 comments on commit b2d38cf

Please sign in to comment.