Am Montag, den 17.12.2007, 14:51 +0000 schrieb [EMAIL PROTECTED]:
> 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)
> 

I'm not understanding the purpose of createSourcesJar completely.  Might
this be redundant with the "-DdownloadSources=true" option for mvn
eclipse:eclipse?[1]  I would always need to do this anyway for non-CXF
dependencies, so isn't the "createSourcesJar" an unnecessary moving
part?

Thanks,
Glen

[1]
http://www.jroller.com/gmazza/entry/using_maven_to_create_a#MVNSOAPClientStep3

> 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