summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml')
-rw-r--r--sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml60
1 files changed, 59 insertions, 1 deletions
diff --git a/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml b/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml
index e9537280fc..2f208e6504 100644
--- a/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml
+++ b/sandbox/rfeng/scatours-creditcard-payment-dosgi-contribution/pom.xml
@@ -28,6 +28,18 @@
<artifactId>scatours-creditcard-payment-dosgi</artifactId>
<name>SCATours CreditCard Payment OSGi</name>
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>java.net</id>
+ <name>java.net Maven 1.x Repository</name>
+ <url>http://download.java.net/maven/1</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
@@ -63,6 +75,13 @@
</dependency>
<dependency>
+ <groupId>com.sun.xml.ws</groupId>
+ <artifactId>jaxws-rt</artifactId>
+ <version>2.1.7</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
@@ -89,6 +108,45 @@
<finalName>${artifactId}</finalName>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>javax.xml.ws</groupId>
+ <artifactId>jaxws-api</artifactId>
+ <version>2.1</version>
+ <type>jar</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ <type>jar</type>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/endorsed</outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Djava.endorsed.dirs=target/endorsed</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5.1</version>
<configuration>
@@ -147,7 +205,7 @@
<goal>wsimport</goal>
</goals>
<configuration>
- <packageName>payment.creditcard</packageName>
+ <packageName>scatours.payment.creditcard</packageName>
<wsdlDirectory>${basedir}/src/main/resources
</wsdlDirectory>
<wsdlFiles>