You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by pd...@apache.org on 2006/07/17 21:09:21 UTC
svn commit: r422800 - in
/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources:
META-INF/maven/ archetype-resources/ archetype-resources/src/main/java/
archetype-resources/src/main/resources/
Author: pdodds
Date: Mon Jul 17 12:09:20 2006
New Revision: 422800
URL: http://svn.apache.org/viewvc?rev=422800&view=rev
Log:
Fixed up the archetype
Added:
incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/
incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Modified:
incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=422800&r1=422799&r2=422800&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml Mon Jul 17 12:09:20 2006
@@ -1,6 +1,7 @@
<archetype>
<id>servicemix-su</id>
- <resources>
+ <resources>
<resource>src/main/resources/xbean.xml</resource>
+ <resource>src/main/resources/service.wsdl</resource>
</resources>
</archetype>
Modified: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?rev=422800&r1=422799&r2=422800&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml Mon Jul 17 12:09:20 2006
@@ -1,71 +1,129 @@
-<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>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>A custom project</name>
- <url>http://www.myorganization.org</url>
- <pluginRepositories>
- <pluginRepository>
- <id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </pluginRepository>
- </pluginRepositories>
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>false</enabled>
- </releases>
- </repository>
- </repositories>
- <properties>
- <servicemixVersion>3.0-M2-incubating</servicemixVersion>
- <servicemixJbiPluginVersion>1.0-M2-incubating</servicemixJbiPluginVersion>
- <xbeanPluginVersion>2.4</xbeanPluginVersion>
- <jbiBindingComponent>myBindingComponent</jbiBindingComponent>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>${servicemixJbiPluginVersion}</version>
- <extensions>true</extensions>
- <configuration>
- <type>service-unit</type>
- </configuration>
- </plugin>
- </plugins>
- </build>
+<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>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>An example JSR-181 Service Unit</name>
+ <url>http://www.myorganization.org</url>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache.snapshots</id>
+ <name>Maven Central Plugins Development Repository</name>
+ <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Maven Central Plugins Development Repository</name>
+ <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml</groupId>
+ <artifactId>jaxws-api</artifactId>
+ <version>2.0EA3</version>
+ </dependency>
+ <dependency>
+ <groupId>xfire</groupId>
+ <artifactId>xfire-jsr181-api</artifactId>
+ <version>1.0-M1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-jsr181</artifactId>
+ <version>3.0-incubating-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>target/generated-sources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <taskdef
+ classname="org.codehaus.xfire.gen.WsGenTask" name="wsgen">
+ <classpath>
+ <pathelement
+ path="\${basedir}/target/classes" />
+ <path
+ refid="maven.test.classpath" />
+ </classpath>
+ </taskdef>
+ <wsgen
+ wsdl="\${basedir}/src/main/resources/service.wsdl"
+ outputDirectory="\${basedir}/target/generated-sources"
+ profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile"
+ explicitAnnotation="true" />
+ </tasks>
+ <sourceRoot>
+ \${basedir}/target/generated-sources
+ </sourceRoot>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.xfire</groupId>
+ <artifactId>xfire-generator</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.xfire</groupId>
+ <artifactId>xfire-jaxws</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>1.0-incubating-SNAPSHOT</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
</project>
Added: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl?rev=422800&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl (added)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl Mon Jul 17 12:09:20 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/example/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example" targetNamespace="http://www.example.org/example/">
+
+<wsdl:service name="example">
+
+</wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Added: incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=422800&view=auto
==============================================================================
--- incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/tooling/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Mon Jul 17 12:09:20 2006
@@ -0,0 +1,10 @@
+<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">
+
+ <classpath>
+ <location>.</location>
+ </classpath>
+
+ <jsr181:endpoint pojoClass="put.your.implementation.here"
+ wsdlResource="classpath:service.wsdl" />
+
+</beans>
\ No newline at end of file