You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2009/08/12 23:57:20 UTC

svn commit: r803723 - /maven/pom/trunk/maven/pom.xml

Author: jdcasey
Date: Wed Aug 12 21:57:19 2009
New Revision: 803723

URL: http://svn.apache.org/viewvc?rev=803723&view=rev
Log:
Adding source-release assembly configuration.

Modified:
    maven/pom/trunk/maven/pom.xml

Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=803723&r1=803722&r2=803723&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Wed Aug 12 21:57:19 2009
@@ -536,6 +536,40 @@
 
   <profiles>
     <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <version>2.2-beta-4</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache</groupId>
+                <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                <version>1.0-SNAPSHOT</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                  <descriptorRefs>
+                    <descriptorRef>source-release</descriptorRef>
+                  </descriptorRefs>
+                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>quality-checks</id>
       <activation>
         <property>



Re: svn commit: r803723 - /maven/pom/trunk/maven/pom.xml

Posted by Brian Fox <br...@infinity.nu>.
On Wed, Aug 12, 2009 at 5:57 PM, <jd...@apache.org> wrote:
> Author: jdcasey
> Date: Wed Aug 12 21:57:19 2009
> New Revision: 803723
>
> URL: http://svn.apache.org/viewvc?rev=803723&view=rev
> Log:
> Adding source-release assembly configuration.
>
> Modified:
>    maven/pom/trunk/maven/pom.xml
>
> Modified: maven/pom/trunk/maven/pom.xml
> URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=803723&r1=803722&r2=803723&view=diff
> ==============================================================================
> --- maven/pom/trunk/maven/pom.xml (original)
> +++ maven/pom/trunk/maven/pom.xml Wed Aug 12 21:57:19 2009
> @@ -536,6 +536,40 @@
>
>   <profiles>
>     <profile>
> +      <id>apache-release</id>
> +      <build>
> +        <plugins>
> +          <plugin>
> +            <artifactId>maven-assembly-plugin</artifactId>
> +            <version>2.2-beta-4</version>

The version should be in pluginManagement instead.

> +            <dependencies>
> +              <dependency>
> +                <groupId>org.apache</groupId>
> +                <artifactId>apache-source-release-assembly-descriptor</artifactId>
> +                <version>1.0-SNAPSHOT</version>
> +              </dependency>
> +            </dependencies>
> +            <executions>
> +              <execution>
> +                <id>source-release-assembly</id>
> +                <phase>package</phase>
> +                <goals>
> +                  <goal>single</goal>
> +                </goals>
> +                <configuration>
> +                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
> +                  <descriptorRefs>
> +                    <descriptorRef>source-release</descriptorRef>
> +                  </descriptorRefs>
> +                  <tarLongFileFormat>gnu</tarLongFileFormat>
> +                </configuration>
> +              </execution>
> +            </executions>
> +          </plugin>
> +        </plugins>
> +      </build>
> +    </profile>
> +    <profile>
>       <id>quality-checks</id>
>       <activation>
>         <property>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r803723 - /maven/pom/trunk/maven/pom.xml

Posted by John Casey <jd...@commonjava.org>.
We need to release these, and then we should be ready to take out all 
the per-project source-release descriptors.

-john

Jason van Zyl wrote:
> Sweet, now we can eliminate the duplication the temporarily proliferated 
> in the Maven POMs?
> 
> On 12-Aug-09, at 2:57 PM, jdcasey@apache.org wrote:
> 
>> Author: jdcasey
>> Date: Wed Aug 12 21:57:19 2009
>> New Revision: 803723
>>
>> URL: http://svn.apache.org/viewvc?rev=803723&view=rev
>> Log:
>> Adding source-release assembly configuration.
>>
>> Modified:
>>    maven/pom/trunk/maven/pom.xml
>>
>> Modified: maven/pom/trunk/maven/pom.xml
>> URL: 
>> http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=803723&r1=803722&r2=803723&view=diff 
>>
>> ============================================================================== 
>>
>> --- maven/pom/trunk/maven/pom.xml (original)
>> +++ maven/pom/trunk/maven/pom.xml Wed Aug 12 21:57:19 2009
>> @@ -536,6 +536,40 @@
>>
>>   <profiles>
>>     <profile>
>> +      <id>apache-release</id>
>> +      <build>
>> +        <plugins>
>> +          <plugin>
>> +            <artifactId>maven-assembly-plugin</artifactId>
>> +            <version>2.2-beta-4</version>
>> +            <dependencies>
>> +              <dependency>
>> +                <groupId>org.apache</groupId>
>> +                
>> <artifactId>apache-source-release-assembly-descriptor</artifactId>
>> +                <version>1.0-SNAPSHOT</version>
>> +              </dependency>
>> +            </dependencies>
>> +            <executions>
>> +              <execution>
>> +                <id>source-release-assembly</id>
>> +                <phase>package</phase>
>> +                <goals>
>> +                  <goal>single</goal>
>> +                </goals>
>> +                <configuration>
>> +                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
>> +                  <descriptorRefs>
>> +                    <descriptorRef>source-release</descriptorRef>
>> +                  </descriptorRefs>
>> +                  <tarLongFileFormat>gnu</tarLongFileFormat>
>> +                </configuration>
>> +              </execution>
>> +            </executions>
>> +          </plugin>
>> +        </plugins>
>> +      </build>
>> +    </profile>
>> +    <profile>
>>       <id>quality-checks</id>
>>       <activation>
>>         <property>
>>
>>
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> http://twitter.com/SonatypeNexus
> http://twitter.com/SonatypeM2E
> ----------------------------------------------------------
> 
> To do two things at once is to do neither.
> 
>  -—Publilius Syrus, Roman slave, first century B.C.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: svn commit: r803723 - /maven/pom/trunk/maven/pom.xml

Posted by Jason van Zyl <jv...@sonatype.com>.
Sweet, now we can eliminate the duplication the temporarily  
proliferated in the Maven POMs?

On 12-Aug-09, at 2:57 PM, jdcasey@apache.org wrote:

> Author: jdcasey
> Date: Wed Aug 12 21:57:19 2009
> New Revision: 803723
>
> URL: http://svn.apache.org/viewvc?rev=803723&view=rev
> Log:
> Adding source-release assembly configuration.
>
> Modified:
>    maven/pom/trunk/maven/pom.xml
>
> Modified: maven/pom/trunk/maven/pom.xml
> URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=803723&r1=803722&r2=803723&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- maven/pom/trunk/maven/pom.xml (original)
> +++ maven/pom/trunk/maven/pom.xml Wed Aug 12 21:57:19 2009
> @@ -536,6 +536,40 @@
>
>   <profiles>
>     <profile>
> +      <id>apache-release</id>
> +      <build>
> +        <plugins>
> +          <plugin>
> +            <artifactId>maven-assembly-plugin</artifactId>
> +            <version>2.2-beta-4</version>
> +            <dependencies>
> +              <dependency>
> +                <groupId>org.apache</groupId>
> +                <artifactId>apache-source-release-assembly- 
> descriptor</artifactId>
> +                <version>1.0-SNAPSHOT</version>
> +              </dependency>
> +            </dependencies>
> +            <executions>
> +              <execution>
> +                <id>source-release-assembly</id>
> +                <phase>package</phase>
> +                <goals>
> +                  <goal>single</goal>
> +                </goals>
> +                <configuration>
> +                  <runOnlyAtExecutionRoot>true</ 
> runOnlyAtExecutionRoot>
> +                  <descriptorRefs>
> +                    <descriptorRef>source-release</descriptorRef>
> +                  </descriptorRefs>
> +                  <tarLongFileFormat>gnu</tarLongFileFormat>
> +                </configuration>
> +              </execution>
> +            </executions>
> +          </plugin>
> +        </plugins>
> +      </build>
> +    </profile>
> +    <profile>
>       <id>quality-checks</id>
>       <activation>
>         <property>
>
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------

To do two things at once is to do neither.

  -—Publilius Syrus, Roman slave, first century B.C.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org