You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2010/09/23 16:14:55 UTC

svn commit: r1000479 - in /camel/trunk/components: camel-blueprint/pom.xml camel-spring/pom.xml

Author: davsclaus
Date: Thu Sep 23 14:14:54 2010
New Revision: 1000479

URL: http://svn.apache.org/viewvc?rev=1000479&view=rev
Log:
CAMEL-3152: Include camel-core-xml and camel-core-osgi sources in sources jar for camel-spring and camel-blueprint jars.

Modified:
    camel/trunk/components/camel-blueprint/pom.xml
    camel/trunk/components/camel-spring/pom.xml

Modified: camel/trunk/components/camel-blueprint/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-blueprint/pom.xml?rev=1000479&r1=1000478&r2=1000479&view=diff
==============================================================================
--- camel/trunk/components/camel-blueprint/pom.xml (original)
+++ camel/trunk/components/camel-blueprint/pom.xml Thu Sep 23 14:14:54 2010
@@ -179,6 +179,28 @@
                 </executions>
             </plugin>
 
+            <!-- add the sources from camel-core-osgi and camel-core-xml as source code in the camel-blueprint-sources.jar -->
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>build-helper-maven-plugin</artifactId>
+              <version>1.5</version>
+              <executions>
+                <execution>
+                  <id>add-source</id>
+                  <phase>generate-sources</phase>
+                  <goals>
+                    <goal>add-source</goal>
+                  </goals>
+                  <configuration>
+                    <sources>
+                      <source>${basedir}/../camel-core-osgi/src/main/java</source>
+                      <source>${basedir}/../camel-core-xml/src/main/java</source>
+                    </sources>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
+
             <!-- generate the attached tests jar -->
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>

Modified: camel/trunk/components/camel-spring/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/pom.xml?rev=1000479&r1=1000478&r2=1000479&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/pom.xml (original)
+++ camel/trunk/components/camel-spring/pom.xml Thu Sep 23 14:14:54 2010
@@ -284,7 +284,29 @@
         </executions>
       </plugin>
 
-      <!-- generate the attached tests jar -->
+      <!-- add the sources from camel-core-osgi and camel-core-xml as source code in the camel-spring-sources.jar -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.5</version>
+        <executions>
+          <execution>
+            <id>add-source</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>${basedir}/../camel-core-osgi/src/main/java</source>
+                <source>${basedir}/../camel-core-xml/src/main/java</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+        
+        <!-- generate the attached tests jar -->
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <executions>