[jbossws-commits] JBossWS SVN: r6656 - in container/jboss42/branches/jbossws-jboss423: src/main and 1 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Thu Apr 24 08:03:18 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-04-24 08:03:18 -0400 (Thu, 24 Apr 2008)
New Revision: 6656

Added:
   container/jboss42/branches/jbossws-jboss423/pom.xml
   container/jboss42/branches/jbossws-jboss423/src/main/scripts/
   container/jboss42/branches/jbossws-jboss423/src/main/scripts/antrun-install.xml
   container/jboss42/branches/jbossws-jboss423/src/main/scripts/assembly-resources.xml
Modified:
   container/jboss42/branches/jbossws-jboss423/
Log:
Switch build to maven


Property changes on: container/jboss42/branches/jbossws-jboss423
___________________________________________________________________
Name: svn:ignore
   - .settings

   + .settings
target


Added: container/jboss42/branches/jbossws-jboss423/pom.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss423/pom.xml	                        (rev 0)
+++ container/jboss42/branches/jbossws-jboss423/pom.xml	2008-04-24 12:03:18 UTC (rev 6656)
@@ -0,0 +1,219 @@
+<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>
+  
+  <name>JBoss Web Services - Container JBoss-4.2.3</name>
+  <groupId>org.jboss.ws</groupId>
+  <artifactId>jbossws-jboss</artifactId>
+  
+  <version>4.2.3-SNAPSHOT</version>
+  
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jboss.ws</groupId>
+    <artifactId>jbossws-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  
+  <!-- Properties -->
+  <properties>
+    <jboss.version>4.2.3-SNAPSHOT</jboss.version>
+    <jbossws.common.version>3.0.0-SNAPSHOT</jbossws.common.version>
+    <jbossws.spi.version>3.0.0-SNAPSHOT</jbossws.spi.version>
+    
+    <!-- versions defined in build/build-thirdparty.xml -->
+    <dom4j.version>1.6.1</dom4j.version>
+    <jboss.aop.version>1.5.6.GA</jboss.aop.version>
+    <jboss.common.version>1.2.1.GA</jboss.common.version>
+    <jboss.microcontainer.version>1.0.2</jboss.microcontainer.version>
+    <jbossxb.version>1.0.0.SP1</jbossxb.version>
+  </properties>
+  
+  <!-- Dependencies -->
+  <dependencies>
+    
+    <!-- jbossws dependencies -->
+    <dependency>
+      <groupId>org.jboss.ws</groupId>
+      <artifactId>jbossws-common</artifactId>
+      <version>${jbossws.common.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.ws</groupId>
+      <artifactId>jbossws-spi</artifactId>
+      <version>${jbossws.spi.version}</version>
+    </dependency>
+    
+    <!-- provided apis -->
+    <dependency>
+      <groupId>javax.ejb</groupId>
+      <artifactId>ejb-api</artifactId>
+      <version>3.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.jws</groupId>
+      <artifactId>jsr181-api</artifactId>
+      <version>1.0-MR1</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.5</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.transaction</groupId>
+      <artifactId>jta</artifactId>
+      <version>1.0.1B</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml</groupId>
+      <artifactId>jaxrpc-api</artifactId>
+      <version>1.1</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.soap</groupId>
+      <artifactId>saaj-api</artifactId>
+      <version>1.3</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.ws</groupId>
+      <artifactId>jaxws-api</artifactId>
+      <version>2.1</version>
+      <scope>provided</scope>
+    </dependency>
+    
+    <!-- jboss thirdparty dependencies -->
+    <dependency>
+      <groupId>dom4j</groupId>
+      <artifactId>dom4j</artifactId>
+      <version>${dom4j.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss.aop</groupId>
+      <artifactId>jboss-aop-jdk50</artifactId>
+      <version>${jboss.aop.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-system</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-annotations-ejb3</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-ejb3</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-ejb3x</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-jmx</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jbosssx</artifactId>
+      <version>${jboss.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>jboss.common</groupId>
+      <artifactId>jboss-common</artifactId>
+      <version>${jboss.common.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss</groupId>
+      <artifactId>jbossxb</artifactId>
+      <version>${jbossxb.version}</version>
+      <!-- dependencies not in sync with jboss-4.2.3 -->
+      <exclusions>
+        <exclusion>
+          <groupId>jboss.common.core</groupId>
+          <artifactId>jboss-common-core</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss.logging</groupId>
+          <artifactId>jboss-logging-spi</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>jboss.logging.log4j</groupId>
+          <artifactId>jboss-logging-log4j</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-microcontainer</artifactId>
+      <version>${jboss.microcontainer.version}</version>
+    </dependency>
+  </dependencies>
+  
+  <!-- Plugins -->
+  <build>
+    <resources>
+      <resource>
+        <targetPath>../etc</targetPath>
+        <directory>src/main/etc</directory>
+        <filtering>true</filtering>
+      </resource>
+      <resource>
+        <directory>src/main/resources/jbossws-jboss42.jar</directory>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>install</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <property name="version.id" value="${project.version}"/>
+                <property name="jboss.local.repository" value="${jboss.local.repository}"/>
+                <ant antfile="src/main/scripts/antrun-install.xml" target="install"/>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/main/scripts/assembly-resources.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  
+</project>


Property changes on: container/jboss42/branches/jbossws-jboss423/pom.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: container/jboss42/branches/jbossws-jboss423/src/main/scripts/antrun-install.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss423/src/main/scripts/antrun-install.xml	                        (rev 0)
+++ container/jboss42/branches/jbossws-jboss423/src/main/scripts/antrun-install.xml	2008-04-24 12:03:18 UTC (rev 6656)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project>
+  
+  <!-- ================================================================== -->
+  <!-- Setup                                                              -->
+  <!-- ================================================================== -->
+  
+  <property name="project.dir" value="${basedir}"/>
+  <property name="project.etc.dir" value="${project.dir}/src/main/etc"/>
+  <property name="project.target.dir" value="${project.dir}/target"/>
+  
+  <!-- ================================================================== -->
+  <!-- Initialization                                                     -->
+  <!-- ================================================================== -->
+  
+  <target name="init">
+    <property name="repository.id" value="${version.id}"/>
+    <echo message="version.id=${version.id}"/>
+    <echo message="repository.id=${repository.id}"/>
+    <echo message="jboss.local.repository=${jboss.local.repository}"/>
+  </target>
+  
+  <target name="check-properties" depends="init">
+    <available property="jboss.local.repository.available" type="dir" file="${jboss.local.repository}"/>
+    <fail message="Cannot find directory ${jboss.local.repository}. Did you copy profiles-example.xml?" unless="jboss.local.repository.available"/>
+  </target>
+  
+  
+  <!-- ================================================================== -->
+  <!-- Installation                                                       -->
+  <!-- ================================================================== -->
+  
+  <!-- Install to jboss.local.repository -->
+  <target name="install" depends="check-properties" description="Install to jboss.local.repository">
+    
+    <!-- Check if the target jar is available -->
+    <available property="jbossws.jboss.jar.available" file="${project.target.dir}/jbossws-jboss-${version.id}.jar"/>
+    <fail message="Cannot find jbossws-jboss-${version.id}.jar. Did you run 'mvn package'?" unless="jbossws.jboss.jar.available"/>
+    
+    <!-- jboss/jbossws-project -->
+    <property name="jboss.repository.dir" value="${jboss.local.repository}/jboss/jbossws-jboss42/${repository.id}"/>
+    <mkdir dir="${jboss.repository.dir}/lib"/>
+    <copy file="${project.target.dir}/jbossws-jboss-${version.id}.jar" tofile="${jboss.repository.dir}/lib/jbossws-jboss42.jar" overwrite="true"/>
+    <copy file="${project.target.dir}/jbossws-jboss-${version.id}-sources.jar" tofile="${jboss.repository.dir}/lib/jbossws-jboss42-src.jar" overwrite="true"/>
+    <copy file="${project.target.dir}/jbossws-jboss-${version.id}-resources.zip" tofile="${jboss.repository.dir}/lib/jbossws-jboss42-resources.zip" overwrite="true"/>
+    <copy file="${project.target.dir}/etc/component-info.xml" tofile="${jboss.repository.dir}/component-info.xml" overwrite="true"/>
+  </target>
+  
+</project>


Property changes on: container/jboss42/branches/jbossws-jboss423/src/main/scripts/antrun-install.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: container/jboss42/branches/jbossws-jboss423/src/main/scripts/assembly-resources.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss423/src/main/scripts/assembly-resources.xml	                        (rev 0)
+++ container/jboss42/branches/jbossws-jboss423/src/main/scripts/assembly-resources.xml	2008-04-24 12:03:18 UTC (rev 6656)
@@ -0,0 +1,18 @@
+<assembly 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/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+  <id>resources</id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>src/main/resources</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>jbossws-jboss42.sar/**</include>
+        <include>jbossws-jboss42-config.xml</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file


Property changes on: container/jboss42/branches/jbossws-jboss423/src/main/scripts/assembly-resources.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list