[ANN] Apache Maven Assembly Plugin 2.5.1 Released

2014-11-08 Thread Kristian Rosenvold
The Apache Maven team is pleased to announce the release of the
Apache Maven Assembly Plugin, version 2.5.1.

The Assembly Plugin for Maven is primarily intended to allow users to aggregate
the project output along with its dependencies, modules, site documentation,
and other files into a single distributable archive.


http://maven.apache.org/plugins/maven-assembly-plugin/

(Note; there are some problems with clustering/replication on the
apache web servers
and pressing refresh may sometimes give you an old version of the site)

You should specify the version in your project's plugin configuration:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-assembly-plugin/artifactId
  version2.5.1/version
/plugin


Release Notes - Maven Assembly Plugin - Version 2.5.1

** Bug
* [MASSEMBLY-357] - transitive dependencies erroneously excluded
from dependencySet in some cases
* [MASSEMBLY-395] - Module dependencies not included
* [MASSEMBLY-474] - Assembly is duplicating dependecies in the output
* [MASSEMBLY-533] - Outputidrectory appended by dependencyset
include name on filtered=true
* [MASSEMBLY-554] - DependencySet unpackOptions 'filtered' causes
unpack not to work
* [MASSEMBLY-559] - useTransitiveDependencies leaks from one
dependency set to another
* [MASSEMBLY-571] - moduleSet dependencies processed incorrectly
* [MASSEMBLY-577] - dependencySet inside moduleSet/binaries picks
up dependencies of other dependencySets
* [MASSEMBLY-579] - Dependency-filename appended as subdirectory
of outputDirectory of dependencySet when unpackOptions/filtered = true
* [MASSEMBLY-582] - Plugin omits transitive runtime dependencies
where artifact is present with test-scope in current project
* [MASSEMBLY-619] - Configurations of different dependencySets
influence each other
* [MASSEMBLY-640] - Artifact data added to path when lineEnding
tag set in dependencySet
* [MASSEMBLY-672] - unpack adds the name of the artifact in case
of filtered unpack
* [MASSEMBLY-691] - dependencySet with filtered option has
differents behaviors
* [MASSEMBLY-701] - class AddDependencySetsTask doesn't re-unpack
contents of unpacked SNAPSHOT artifacts
* [MASSEMBLY-722] - Assembly with filters fails on Version 2.5
with NoSuchElementException and then IOException (This archives
contains unclosed entries) on clean up
* [MASSEMBLY-727] - Implied dependencysets have incorrect outputfilemapping


Enjoy,

-The Apache Maven team

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



[ANN] Apache Maven Surefire Plugin 2.18 Released

2014-11-08 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache
Maven Surefire Plugin, version 2.18

The release contains a number of bug fixes, and introduces an option to
automatically rerun failing tests, including proper reporting on the
console and in the XML reports for the individual runs.
Again we received some much appreciated contributions from the community in
form of bug reports, bug fixes and patches for new features. Thank you and
keep 'em coming!

You should specify the version in your project's plugin configuration:

plugin
  groupIdorg.apache.maven.
plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  version2.18/version
/plugin

or for failsafe:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-failsafe-plugin/artifactId
  version2.18/version
/plugin

Release Notes - Maven Surefire - Version 2.18

** Bug
* [SUREFIRE-649] - Might be impossible to have empty strings in
systemPropertyVariables element
* [SUREFIRE-941] - TESTS header printed twice when forkMode is always
* [SUREFIRE-963] - Unable to set empty environment variables
* [SUREFIRE-1023] - Report generation fails with
StringIndexOutOfBoundsException
* [SUREFIRE-1028] - Unable to run single test (junit)
* [SUREFIRE-1069] - Typo in alwaysGenerateSurefireReport doc:
Defaulyts
* [SUREFIRE-1072] - Duplicate example of commandline in run single test
documentation
* [SUREFIRE-1075] - Addresses to documented mailing lists in Maven site
dead
* [SUREFIRE-1077] - NPE problem will happen if you set testng status to
fail at afterInvocation method
* [SUREFIRE-1078] - Failure running forked mode with TestNG test suites
defined via XML files
* [SUREFIRE-1080] - Use parallel and fork together run some tests
multiple times
* [SUREFIRE-1081] - Doc claims parallel is TestNG only, but rest of doc
implies junit works, too.
* [SUREFIRE-1088] - When test fail during initialization the test
execution time can result in a large negative number.
* [SUREFIRE-1090] - NPE in SmartStacktraceParser if
Thread.contextCassLoader is null
* [SUREFIRE-1091] - IOException when test with much output prints in
@After / @AfterClass - possible haning processes
* [SUREFIRE-1092] - The shutdown hook of parallel computer randomly
prints started tests after timeout overflow
* [SUREFIRE-1095] - NPE in RunListener
* [SUREFIRE-1096] - ClassCastException: Fork test for TestNG with
xmlsuite
* [SUREFIRE-1098] - runOrder=balanced is not working
* [SUREFIRE-1099] - Invalid link ids in surefire-report
* [SUREFIRE-1102] - The module surefire-setup-integration-tests fails
with Maven 3.2.3
* [SUREFIRE-1104] - Internal Maven Surefire IT tests fail with Maven
3.2.x

** Improvement
* [SUREFIRE-1053] - Suppress warning message if file.encoding is set
using argLine
* [SUREFIRE-1097] - improve documentation includes/excludes
* [SUREFIRE-1101] - Surefire does not shutdown thread-pools
programatically after test run has finished.
* [SUREFIRE-1105] - Surefire build should check Java 1.5 API signatures
with JDK version  5
* [SUREFIRE-1106] - Update to minimum maven 2.2.1
* [SUREFIRE-1108] - Surefire should print parallel tests in progress
been stopped after elapsed timeout

** New Feature
* [SUREFIRE-654] - TestNG: Recognize successful tests when using
invocationCount and successPercentage parameters on the @Test annotation
* [SUREFIRE-1087] - New option rerunFailingTestsCount
* [SUREFIRE-1093] - Exceptional parallel execution on @NotThreadSafe
testcase or suite


Enjoy,

-The Apache Maven team


fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
I’m trying to build .debs using jdeb and maven for various projects.

For example, there is no .deb for spark.  So I’m just taking the tar.gz and
making a deb that installs to /usr/share/apache-spark.

The problem is I don’t want to put the full binary into git as it’s about
200MB.

I’d rather have the build fetch the tar.gz directly from Apache during the
build, untar it, then build the deb from the output.

Is there and way to do this or should I just write a bash script which uses
wget to fetch the URL?

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Bernd
You could use the dependency-plugin with copy dependencies to get the
binary artifact from a maven repo (if there is one).
Am 08.11.2014 19:43 schrieb Kevin Burton bur...@spinn3r.com:

 I’m trying to build .debs using jdeb and maven for various projects.

 For example, there is no .deb for spark.  So I’m just taking the tar.gz and
 making a deb that installs to /usr/share/apache-spark.

 The problem is I don’t want to put the full binary into git as it’s about
 200MB.

 I’d rather have the build fetch the tar.gz directly from Apache during the
 build, untar it, then build the deb from the output.

 Is there and way to do this or should I just write a bash script which uses
 wget to fetch the URL?

 --

 Founder/CEO Spinn3r.com
 Location: *San Francisco, CA*
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 https://plus.google.com/102718274791889610666/posts
 http://spinn3r.com



Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
oh .. gotcha.  So I would/could take the tar.gz and put it in a maven
repo.  I don’t think there is one for the tar.gzs though.



On Sat, Nov 8, 2014 at 10:45 AM, Bernd e...@zusammenkunft.net wrote:

 You could use the dependency-plugin with copy dependencies to get the
 binary artifact from a maven repo (if there is one).
 Am 08.11.2014 19:43 schrieb Kevin Burton bur...@spinn3r.com:

  I’m trying to build .debs using jdeb and maven for various projects.
 
  For example, there is no .deb for spark.  So I’m just taking the tar.gz
 and
  making a deb that installs to /usr/share/apache-spark.
 
  The problem is I don’t want to put the full binary into git as it’s about
  200MB.
 
  I’d rather have the build fetch the tar.gz directly from Apache during
 the
  build, untar it, then build the deb from the output.
 
  Is there and way to do this or should I just write a bash script which
 uses
  wget to fetch the URL?
 
  --
 
  Founder/CEO Spinn3r.com
  Location: *San Francisco, CA*
  blog: http://burtonator.wordpress.com
  … or check out my Google+ profile
  https://plus.google.com/102718274791889610666/posts
  http://spinn3r.com
 




-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Karl Heinz Marbaise

Hi Kevin,

to download a an file from somewhere you could use the 
wagon-maven-plugin like this:


plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdwagon-maven-plugin/artifactId
  version1.0-beta-5/version
  executions
execution
  iddownload-test-data/id
  phaseprepare-package/phase
  goals
goaldownload-single/goal
  /goals
  configuration
urlhttp://archive.apache.org/dist/abdera/1.1.2//url
fromFileapache-abdera-1.1.2-src.tar.gz/fromFile
toDir${project.build.directory}/environment/qa/toDir
  /configuration
/execution
  /executions
/plugin



For unpacking of the tar.gz you
On 11/8/14 7:40 PM, Kevin Burton wrote:

I’m trying to build .debs using jdeb and maven for various projects.

For example, there is no .deb for spark.  So I’m just taking the tar.gz and
making a deb that installs to /usr/share/apache-spark.

The problem is I don’t want to put the full binary into git as it’s about
200MB.

I’d rather have the build fetch the tar.gz directly from Apache during the
build, untar it, then build the deb from the output.

Is there and way to do this or should I just write a bash script which uses
wget to fetch the URL?



Kind regards
Karl Heinz Marbaise

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Kevin Burton
Nice.. it works actually.  the only problem is that it downloads the file
every time and it’s 180MB… there’s no way to skip it if the file already
exists.  hm..

On Sat, Nov 8, 2014 at 11:00 AM, Karl Heinz Marbaise khmarba...@gmx.de
wrote:

 Hi Kevin,

 to download a an file from somewhere you could use the wagon-maven-plugin
 like this:

 plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdwagon-maven-plugin/artifactId
   version1.0-beta-5/version
   executions
 execution
   iddownload-test-data/id
   phaseprepare-package/phase
   goals
 goaldownload-single/goal
   /goals
   configuration
 urlhttp://archive.apache.org/dist/abdera/1.1.2//url
 fromFileapache-abdera-1.1.2-src.tar.gz/fromFile
 toDir${project.build.directory}/environment/qa/toDir
   /configuration
 /execution
   /executions
 /plugin



 For unpacking of the tar.gz you
 On 11/8/14 7:40 PM, Kevin Burton wrote:

 I’m trying to build .debs using jdeb and maven for various projects.

 For example, there is no .deb for spark.  So I’m just taking the tar.gz
 and
 making a deb that installs to /usr/share/apache-spark.

 The problem is I don’t want to put the full binary into git as it’s about
 200MB.

 I’d rather have the build fetch the tar.gz directly from Apache during the
 build, untar it, then build the deb from the output.

 Is there and way to do this or should I just write a bash script which
 uses
 wget to fetch the URL?


 Kind regards
 Karl Heinz Marbaise

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


Re: fetching a tar.gz URL / dependency via HTTP during a build?

2014-11-08 Thread Karl Heinz Marbaise

Hi Kevin,


On 11/8/14 8:19 PM, Kevin Burton wrote:

Nice.. it works actually.  the only problem is that it downloads the
file every time and it’s 180MB… there’s no way to skip it if the file
already exists.  hm..



so this sounds like an idea for improvement

Kind regards
Karl Heinz Marbaise





On Sat, Nov 8, 2014 at 11:00 AM, Karl Heinz Marbaise khmarba...@gmx.de
mailto:khmarba...@gmx.de wrote:

Hi Kevin,

to download a an file from somewhere you could use the
wagon-maven-plugin like this:

plugin
   groupIdorg.codehaus.mojo/__groupId
   artifactIdwagon-maven-__plugin/artifactId
   version1.0-beta-5/version
   executions
 execution
   iddownload-test-data/id
   phaseprepare-package/phase
   goals
 goaldownload-single/goal
   /goals
   configuration
 urlhttp://archive.apache.__org/dist/abdera/1.1.2/
http://archive.apache.org/dist/abdera/1.1.2//url
 fromFileapache-abdera-1.1.2-__src.tar.gz/fromFile
 toDir${project.build.__directory}/environment/qa/__toDir
   /configuration
 /execution
   /executions
/plugin



For unpacking of the tar.gz you
On 11/8/14 7:40 PM, Kevin Burton wrote:

I’m trying to build .debs using jdeb and maven for various projects.

For example, there is no .deb for spark.  So I’m just taking the
tar.gz and
making a deb that installs to /usr/share/apache-spark.

The problem is I don’t want to put the full binary into git as
it’s about
200MB.

I’d rather have the build fetch the tar.gz directly from Apache
during the
build, untar it, then build the deb from the output.

Is there and way to do this or should I just write a bash script
which uses
wget to fetch the URL?




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org