servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foco...@apache.org
Subject svn commit: r368582 - in /incubator/servicemix/trunk/servicemix-wsn2005: maven.xml project.properties project.xml
Date Fri, 13 Jan 2006 03:58:42 GMT
Author: foconer
Date: Thu Jan 12 19:58:25 2006
New Revision: 368582

URL: http://svn.apache.org/viewcvs?rev=368582&view=rev
Log:
maven 1 build files.

Added:
    incubator/servicemix/trunk/servicemix-wsn2005/maven.xml
    incubator/servicemix/trunk/servicemix-wsn2005/project.properties
    incubator/servicemix/trunk/servicemix-wsn2005/project.xml

Added: incubator/servicemix/trunk/servicemix-wsn2005/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/maven.xml?rev=368582&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/maven.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/maven.xml Thu Jan 12 19:58:25 2006
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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 default="default" 
+         xmlns:j="jelly:core" 
+         xmlns:ant="jelly:ant" 
+         xmlns:maven="jelly:maven">
+
+         <!-- redefined "build" goal from parent pom -->
+	 <goal name="build" prereqs="clean, jar:install, jbi:install"/>
+	             
+	 <goal name="default">
+	   <attainGoal name="build"/>
+         </goal> 
+         
+         <preGoal name="java:compile">
+           <attainGoal name="jaxws:compile"/>
+         </preGoal>
+
+         <goal name="jaxws:compile" prereqs="setclasspath" description="generate JAX-WS
POJOS from WSDL">
+           <mkdir dir="${jaxws.compiled.java.dir}"/>
+           <mkdir dir="${jaxws.compiled.classes.dir}"/>
+	   <wsimport fork="true"
+                     debug="${debug}"
+                     verbose="${verbose}"
+                     keep="${keep}"
+                     sourcedestdir="${jaxws.compiled.java.dir}"
+                     destdir="${jaxws.compiled.classes.dir}"
+                     wsdl="${wsdl.home}/wsn.wsdl">
+           </wsimport>
+         </goal>
+
+         <goal name="setclasspath">
+           <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
+             <classpath refid="maven.dependency.classpath"/>
+           </taskdef>
+
+           <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
+             <classpath refid="maven.dependency.classpath"/>
+           </taskdef>
+
+           <taskdef name="apt" classname="com.sun.tools.ws.ant.Apt">
+             <classpath refid="maven.dependency.classpath"/>
+           </taskdef>
+         </goal>
+
+         <!--==================================================================-->
+         <!-- Initializations                                                  -->
+         <!--==================================================================-->
+         <goal name="jbi:su-init" description="Initialise filesystem and other resources
for a jbi service unit">
+           <ant:available property="jbiSuResourcesPresent" 
+                          type="dir"
+                          file="${maven.jbi.su.src}"
+                          />
+         </goal>
+  
+         <goal name="jbi:su" prereqs="jbi:su-init,jar:jar" description="Build a jbi su
file">
+           <!-- Copy resources -->
+           <j:if test="${jbiSuResourcesPresent == 'true'}">
+             <ant:copy todir="${maven.jbi.su.build.dir}" preservelastmodified="true">
+               <ant:fileset dir="${maven.jbi.su.src}"
+                            includes="${maven.jbi.su.src.includes}"
+                            excludes="${maven.jbi.su.src.excludes},META-INF/jbi.xml,xbean.xml">
+               </ant:fileset>
+             </ant:copy>
+           </j:if>
+
+           <!-- Copy libs -->
+           <j:forEach var="lib" items="${pom.artifacts}">
+             <j:set var="dep" value="${lib.dependency}"/>     
+             <j:if test="${dep.getProperty('jbi.su.bundle')=='true'}">
+               <j:if test="${dep.type =='jar'}"> 
+                 <ant:copy todir="${maven.jbi.su.build.lib}" file="${lib.path}"/> 

+               </j:if> 
+             </j:if>  
+           </j:forEach>  
+       
+           <ant:copy todir="${maven.jbi.su.build.lib}" file="${maven.build.dir}/${maven.final.name}.jar"/>
       
+
+           <j:file name="${maven.jbi.su.build.dir}/META-INF/jbi.xml"
+                   outputMode="xml"
+                   prettyPrint="true"
+                   encoding="${maven.jbi.su.descriptor.encoding}">
+             <j:import file="${maven.jbi.su.descriptor}" inherit="true" />
+           </j:file>  
+
+           <j:file name="${maven.jbi.su.build.dir}/xbean.xml"
+                   outputMode="xml"
+                   prettyPrint="true"
+                   encoding="${maven.jbi.su.xbean.encoding}">
+           
+             <j:import file="${maven.jbi.su.xbean}" inherit="true" />
+           </j:file>  
+    
+           <ant:jar destfile="${maven.build.dir}/${maven.jbi.su.final.name}"
+                    basedir="${maven.jbi.su.build.dir}">
+           </ant:jar>
+         </goal>
+
+         <!--==================================================================-->
+         <!-- Initializations                                                  -->
+         <!--==================================================================-->
+         <goal name="jbi:sa-init" 
+               description="Initialise filesystem and other resources for a jbi service assembly">
+
+           <ant:available property="jbiSaResourcesPresent" 
+                          type="dir"
+                          file="${maven.jbi.sa.src}"/>
+      
+         </goal>
+  
+         <goal name="jbi:sa" prereqs="jbi:sa-init,jbi:su" description="Build a jbi sa
file">
+           <!-- Copy resources -->
+           <j:if test="${jbiSaResourcesPresent == 'true'}">
+             <ant:copy todir="${maven.jbi.sa.build.dir}" preservelastmodified="true">
+               <ant:fileset dir="${maven.jbi.sa.src}"
+                            includes="${maven.jbi.sa.src.includes}"
+                            excludes="${maven.jbi.sa.src.excludes},META-INF/jbi.xml">
+               </ant:fileset>
+             </ant:copy>
+           </j:if>
+    
+           <ant:mkdir dir="${maven.jbi.sa.build.dir}/META-INF" />
+           
+           <j:file name="${maven.jbi.sa.build.dir}/META-INF/jbi.xml"
+                   outputMode="xml"
+                   prettyPrint="true"
+                   encoding="${maven.jbi.sa.descriptor.encoding}">
+    
+             <j:import file="${maven.jbi.sa.descriptor}" inherit="true" />
+           </j:file>  
+
+           <ant:copy todir="${maven.jbi.sa.build.dir}" file="${maven.build.dir}/${maven.jbi.su.final.name}"
/>
+    
+           <ant:jar destfile="${maven.build.dir}/${maven.jbi.sa.final.name}"
+                    basedir="${maven.jbi.sa.build.dir}">
+           </ant:jar>
+         </goal>
+
+</project>

Added: incubator/servicemix/trunk/servicemix-wsn2005/project.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/project.properties?rev=368582&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/project.properties (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/project.properties Thu Jan 12 19:58:25 2006
@@ -0,0 +1,42 @@
+# -------------------------------------------------------------------
+# JAX-WS stuff
+# -------------------------------------------------------------------
+lib.home=lib
+etc.home=etc
+wsdl.home=${basedir}/src/main/wsdl
+
+debug=true
+verbose=false
+keep=true
+server.binding=
+
+jaxws.compiled.classes.dir=${basedir}/target/classes
+jaxws.compiled.java.dir=${basedir}/target/java
+
+maven.eclipse.classpath.include=${jaxws.compiled.java.dir}
+
+# -------------------------------------------------------------------
+# Build Properties
+# -------------------------------------------------------------------
+maven.multiproject.type=jar
+
+maven.compile.source=1.5
+maven.compile.target=1.5
+maven.test.source=1.5
+maven.compile.deprecation=true
+maven.compile.debug=true
+maven.compile.optimize=true
+
+maven.javadoc.source=1.5
+maven.javadoc.additionalparam = -linksource
+
+maven.javadoc.links=\
+http://download.java.net/jdk6/docs/api/,\
+http://java.sun.com/j2ee/1.5/docs/api/,\
+http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent,\
+http://jakarta.apache.org/commons/logging/apidocs
+
+jbi.component.class.name = org.apache.servicemix.wsn.component.WSNComponent
+jbi.bootstrap.class.name = org.apache.servicemix.wsn.component.WSNBootstrap
+jbi.component.type=service-engine
+

Added: incubator/servicemix/trunk/servicemix-wsn2005/project.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/project.xml?rev=368582&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/project.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/project.xml Thu Jan 12 19:58:25 2006
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed 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>
+  <pomVersion>3</pomVersion>
+  <extend>../project.xml</extend>
+
+  <name>ServiceMix :: WS-Notification 2005</name>
+  <id>servicemix-wsn2005</id>
+  <description>
+        ServiceMix implementation of WS Notification 2005
+  </description>
+
+  <package>org.apache.servicemix.ws.notification</package>
+
+  <packageGroups>
+    <packageGroup>
+      <title>WS-Notification Implementation</title>
+      <packages>org.apache.servicemix.ws.notification</packages>
+    </packageGroup>
+  </packageGroups>
+
+  <siteDirectory>/home/projects/servicemix/public_html/maven/ws/jaxws/wsn</siteDirectory>
+
+  <dependencies>
+
+    <!-- For JAX-WS: only required for Java 5, will be part of Java 6 -->
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jsr181-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxws-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxws-rt</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxb-impl</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxb-xjc</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>saaj-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>saaj-impl</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jsr181-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jsr250-api</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>sjsxp</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>servicemix</groupId>
+      <artifactId>jaxws-tools</artifactId>
+      <version>${jaxws_rt_version}</version>
+    </dependency>
+    
+    <dependency>
+      <id>stax+api</id>
+      <version>${stax_api_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-jbi</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-common</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-components</artifactId>
+      <version>${pom.currentVersion}</version>
+      <properties>
+        <eclipse.dependency>true</eclipse.dependency>
+      </properties>
+    </dependency>
+    <dependency>
+      <groupId>org.xbean</groupId>
+      <artifactId>xbean-spring</artifactId>
+      <version>${xbean_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>${commons_logging_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>backport-util-concurrent</groupId>
+      <artifactId>backport-util-concurrent</artifactId>
+      <version>${backport_util_concurrent_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>concurrent</groupId>
+      <artifactId>concurrent</artifactId>
+      <version>${concurrent_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>mx4j</groupId>
+      <artifactId>mx4j-jmx</artifactId>
+      <version>${mx4j_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>activemq</groupId>
+      <artifactId>activemq</artifactId>
+      <version>${activemq_version}</version>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-servlet_2.4_spec</artifactId>
+      <version>${geronimo_spec_servlet_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-activation_1.0.2_spec</artifactId>
+      <version>${geronimo_spec_activation_version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>springframework</groupId>
+      <artifactId>spring</artifactId>
+      <version>${spring_version}</version>
+    </dependency>
+
+    <!-- for testing -->
+    <dependency>
+      <id>jencks+all</id>
+      <version>${jencks_version}</version>
+    </dependency>
+    <dependency>
+      <groupId>wsdl4j</groupId>
+      <artifactId>wsdl4j</artifactId>
+      <version>${wsdl4j_version}</version>
+      </dependency>
+    <dependency>
+      <groupId>jetty</groupId>
+      <artifactId>org.mortbay.jetty</artifactId>
+      <version>${org.mortbay.jetty_version}</version>
+    </dependency>
+    <dependency>
+      <id>commons-httpclient</id>
+      <version>${commons_httpclient_version}</version>
+    </dependency>
+    <dependency>
+      <id>commons-codec</id>
+      <version>${commons_codec_version}</version>
+    </dependency>
+    <dependency>
+      <id>xalan</id>
+      <version>${xalan_version}</version>
+    </dependency>
+ 
+     <dependency>
+      <id>log4j</id>
+      <version>${log4j_version}</version>
+    </dependency>
+  </dependencies>
+
+
+  <build>
+    <resources>
+      <resource>
+          <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*.xml</include>
+          <include>**/*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+
+</project>



Mime
View raw message