commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [NET] 3.0 release packaging
Date Tue, 12 Apr 2011 00:32:16 GMT
On Mon, Apr 11, 2011 at 8:00 PM, sebb <sebbaz@gmail.com> wrote:

> On 9 April 2011 04:00, Gary Gregory <garydgregory@gmail.com> wrote:
> > On Apr 8, 2011, at 21:51, sebb <sebbaz@gmail.com> wrote:
> >
> >> On 9 April 2011 01:21, Gary Gregory <garydgregory@gmail.com> wrote:
> >>> Can we add a test jar to the list please? The apache release profile
> >>> should take care of it but I want to mention it here explicitly.
>
> I assume you want the test binary and test sources released as Maven
> artifacts?
>
> What about the dist/ archives?
>
> Should the binary test jar be added to the bin archive? Or is a Maven
> release sufficient?
>
> I don't care either way.
>
> [The source archive already contains the test sources]
>

My goal is to have a jar file for each of my (Commons) dependencies that
contains its compiled tests. I can add it to my CP and run its tests in my
build that contains many other dependencies. I do not care if it comes
from/with Ant, Maven, etc. The only tricky part is that I need to mimic the
build's test invocation so I have to know each components test class name
pattern if there is one.

Gary

>
> >>
> >> Do you mean the "apache-release" profile in Commons Parent 21-SNAPSHOT?
> >
> > Yep
> >
> >>
> >> That has yet to be voted on or released.
> >
> > Oh, right.
> >
> >>
> >> Also, I just tried it, and the test source and binary jars don't have
> >> NOTICE or LICENSE files
> >
> > Ug, another detail to take care of. I'm sans pc until Monday. I'll
> > take a look next week unless someone else can take a look.
>
> The fix is simple: one just has to add <testResources> with the same
> content as <resources>.
>
> > Gary
> >
> >>
> >>> Thank you,
> >>> Gary
> >>>
> >>> On Apr 8, 2011, at 18:27, sebb <sebbaz@gmail.com> wrote:
> >>>
> >>>> I'd like to start a vote for releasing NET 3.0.
> >>>> [Note: it's binary-compatible, but not source-compatible with 2.x, and
> >>>> it has a lot of new functionality which is why it uses 3.0 rather than
> >>>> 2.3.]
> >>>>
> >>>> One issue that does not seem to have been resolved is the contents of
> >>>> the release artifacts.
> >>>>
> >>>> I'm currently proposing to generate:
> >>>>
> >>>> Maven
> >>>> =====
> >>>> commons-net-3.0.jar - binary jar, excluding examples
> >>>> commons-net-3.0-sources.jar - sources for the above
> >>>> commons-net-3.0-javadoc.jar - javadoc for the above
> >>>>
> >>>> commons-net-ftp-3.0.jar - subset of binary jar for FTP use only (was
> >>>> in previous releases)
> >>>>
> >>>> Non-Maven
> >>>> ========
> >>>> commons-net-3.0-bin.zip/tgz - main binary - which contains:
> >>>> - commons-net-3.0.jar
> >>>> - commons-net-3.0-sources.jar (for IDEs)
> >>>> - commons-net-examples-3.0.jar (for testing)
> >>>> - javadoc (not in jar)
> >>>> - sources of examples (not in jar) (for developers)
> >>>>
> >>>> As mentioned above, the examples are useful for client testing, so I
> >>>> would like to include compiled versions as well as the source.
> >>>>
> >>>> commons-net-3.0-src.zip/tgz - sources, which contains:
> >>>> - all of SVN sources apart from DOAP
> >>>>
> >>>> I hope that this is adequate for most use-cases; if not please
> explain.
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >>>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >>> For additional commands, e-mail: dev-help@commons.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

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