Must I add this : <profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/assembly/source-release.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Or this :
<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>
??
Why this assembly is defined in maven parent and not in apache parent if it
is required for all apache projects ?
Cheers,
Arnaud
# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net
On Sun, Aug 16, 2009 at 2:20 PM, Arnaud HERITIER <[email protected]>wrote:
> Can I say .... Shit :-( I forgot it.Where is the documentation ?
> I have to take the example on another recent release ?
>
> Cheers,
>
> Arnaud
>
> # Arnaud Héritier
> # Software Factory Manager
> # eXo Platform
> # http://www.exoplatform.com
> # http://blog.aheritier.net
>
>
> On Sun, Aug 16, 2009 at 12:32 PM, Benjamin Bentmann <
> [email protected]> wrote:
>
>> Arnaud HERITIER wrote:
>>
>> Staging repo:
>>> https://repository.apache.org/content/repositories/maven-staging-025/
>>>
>>
>> This is missing the ASF-compliant source distribution.
>>
>>
>> Benjamin
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>