You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/05/24 16:17:52 UTC

svn commit: r409172 - in /incubator/servicemix/branches/java5: ./ servicemix-assembly/ servicemix-assembly/src/main/assembly/ servicemix-assembly/src/main/release/bin/ servicemix-assembly/src/main/release/conf/ servicemix-core/ servicemix-http/

Author: gnodet
Date: Wed May 24 07:17:51 2006
New Revision: 409172

URL: http://svn.apache.org/viewvc?rev=409172&view=rev
Log:
Include retrotranslator runtime jit in the distribution.
Maven 2 limitation about plugin dependencies needs to be workaround by switching back to ant classes for xbean (qdox 1.5 does not parse java 5)

Modified:
    incubator/servicemix/branches/java5/pom.xml
    incubator/servicemix/branches/java5/servicemix-assembly/pom.xml
    incubator/servicemix/branches/java5/servicemix-assembly/src/main/assembly/bin.xml
    incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix
    incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix.bat
    incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/conf/servicemix.conf
    incubator/servicemix/branches/java5/servicemix-core/pom.xml
    incubator/servicemix/branches/java5/servicemix-http/pom.xml

Modified: incubator/servicemix/branches/java5/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/pom.xml?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/pom.xml (original)
+++ incubator/servicemix/branches/java5/pom.xml Wed May 24 07:17:51 2006
@@ -219,7 +219,7 @@
   </modules>
   
   <properties>
-    <qdox.version>1.5</qdox.version>
+    <qdox.version>1.6-SNAPSHOT</qdox.version>
     <jaxws.tools.version>2.0EA3</jaxws.tools.version>
     <xfire.jsr181.api.version>1.0-M1</xfire.jsr181.api.version>
     <xfire.version>1.1</xfire.version>
@@ -1199,7 +1199,7 @@
       <dependency>
         <groupId>qdox</groupId>
         <artifactId>qdox</artifactId>
-        <version>1.5</version>
+        <version>${qdox.version}</version>
       </dependency>
       <dependency>
         <groupId>quartz</groupId>
@@ -1383,10 +1383,6 @@
         <artifactId>xbean-spring</artifactId>
         <version>2.3</version>
         <exclusions>
-          <exclusion>
-            <groupId>qdox</groupId>
-            <artifactId>qdox</artifactId>
-          </exclusion>
         </exclusions>
       </dependency>
       <dependency>
@@ -1626,6 +1622,21 @@
           <groupId>org.apache.xbean</groupId>
           <artifactId>maven-xbean-plugin</artifactId>
           <version>2.3</version>
+          <dependencies>
+            <dependency>
+              <groupId>qdox</groupId>
+              <artifactId>qdox</artifactId>
+              <version>${qdox.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
         </plugin>
       </plugins>
     </pluginManagement>

Modified: incubator/servicemix/branches/java5/servicemix-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-assembly/pom.xml?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-assembly/pom.xml (original)
+++ incubator/servicemix/branches/java5/servicemix-assembly/pom.xml Wed May 24 07:17:51 2006
@@ -160,6 +160,17 @@
       <artifactId>axis</artifactId>
     </dependency>
     
+    <dependency>
+      <groupId>net.sf.retrotranslator</groupId>
+      <artifactId>retrotranslator-runtime</artifactId>
+      <version>1.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>net.sf.retrotranslator</groupId>
+      <artifactId>retrotranslator-transformer</artifactId>
+      <version>1.0.4</version>
+    </dependency>
+    
   </dependencies>
 
   <build>

Modified: incubator/servicemix/branches/java5/servicemix-assembly/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-assembly/src/main/assembly/bin.xml?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-assembly/src/main/assembly/bin.xml (original)
+++ incubator/servicemix/branches/java5/servicemix-assembly/src/main/assembly/bin.xml Wed May 24 07:17:51 2006
@@ -50,6 +50,9 @@
       <outputDirectory>lib</outputDirectory>
       <includes>
         <include>classworlds:classworlds</include>
+        
+        <include>net.sf.retrotranslator:retrotranslator-runtime</include>
+        <include>net.sf.retrotranslator:retrotranslator-transformer</include>
 
         <include>backport-util-concurrent:backport-util-concurrent</include>
         <include>incubator-activemq:activemq-core</include>
@@ -59,6 +62,7 @@
         <include>commons-beanutils:commons-beanutils-core</include>
         <include>org.apache.servicemix:servicemix-jbi</include>
         <include>org.apache.servicemix:servicemix-services</include>
+        <include>org.apache.servicemix:servicemix-schemas</include>
         <include>org.apache.servicemix:servicemix-core</include>
         <include>org.apache.xbean:xbean-spring</include>
         <include>org.apache.xbean:xbean-server</include>
@@ -96,6 +100,9 @@
         <include>xml-apis:xml-apis</include>
         <include>log4j:log4j</include>
         <include>org.apache.derby:derby</include>
+        
+        <include>javax.xml:jaxb-api</include>
+        <include>javax.xml:jaxb-impl</include>
       </includes>
     </dependencySet>
     <dependencySet>

Modified: incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix (original)
+++ incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix Wed May 24 07:17:51 2006
@@ -274,6 +274,7 @@
         -Dcygwin.user.home="$CYGHOME" \
         -Djava.endorsed.dirs="$SERVICEMIX_HOME/lib/endorsed" \
         org.codehaus.classworlds.Launcher \
+        org.apache.servicemix.Main \
         "$@"      
 }
 

Modified: incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix.bat
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix.bat?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix.bat (original)
+++ incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/bin/servicemix.bat Wed May 24 07:17:51 2006
@@ -96,7 +96,7 @@
 
 :EXECUTE
     rem Execute the Java Virtual Machine
-    "%JAVA%" %JAVA_OPTS% -classpath "%CLASSPATH%" %BOOT_OPTS% org.codehaus.classworlds.Launcher %ARGS%
+    "%JAVA%" %JAVA_OPTS% -classpath "%CLASSPATH%" %BOOT_OPTS% org.codehaus.classworlds.Launcher org.apache.servicemix.Main %ARGS%
 
 rem # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
 

Modified: incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/conf/servicemix.conf
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/conf/servicemix.conf?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/conf/servicemix.conf (original)
+++ incubator/servicemix/branches/java5/servicemix-assembly/src/main/release/conf/servicemix.conf Wed May 24 07:17:51 2006
@@ -2,7 +2,7 @@
 # $Id$
 #
 
-main is org.apache.servicemix.Main from app
+main is net.sf.retrotranslator.transformer.JITRetrotranslator from app
 
 [app]
     load ${servicemix.home}/conf

Modified: incubator/servicemix/branches/java5/servicemix-core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-core/pom.xml?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-core/pom.xml (original)
+++ incubator/servicemix/branches/java5/servicemix-core/pom.xml Wed May 24 07:17:51 2006
@@ -288,6 +288,7 @@
       </testResource>
     </testResources>
     <plugins>
+      <!--
       <plugin>
         <groupId>org.apache.xbean</groupId>
         <artifactId>maven-xbean-plugin</artifactId>
@@ -302,6 +303,47 @@
             </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>qdox</groupId>
+            <artifactId>qdox</artifactId>
+            <version>${qdox.version}</version>
+            <scope>runtime</scope>
+          </dependency>
+        </dependencies>
+      </plugin>
+      -->
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>generate-resources</phase>
+            <configuration>
+              <tasks>
+                <taskdef classname="org.apache.xbean.spring.generator.MappingGeneratorTask"
+                  name="mapping">
+                  <classpath>
+                    <pathelement path="${basedir}/target/classes" />
+                    <path refid="maven.test.classpath" />
+                  </classpath>
+                </taskdef>
+                <mapping destFile="${basedir}/target/servicemix.xsd"
+                  namespace="http://servicemix.apache.org/config/1.0"
+                  srcdir="${basedir}/src/main/java" metaInfDir="${basedir}/target/generated/" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>qdox</groupId>
+            <artifactId>qdox</artifactId>
+            <version>${qdox.version}</version>
+          </dependency>
+        </dependencies>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Modified: incubator/servicemix/branches/java5/servicemix-http/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/java5/servicemix-http/pom.xml?rev=409172&r1=409171&r2=409172&view=diff
==============================================================================
--- incubator/servicemix/branches/java5/servicemix-http/pom.xml (original)
+++ incubator/servicemix/branches/java5/servicemix-http/pom.xml Wed May 24 07:17:51 2006
@@ -70,6 +70,11 @@
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
     </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <scope>provided</scope>
+    </dependency>
   </dependencies>
 
   <build>