You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by js...@apache.org on 2007/05/04 18:02:50 UTC

svn commit: r535306 - in /activemq/camel/trunk: camel-spring/pom.xml pom.xml

Author: jstrachan
Date: Fri May  4 09:02:49 2007
New Revision: 535306

URL: http://svn.apache.org/viewvc?view=rev&rev=535306
Log:
added the XSD to the deployment and also deploy to the m1 repo (so we get simpler XSD URIs)

Modified:
    activemq/camel/trunk/camel-spring/pom.xml
    activemq/camel/trunk/pom.xml

Modified: activemq/camel/trunk/camel-spring/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-spring/pom.xml?view=diff&rev=535306&r1=535305&r2=535306
==============================================================================
--- activemq/camel/trunk/camel-spring/pom.xml (original)
+++ activemq/camel/trunk/camel-spring/pom.xml Fri May  4 09:02:49 2007
@@ -104,6 +104,27 @@
           </dependency>
         </dependencies>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-artifacts</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+            <configuration>
+              <artifacts>
+                <artifact>
+                  <file>${basedir}/src/main/resources/org/apache/camel/spring/camel-1.0.xsd</file>
+                  <type>xsd</type>
+                </artifact>
+              </artifacts>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?view=diff&rev=535306&r1=535305&r2=535306
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Fri May  4 09:02:49 2007
@@ -36,6 +36,7 @@
   <properties>
     <camel-version>1.0-SNAPSHOT</camel-version>
     <compiler.fork>false</compiler.fork>
+    <m1-dist-repo-url>scpexe://minotaur.apache.org/www/people.apache.org/repo/m1-snapshot-repository</m1-dist-repo-url>
   </properties>
 
   <url>http://apache.apache.org/camel/</url>
@@ -487,6 +488,22 @@
           </configuration>
         </plugin>
 
+        <plugin>
+          <artifactId>maven-one-plugin</artifactId>
+          <version>1.0</version>
+          <executions>
+            <execution>
+              <goals>
+                <goal>install-maven-one-repository</goal>
+                <goal>deploy-maven-one-repository</goal>
+              </goals>
+              <configuration>
+                <remoteRepositoryId>apache.m1.releases</remoteRepositoryId>
+                <remoteRepositoryUrl>${m1-dist-repo-url}</remoteRepositoryUrl>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>