cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r560311 - /incubator/cxf/trunk/distribution/bundle/pom.xml
Date Fri, 27 Jul 2007 16:50:49 GMT
Author: dkulp
Date: Fri Jul 27 09:50:48 2007
New Revision: 560311

URL: http://svn.apache.org/viewvc?view=rev&rev=560311
Log:
Commit fix for "mvn -Peverything" barfing because source jars are not available

Modified:
    incubator/cxf/trunk/distribution/bundle/pom.xml

Modified: incubator/cxf/trunk/distribution/bundle/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/bundle/pom.xml?view=diff&rev=560311&r1=560310&r2=560311
==============================================================================
--- incubator/cxf/trunk/distribution/bundle/pom.xml (original)
+++ incubator/cxf/trunk/distribution/bundle/pom.xml Fri Jul 27 09:50:48 2007
@@ -305,45 +305,56 @@
                     </dependency>
                 </dependencies>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>unpack-sources</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>unpack-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <includeGroupIds>org.apache.cxf</includeGroupIds>
-                            <classifier>sources</classifier>
-                            <outputDirectory>${project.build.directory}/sources</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>package</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <header>Apache CXF API</header>
-                    <footer>Apache CXF API</footer>
-                    <sourcepath>${project.build.directory}/sources</sourcepath>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
+
+    <profiles>
+         <profile>
+             <id>deploy</id>
+             <build>
+                 <plugins>
+                     <plugin>
+                         <groupId>org.apache.maven.plugins</groupId>
+                         <artifactId>maven-dependency-plugin</artifactId>
+                         <executions>
+                             <execution>
+                                 <id>unpack-sources</id>
+                                 <phase>generate-sources</phase>
+                                 <goals>
+                                     <goal>unpack-dependencies</goal>
+                                 </goals>
+                                 <configuration>
+                                     <includeGroupIds>org.apache.cxf</includeGroupIds>
+                                     <classifier>sources</classifier>
+                                     <outputDirectory>${project.build.directory}/sources</outputDirectory>
+                                 </configuration>
+                             </execution>
+                         </executions>
+                     </plugin>
+
+                     <plugin>
+                         <groupId>org.apache.maven.plugins</groupId>
+                         <artifactId>maven-javadoc-plugin</artifactId>
+                         <executions>
+                             <execution>
+                                 <id>package</id>
+                                 <phase>package</phase>
+                                 <goals>
+                                     <goal>jar</goal>
+                                 </goals>
+                             </execution>
+                         </executions>
+                         <configuration>
+                             <header>Apache CXF API</header>
+                             <footer>Apache CXF API</footer>
+                             <sourcepath>${project.build.directory}/sources</sourcepath>
+                         </configuration>
+                     </plugin>
+                 </plugins>
+             </build>
+         </profile>
+    </profiles>
+
 
     <scm>
         <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/cxf/trunk/distribution</connection>



Mime
View raw message