On 4 May 2011 16:28, Gary Gregory <garydgreg...@gmail.com> wrote: > On Wed, May 4, 2011 at 6:46 AM, sebb <seb...@gmail.com> wrote: > >> On 4 May 2011 06:01, Gary Gregory <garydgreg...@gmail.com> wrote: >> > On Tue, May 3, 2011 at 11:36 PM, sebb <seb...@gmail.com> wrote: >> > >> >> On 4 May 2011 03:42, Gary Gregory <garydgreg...@gmail.com> wrote: >> >> > Now that I've can see my monitor clearly (no more fever!), I >> understand >> >> why >> >> > this did not work. >> >> > >> >> > Running a standard test build for [lang] as documented on the Wiki >> using: >> >> > >> >> > mvn clean deploy -Prelease -Ptest-deploy >> >> > >> >> > does not produce a test jar. It does so for [codec] because this is in >> >> the >> >> > POM: >> >> > >> >> > <plugin> >> >> > <groupId>org.apache.maven.plugins</groupId> >> >> > <artifactId>maven-jar-plugin</artifactId> >> >> > <executions> >> >> > <execution> >> >> > <goals> >> >> > <goal>test-jar</goal> >> >> > </goals> >> >> > </execution> >> >> > </executions> >> >> > </plugin> >> >> > >> >> > But in common-parent, the crucial executions element is only in the >> >> > "apache-release" profile. >> >> > >> >> > This was what we agreed upon a couple of weeks ago but it I did not >> >> > understand the Maven magic enough to see what that meant. >> >> > >> >> > My goal is to generate the test jar for all commons releases, which >> will >> >> not >> >> > happen since no one uses this "apache-release" profile. >> >> > >> >> > My questions then are: >> >> > >> >> > (1) Are there objections to include the Maven magic in the right place >> to >> >> > generate a test jar? >> >> > (2) What is the point of the apache-release profile? >> >> >> >> http://maven.apache.org/asf-pom/#The_apache-release_Profile >> >> >> >> This was introduced in version 6 (according to the POM comments); >> >> commons parent 13 was the first to include Apache POM 6+ (in fact 7). >> >> >> >> Commons Parent has included a "release" profile since version 1. >> >> >> >> AIUI this is has much the same purpose as the "apache-release" profile >> >> so at some point we could switch to using that. >> >> >> > >> > When I run: >> > >> > mvn clean deploy -Papache-release -Ptest-deploy >> > >> > the build hangs in maven-gpg-plugin >> > >> > ugh... >> > >> > My set up: >> > >> > Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) >> > Maven home: C:\Java\apache-maven-3.0.3\bin\.. >> > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. >> > Java home: C:\Program Files\Java\jdk1.6.0_24\jre >> > Default locale: en_US, platform encoding: Cp1252 >> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >> >> What gpg version do you use? >> > >>gpg --version > gpg (GnuPG) 1.4.11 > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Home: C:/Users/ggregory/AppData/Roaming/gnupg > Supported algorithms: > Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA > Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, > CAMELLIA192, CAMELLIA256 > Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 > Compression: Uncompressed, ZIP, ZLIB, BZIP2 > > >> >> Does "nmvn package gpg:sig" work? >> > > Nope:
I thought I wrote: >> Does "mvn package gpg:sign" work? > [ERROR] Could not find goal 'sig' in plugin > org.apache.maven.plugins:maven-gpg-plugin:1.2 among available goals > sign-and-deploy-file, sign, help -> [Help 1] > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org