Author: dkulp
Date: Mon Dec 17 06:51:43 2007
New Revision: 604886

URL: http://svn.apache.org/viewvc?rev=604886&view=rev
Log:
Only build shaded source jar with deploy profile (which turns on the source jar 
building for everything else)

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?rev=604886&r1=604885&r2=604886&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/bundle/pom.xml (original)
+++ incubator/cxf/trunk/distribution/bundle/pom.xml Mon Dec 17 06:51:43 2007
@@ -36,6 +36,7 @@
     <properties>
         <maven.test.skip>true</maven.test.skip>
         <cxf.version>${pom.version}</cxf.version>
+        <createSourcesJar>false</createSourcesJar>
     </properties>
 
     <dependencies>
@@ -280,7 +281,7 @@
                         <configuration>
                             
<shadedGroupFilter>org.apache.cxf</shadedGroupFilter>
                             
<shadedArtifactAttached>false</shadedArtifactAttached>
-                            <!--createSourcesJar>true</createSourcesJar-->
+                            
<createSourcesJar>${createSourcesJar}</createSourcesJar>
                             
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
                             
<createDependencyReducedPom>true</createDependencyReducedPom>
 
@@ -327,6 +328,9 @@
     <profiles>
          <profile>
              <id>deploy</id>
+             <properties>
+                 <createSourcesJar>true</createSourcesJar>                     
+             </properties>
              <build>
                  <plugins>
                      <plugin>


Reply via email to