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. Try using that goal and see. > Thank you, > Gary > > On Fri, Apr 29, 2011 at 4:56 PM, Henri Yandell <flame...@gmail.com> wrote: > >> Not a clue. One didn't get created. >> >> Hen >> >> On Fri, Apr 29, 2011 at 10:15 AM, Gary Gregory <garydgreg...@gmail.com> >> wrote: >> > Hi Hen, >> > >> > I was expecting to see a test jar in the deliverables, which is one of >> the >> > things commons-parent 21 brings to the table. >> > >> > What am I missing? >> > >> > Gary >> > >> > On Fri, Apr 29, 2011 at 2:47 AM, Henri Yandell <flame...@gmail.com> >> wrote: >> > >> >> Lang is ready to consider 3.0 release again. >> >> >> >> RC3 is available here: >> >> >> >> http://people.apache.org/~bayard/commons-lang3-3.0-RC3/ >> >> >> >> Maven artifacts: >> >> >> >> http://people.apache.org/~bayard/commons-lang3-3.0-RC3/maven/ >> >> >> >> Website: >> >> >> >> http://people.apache.org/~bayard/commons-lang3-3.0-RC3/site/ >> >> >> >> Note that there is a 2.6->3.0 Clirr report in the site that may prove >> >> useful: >> >> >> >> >> >> >> http://people.apache.org/~bayard/commons-lang3-3.0-RC3/site/lang2-lang3-clirr--report.html >> >> >> >> This vote will close no sooner than in 72 hours time, 0700 GMT 2-May >> 2011. >> >> >> >> ================ >> >> [ ] +1 >> >> [ ] -1, with reason >> >> ================ >> >> >> >> Hen >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> >> >> >> > >> > >> > -- >> > Thank you, >> > Gary >> > >> > http://garygregory.wordpress.com/ >> > http://garygregory.com/ >> > http://people.apache.org/~ggregory/ >> > http://twitter.com/GaryGregory >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > > -- > Thank you, > Gary > > http://garygregory.wordpress.com/ > http://garygregory.com/ > http://people.apache.org/~ggregory/ > http://twitter.com/GaryGregory > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org