Re: maven-archetype-plugin default version

2018-03-26 Thread Anders Hammar
mvn org.apache.maven.plugins:maven-archetype-plugin:3.0.1:help /Anders On Mon, Mar 26, 2018 at 11:12 AM, Stefan Helfrich < stefan.helfr...@uni-konstanz.de> wrote: > Dear everyone, > > I had filed an issue (https://issues.apache.org/jira/browse/MPOM-172) > some time ago about bumping the version

[ANN] xml-maven-plugin 1.0.2 Released

2018-03-26 Thread Ross Lamont
Hi, The Mojo team is pleased to announce the release of the xml-maven-plugin version 1.0.2. http://www.mojohaus.org/xml-maven-plugin/ To get this update, simply specify the version in your project's plugin configuration: org.codehaus.moj

xml-maven-plugin includes element

2018-03-26 Thread Delany
Hi all, In the plugin document at http://www.mojohaus.org/xml-maven-plugin/transformation.html the element is described: Specifies a pattern of files, which are being included. By default, all files are included. The pattern is relative to the directory given by "dir". This element may be repea

maven-archetype-plugin default version

2018-03-26 Thread Stefan Helfrich
Dear everyone, I had filed an issue (https://issues.apache.org/jira/browse/MPOM-172) some time ago about bumping the version of maven-archetype-plugin to which Maven defaults. To my understanding, the fix of the issue should have made the latest Maven version default to maven-archetype-plugin:3.0

Re: Not able to read jars in repo intermittently

2018-03-26 Thread Francois MAROT
For the record, it seems like the "EXECUTOR_NUMBER" variable ( https://issues.jenkins-ci.org/browse/JENKINS-31391 ) should be available to be able to easily specify a per-executor repo. So something such as this should do the job: mvn -Dmaven.repo.local=$JENKINS_HOME/.m2/$EXECUTOR_NUMBER/ ... --

Re: Not able to read jars in repo intermittently

2018-03-26 Thread Francois MAROT
I regularly have the same problem on my Jenkins build server: either "corrupted zip file" or "cannot find symbol" and the only explanation for me was concurrent build. I has never thought of having Maven local repo specific to an executor, thanks Bernd Eckenfels, that's a really good point ! I was

Re: Not able to read jars in repo intermittently

2018-03-26 Thread Bernd Eckenfels
UIt is correct that maven does not like it when your run install jobs concurrently with jobs reading the same artifacts. In order to avoid this you can have a workspace specific Repository („Local to workspace“ this might have some advantages for isolating different jobs but consumes a lot of di

Re: Not able to read jars in repo intermittently

2018-03-26 Thread Paul Hammant
What jars are you overwriting in your Maven repo? The SNAPSHOT system allows things to be written in at the same time as other jobs depending on the previous version. Is this a problem with SNAPSHOT jars or non SNAPSHOT jars? It looks like you're saying non SNAPSHOT: org/hamcrest/hamcrest-core/1

Not able to read jars in repo intermittently

2018-03-26 Thread Adam Hardy
I use a Jenkins server which is administered by another team. I get the following errors intermittently. The team claim the issue is "the maven repository is not multi write safe. It's possible several jobs are updating the jar files at the same time and corrupt them. If that's the case, the on

Re: json-schema-generator-maven-plugin has NPE fault

2018-03-26 Thread David Hoffer
Here is my configuration. Note I had to add the one excludes because that is the file that causes the NPE. com/issinc/odin/display/*.class com/issinc/odin/messaging/event/msg/EventActionMsgs_Action.class ${project.build.outputDirectory} ${project.bui

Javadoc Plugin : streamline dealing with 'package-list' files for external dependencies

2018-03-26 Thread USHAKOV, Sergey
Hi all, it does not look uncommon, when writing a library that has external dependencies, to include links to these dependencies' objects into the javadocs. The critical point for creation of links to external objects is a 'package-list' file that describes the external dependency. It is n