Re: AW: maven-archetype-plugin default version

2018-03-27 Thread Anders Hammar
The latest released version should be used. I checked the metadata [1] and it states v3.0.1. What version of Maven are you using and are you using a repository manager (which could provide different metadata)? [1] https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin

Re: AW: maven-archetype-plugin default version

2018-03-27 Thread Stefan Helfrich
> If there is no plugin Management or Defaults it uses the latest Version. There is no POM (that could contain that information): my intention is to use the maven-archetype-plugin to create a new Maven project from an archetype. According to a search in Maven Central for the GA(V), there are at lea

AW: maven-archetype-plugin default version

2018-03-27 Thread Bernd Eckenfels
If there is no plugin Management or Defaults it uses the latest Version. -- http://bernd.eckenfels.net Von: Stefan Helfrich Gesendet: Mittwoch, 28. März 2018 00:29 An: users@maven.apache.org Betreff: Re: maven-archetype-plugin default version Thanks for pointing this out, Anders! My question wa

download dependencies and ouput build classpath

2018-03-27 Thread Jon Harper
Hi list, Is there a way to tell maven to download all dependencies and output a classpath for a given artifact (or a list of artifacts) without having to create a project and its pom ? The use case is to prototype or check classes with jshell. I would ideally want something like https://stackover

Reading dependencyManagement element with resolver

2018-03-27 Thread Elliotte Rusty Harold
Using the Maven resolver, is there an API hiding somewhere to read the dependencyManagement element from a pom and return the list of dependencies being managed? That is, something short of just parsing the XML with XOM or equivalent. I figure something inside Maven Resolver must be doing that, bu

Re: maven-archetype-plugin default version

2018-03-27 Thread Stefan Helfrich
Thanks for pointing this out, Anders! My question was along the lines of how Maven determines which version of a plugin is used in this case: $ mvn org.apache.maven.plugins:maven-archetype-plugin:help and/or $ mvn archetype:help Best, Stefan On 2018/03/27 05:50:16, Anders Hammar wrote: > mvn

[ANN] Release Maven Help Plugin 3.0.1 released

2018-03-27 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Help Plugin version 3.0.1. This module generates browsable HTML pages from Java source code. https://maven.apache.org/plugins/maven-help-plugin/ You should specify the version in your project's plugin configuration: org.

Re: Not able to read jars in repo intermittently

2018-03-27 Thread ahardy42
Can I just verify the problem? These affected jars are frequently used, and have been there for a long time, e.g. /home/jenkins/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar There should be no writes going on to this or other affected jars by any processes on the maven repo. Are

Maven performs tests a 2nd time and doesn't find classes

2018-03-27 Thread g.hohl
Hello everyone, another problem, but (hopefully) not connected to the other one I posted earlier today: When I execute a Maven build using the goals "clean install site" or "clean package site", I see that the maven-surefire-plugin is executed 2 times. The first time everything goes smooth

Re: xml-maven-plugin includes element

2018-03-27 Thread Jochen Wiedmann
Please file an issue at https://github.com/mojohaus/xml-maven-plugin/issues Don't forget to include a complete sample configuration. Thanks, Jochen On Mon, Mar 26, 2018 at 2:36 PM, Delany wrote: > Hi all, > > In the plugin document at > http://www.mojohaus.org/xml-maven-plugin/transformat

Warning when generating the dependencies report: Invalid byte tag in constant pool

2018-03-27 Thread g.hohl
Hello everyone, I get an odd warning from the Maven Report Plugin "Maven Project Info Reports Plugin". Seems it can't handle the file asm-6.1.1.jar of the ASM library. But it's the latest version of the plug-in as far as I can see. I'm using the latest Java 8 JDK for executing Maven. Any