Problems with dependency-plugin + Mockito + Java 11

2019-01-15 Thread Andrew Todd
g error message: Execution dependency-plugin of goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only failed: This feature requires ASM7 Of course, I'm already using ASM7. I've tried setting true to see if I can skip analysis of the test classes, but this doesn't seem to work. Thanks, Andrew Todd

Re: How to rewrite POMs retaining the XML structure

2018-11-29 Thread Andrew Todd
The tidy-maven-plugin is fairly strict about formatting, and follows the official Maven POM style guide. You could look at how they're doing it, or run the plugin after you make your changes to reformat everything. http://www.mojohaus.org/tidy-maven-plugin/ On Fri, Nov 30, 2018 at 10:39 AM Bernd

Re: Ensuring artifact integrity with artifact pinning

2018-11-20 Thread Andrew Todd
tag, November 20, 2018 7:48 PM > An: Maven Users List > Betreff: Re: Ensuring artifact integrity with artifact pinning > > Hi, > > seems related to MNG-6026[1]. > > thanks, > Robert > > [1] https://issues.apache.org/jira/browse/MNG-6026 > > > On Tue, 20 Nov 2

Ensuring artifact integrity with artifact pinning

2018-11-20 Thread Andrew Todd
Hello all, I am considering writing a Maven plugin to help improve confidence in the integrity of the Maven artifacts used by a project. I'm looking for feedback on this idea before I start working on it, hopefully this winter. Here's a brief overview of what I have in mind. Maven, like many oth

Re: Is it poor practice to use Maven repo (ie: Nexus) to store non maven artifacts?

2017-11-27 Thread Andrew Todd
In order to keep track of what you've uploaded and allow consistent uploads of new versions, I recommend that you create a POM file for each binary artifact and define an execution of the http://www.mojohaus.org/build-helper-maven-plugin/ attach-artifact goal to perform the upload. On Sun, Nov 26,

Re: Solaris

2015-11-04 Thread Andrew Todd
See https://issues.apache.org/jira/browse/MNG-5852 This has happened in several releases -- Maven developers need to switch their hashbang to #!/usr/bin/env bash or otherwise actually test against a Bourne shell. On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran wrote: > you may want to link your /bin/

Re: Maven 3.2.3 upgrade

2014-12-10 Thread Andrew Todd
I use https://github.com/kennethreitz/autoenv to good effect. On Tue, Dec 9, 2014 at 11:03 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Here's something close... https://github.com/gcuisinier/jenv > > On 9 December 2014 at 16:02, Stephen Connolly < > stephen.alan.conno...@gmai

Re: Re: Why not a forum

2014-07-25 Thread Andrew Todd
Apache is an independent non-profit dedicated to the dissemination of free software. The list archives are freely archivable and indexable by anyone who wants to -- and there are many sites, such as Nabble and MarkMail, who do. Using email as the primary means of distribution makes it easy for thir

Re: Multi-Module: How to download other project's as dependency's without build it locally

2013-01-18 Thread Andrew Todd
I'm not entirely sure, but I think that you might be looking for the "copy" goal in the Maven dependency plugin. https://maven.apache.org/plugins/maven-dependency-plugin/ On Thu, Jan 17, 2013 at 2:48 PM, daniel.todt wrote: > Greetings, folks. > > My English is poor, so I apologize for possible

Re: Committing non-POM files during release:prepare?

2012-01-17 Thread Andrew Todd
etty sure all unmodified files which are already in SCM > get committed by default > > On 17 January 2012 14:47, Andrew Todd wrote: >> I'm fairly certain the answer to the question below is "no," but I'm >> wondering if anyone can definitively say either way

Re: Committing non-POM files during release:prepare?

2012-01-17 Thread Andrew Todd
I'm fairly certain the answer to the question below is "no," but I'm wondering if anyone can definitively say either way. Thanks. On Mon, Jan 9, 2012 at 3:02 PM, Andrew Todd wrote: > Maven 2.2, release plugin. > > During the preparationGoals, I'm modifying a

Committing non-POM files during release:prepare?

2012-01-09 Thread Andrew Todd
Maven 2.2, release plugin. During the preparationGoals, I'm modifying a .properties file that references the Maven project version. When the POM files get committed to Subversion after the preparationGoals have completed, I need this .properties file to get committed as well. Otherwise the release