maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: svn commit: r1402867 - /maven/pom/trunk/maven/pom.xml
Date Wed, 13 Nov 2013 16:33:59 GMT
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 <bimargulies@gmail.com> wrote:

> On Wed, Nov 13, 2013 at 10:54 AM, Stephen Connolly
> <stephen.alan.connolly@gmail.com> wrote:
> > On 27 October 2012 22:00, <bimargulies@apache.org> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message