You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/05/19 10:40:53 UTC

svn commit: r657755 - in /servicemix/smx3/branches/servicemix-3.2: ./ build/src/main/java/org/apache/servicemix/maven/plugin/xsd/ core/servicemix-audit/ deployables/bindingcomponents/ deployables/serviceengines/

Author: gertv
Date: Mon May 19 01:40:53 2008
New Revision: 657755

URL: http://svn.apache.org/viewvc?rev=657755&view=rev
Log:
SM-992: Fix XSD schema location for use with plain spring

Modified:
    servicemix/smx3/branches/servicemix-3.2/build/src/main/java/org/apache/servicemix/maven/plugin/xsd/SpringSchemasMojo.java
    servicemix/smx3/branches/servicemix-3.2/core/servicemix-audit/pom.xml
    servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/pom.xml
    servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/pom.xml
    servicemix/smx3/branches/servicemix-3.2/pom.xml

Modified: servicemix/smx3/branches/servicemix-3.2/build/src/main/java/org/apache/servicemix/maven/plugin/xsd/SpringSchemasMojo.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/build/src/main/java/org/apache/servicemix/maven/plugin/xsd/SpringSchemasMojo.java?rev=657755&r1=657754&r2=657755&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/build/src/main/java/org/apache/servicemix/maven/plugin/xsd/SpringSchemasMojo.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/build/src/main/java/org/apache/servicemix/maven/plugin/xsd/SpringSchemasMojo.java Mon May 19 01:40:53 2008
@@ -81,6 +81,10 @@
      * {@inheritDoc}
      */
     public void execute() throws MojoExecutionException, MojoFailureException {
+        if (!getSpringSchemas().exists()) {
+            getLog().info("Skipping - spring.schemas file does not exist in " + project.getArtifactId());
+            return;
+        }
         readOriginalSpringSchemas();
         getLog().info("Adding spring.schemas entries for earlier versions");
         if (project.getProperties().containsKey(PREVIOUS_RELEASES)) {

Modified: servicemix/smx3/branches/servicemix-3.2/core/servicemix-audit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/core/servicemix-audit/pom.xml?rev=657755&r1=657754&r2=657755&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/core/servicemix-audit/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/core/servicemix-audit/pom.xml Mon May 19 01:40:53 2008
@@ -56,6 +56,17 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.servicemix</groupId>
+        <artifactId>build</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>spring.schemas</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <groupId>org.apache.xbean</groupId>
         <artifactId>maven-xbean-plugin</artifactId>
         <executions>

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/pom.xml?rev=657755&r1=657754&r2=657755&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/pom.xml Mon May 19 01:40:53 2008
@@ -43,4 +43,20 @@
     <module>servicemix-xmpp</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix</groupId>
+        <artifactId>build</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>spring.schemas</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/pom.xml?rev=657755&r1=657754&r2=657755&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/pom.xml Mon May 19 01:40:53 2008
@@ -49,4 +49,20 @@
     <module>servicemix-wsn2005</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix</groupId>
+        <artifactId>build</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>spring.schemas</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>

Modified: servicemix/smx3/branches/servicemix-3.2/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/pom.xml?rev=657755&r1=657754&r2=657755&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/pom.xml Mon May 19 01:40:53 2008
@@ -232,7 +232,7 @@
 		<snapshots-repo-id>apache.snapshots</snapshots-repo-id>
 		<snapshots-repo-name>Apache Snapshots Repository</snapshots-repo-name>
 		<snapshots-repo-url>http://people.apache.org/repo/m2-snapshot-repository</snapshots-repo-url>
-       <previous.releases>3.1.2,3.2.1</previous.releases>
+       <previous.releases>3.1.2,3.2,3.2.1</previous.releases>
     </properties>
 
     <profiles>