On Jun 3, 2009, at 3:55 PM, Arnaud HERITIER wrote:
To be conform with ASF requirements, I understand that we have to
wait the
new assembly plugin to be able to produce the new sources distro.
There are
already 3 or 4 attempts to vote the release and it's not yet ended.
I think also that others ASF projects using Maven won't wait for
this fix if
they want to release something.
The purpose of assembly 2.2-beta-4 is to make it difficult to avoid
complying with apache policy. Right now it's not all that hard but
you have to do something apart from the release plugin. I haven't
tried this with say beta 2, but think it will work included in the
project root pom and run with mvn -Psource-distro -N deploy on a fresh
svn export, say after running release:perform.
<profile>
<id>source-distro</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/assemble/
source-release.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
src/assemble/source-release.xml contains:
<assembly>
<id>source-release</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<excludes>
<exclude>**/${project.build.directory}/**</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
from
https://svn.apache.org/repos/asf/maven/resources/trunk/apache-source-release-assembly-descriptor/src/main/resources/assemblies/source-release.xml
david jencks
I have no problem, myself, to wait the release of the plugin some
more days
(I maintain it but I don't use it for myself ;-) ). But I don't
think it's a
good thing for our users. If Barry can do it today, it's possible
that he
can't in few days/weeks.
Cheers,
Arnaud
# Arnaud Héritier
# http://blog.aheritier.net
On Thu, Jun 4, 2009 at 12:40 AM, Barrie Treloar <baerr...@gmail.com>
wrote:
On Thu, Jun 4, 2009 at 7:18 AM, Benjamin Bentmann
<benjamin.bentm...@udo.edu> wrote:
Barrie Treloar wrote:
Staging repo:
https://repository.apache.org/content/repositories/maven-staging-005/
-1
As far as I understand the recent discussions about proper
releases [0]
and
the current docs [1], we are required to provide "a source
package, which
must be sufficient for a user to build and test the release". This
requirement is not met by the "*-sources.jar" (no POM, no tests).
One needs to grap an assembly descriptor to create a proper source
bundle
(John and Brian are working on improvements to our tooling to make
this
easy).
Others may please correct me if I misunderstood the Apache release
policy.
Fair enough.
David mentions the assembly plugin makes this trivial.
Can someone link to step by step instructions?
As Arnaud says we have been bad previously and given the limited
resource on m-e-p to push releases it will be easier to let this one
slide.
If I can get the instructions I can ensure that future releases will
be fixed. But I don't have the capacity to create another release for
a while.
The release documentation
http://maven.apache.org/developers/release/releasing.html doesn't
mention anything about the ASF requirement.
I have some outstanding minor changes to that document so I will make
sure that something is added as well.
Barrie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org