The profiles are not being activated... this is why in the asf pom we use the -P... in the <arguments> tag
On 13 November 2013 16:01, Benson Margulies <[email protected]> wrote: > On Wed, Nov 13, 2013 at 10:54 AM, Stephen Connolly > <[email protected]> wrote: > > On 27 October 2012 22:00, <[email protected]> wrote: > > > >> Author: bimargulies > >> Date: Sat Oct 27 21:00:24 2012 > >> New Revision: 1402867 > >> > >> URL: http://svn.apache.org/viewvc?rev=1402867&view=rev > >> Log: > >> MPOM-38: Enable RAT to help us get maven releases to be license-header > >> compliant > >> o Also configure the release plugin to turn on rat (quietly) > >> > >> 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=1402867&r1=1402866&r2=1402867&view=diff > >> > >> > ============================================================================== > >> --- maven/pom/trunk/maven/pom.xml (original) > >> +++ maven/pom/trunk/maven/pom.xml Sat Oct 27 21:00:24 2012 > >> @@ -806,12 +806,43 @@ under the License. > >> <artifactId>findbugs-maven-plugin</artifactId> > >> <version>2.5.2</version> > >> </plugin> > >> + <plugin> > >> + <groupId>org.apache.maven.plugins</groupId> > >> + <artifactId>maven-release-plugin</artifactId> > >> + <version>2.3.2</version> > >> + <configuration> > >> + <useReleaseProfile>true</useReleaseProfile> > >> + <releaseProfiles>apache-release,rat</releaseProfiles> > >> + <goals>deploy</goals> > >> + <arguments>${arguments}</arguments> > >> > > > > FYI This just blew up in my face with Doxia 1.5. I had to resort to > > re-running release:perform with -DconnectupUrl=... > > -Darguments=-P+apache-release,rat to get the release to stage correctly > > with GPG signature etc... > > What's special about doxia, or, alternatively, what's wrong here? > > > > > > >> + </configuration> > >> + </plugin> > >> </plugins> > >> </pluginManagement> > >> </build> > >> > >> <profiles> > >> <profile> > >> + <id>rat</id> > >> + <build> > >> + <plugins> > >> + <plugin> > >> + <groupId>org.apache.rat</groupId> > >> + <artifactId>apache-rat-plugin</artifactId> > >> + <executions> > >> + <execution> > >> + <phase>verify</phase> > >> + <goals> > >> + <!-- rat, not check, because we've got lots of > >> noncomplaint stuff --> > >> + <goal>rat</goal> > >> + </goals> > >> + </execution> > >> + </executions> > >> + </plugin> > >> + </plugins> > >> + </build> > >> + </profile> > >> + <profile> > >> <id>quality-checks</id> > >> <activation> > >> <property> > >> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
