[ANN] extra-enforcer-rules version 1.0-beta-7 released

2018-01-23 Thread Baptiste Mathus
Hi, The MojoHaus team is pleased to announce the release of the extra-enforcer-rules version 1.0-beta-7. These are extra rules for Apache Maven's Enforcer Plugin. http://mojohaus.org/extra-enforcer-rules Release Notes https://github.com/mojohaus/extra-enforcer-rules/milestone/5?closed=1

Re: When time do we need to delete .m2/repository

2017-09-15 Thread Baptiste Mathus
> > > Eric > > > > > > On Sep 11, 2017 2:43 PM, "Stephen Connolly" < > stephen.alan.conno...@gmail.com> > > wrote: > > > > On Fri 8 Sep 2017 at 11:22, Baptiste Mathus <m...@batmat.net> wrote: > > > >> Le 7 sept. 2017

Re: When time do we need to delete .m2/repository

2017-09-08 Thread Baptiste Mathus
ins agents, sorry just realized I mixed my MLs. I thought I was reading Jenkinsci-users one :). On Thu, Sep 7, 2017 at 1:59 PM, Baptiste Mathus <m...@batmat.net> wrote: > 2017-09-07 9:17 GMT+02:00 Guang Chao <guang.chao.1...@gmail.com>: > > > On Fri, Sep 1, 2017 at 11:31 AM, m

Re: When time do we need to delete .m2/repository

2017-09-07 Thread Baptiste Mathus
2017-09-07 9:17 GMT+02:00 Guang Chao : > On Fri, Sep 1, 2017 at 11:31 AM, mingleizhang > wrote: > > > Hello friends here. > > > > > > I would like ask a question ,it probably looks silly, but I still > > want to know. As the subject said,

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing

2016-06-12 Thread Baptiste Mathus
B. Fischer <o.b.fisc...@swe-blog.net>: > Yes, running with -B disables the colorized output. > > But at least the description of this option should mention this too > because IMHO it is not intuitive that -B disables the colors. > > > WDYT? > > Am 12.06.16

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing

2016-06-12 Thread Baptiste Mathus
Didn't test it, but using batch mode would seem natural for that IMO. My 2 cents 2016-06-12 22:04 GMT+02:00 Oliver B. Fischer : > The colorized output is very nice, but I would like to have also a > commandline option to disable it. I often redirect the output of Maven

Re: Filtering resources

2016-01-12 Thread Baptiste Mathus
In general, though it would surely work too, better avoid using maven-antrun-plugin. Maven is about standardizing your build process, using antrun is gonna add issues with IDEs and so on. Anyway, what you ask for doesn't seem to me to require custom filtering. '@' is a standard delimiter (see

Re: publishing sub-modules without requiring the parent module to be published?

2015-10-12 Thread Baptiste Mathus
I'm pretty sure you can't. At least on Central who IIRC checks that kind of things. It's indeed needed for the dependency resolution mechanism to work. Cheers Le 11 oct. 2015 11:50 PM, "Kevin Burton" a écrit : > I'm trying to open source a bunch of code in our stack. > > Is

Re: Problem excluding source directory using maven-pmd-plugin with Jenkins CI

2015-09-29 Thread Baptiste Mathus
nto...@gmail.com>: > Hi. I have a problem using maven-pmd-plugin with Jenkins CI. Is this the > correct mailing list to ask for help? > > Thank you. > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !

Re: Creating local repository

2015-09-10 Thread Baptiste Mathus
t; > > -DartifactId=YOUR_ARTIFACT_ID -Dversion=YOUR_VERSION -Dpackaging=jar > > > > -DlocalRepositoryPath=/var/www/html/mavenRepository > > > > > > > > Is this the only correct way? I have yet to try it, primarily > because I > > > > have a few dozen artifacts and doing so will take me a long time. > > > > > > > > > > > > Cheers, > > > > George > > > > > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > > > > > > > > > > > > -- > > > > > > Gail Stewart > > > Sr. Release Engineer > > > > > > AP & Payment Automation > > > 125 Cambridgepark Drive > > > Cambridge, MA 02140 > > > gail.stew...@mineraltree.com > > > 617.299.3399 x148 > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread Baptiste Mathus
+1 dependency:analyze seems to be the one. Le 7 août 2015 2:17 PM, Ben Podgursky bpodgur...@gmail.com a écrit : I think you want mvn dependency:analyze -DfailOnWarning=true https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning On Fri, Aug 7, 2015 at 4:38

Re: Running jdeb plugin by itself .. not attached to the package lifecycle.

2015-08-06 Thread Baptiste Mathus
IMO disabling it for perf reason for snapshot might be acceptable, but in your place I would really create and deploy the .deb at least for the release so that you have a central place where all your released binaries can be found. Cheers Le 3 août 2015 2:09 AM, Benson Margulies

Re: Where's the new home for the clirr-maven-plugin?

2015-06-08 Thread Baptiste Mathus
: Hi, the website for appassembler-maven-plugin doesn't follow the pattern. Its current website is http://www.mojohaus.org/appassembler/appassembler-maven-plugin/ Greetz, Sandra Am 08.06.2015 um 09:24 schrieb Baptiste Mathus: Yes, MOJO@Codehaus project was renamed MojoHaus. So

Re: jars with no pom.xml available - what to do next ?

2015-06-08 Thread Baptiste Mathus
missing these jars GAV coordinates if they really exist out there outside of Central Maven repo but we aren't sure and don't feel good when we cant find them since they are open source jars. Thanks On Mon, Jun 8, 2015 at 1:14 PM, Baptiste Mathus bmat...@batmat.net wrote: Hi, Not sure I

Re: jars with no pom.xml available - what to do next ?

2015-06-08 Thread Baptiste Mathus
Hi, Not sure I understand.So guessing: you are somehow migrating from a typical old-school project with jars committed in the project as-is, and you don't know the version and so on. If so, then here's how I would proceed: * compute the sha-1 hash of those jars * search them though Central

Re: Where's the new home for the clirr-maven-plugin?

2015-06-08 Thread Baptiste Mathus
was migrated, but not its site. Is that as simple as running a mvn site, and copying target/site to a ghpages branch? Martijn On Mon, Jun 8, 2015 at 9:24 AM, Baptiste Mathus bmat...@batmat.net wrote: Yes, MOJO@Codehaus project was renamed MojoHaus. So, basically, any project you found

Re: Where's the new home for the clirr-maven-plugin?

2015-06-08 Thread Baptiste Mathus
Yes, MOJO@Codehaus project was renamed MojoHaus. So, basically, any project you found docs for under http://mojo.codehaus.org/xyz-maven-plugin should follow the following pattern: - its sources should be found under https://github.com/mojohaus/xyz-maven-plugin - its website should be

Re: Codehaus Mojo repository

2015-06-08 Thread Baptiste Mathus
Please be aware that there's still work undergoing. For example, we didn't yet republish all the websites, but should do it in the upcoming weeks. Then things will progressively settle (still currently waiting for some infra bricks like our nexus instance to publish our artifacts). Please also

Re: orders of plug-in

2015-04-05 Thread Baptiste Mathus
Exactly. See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings for reference. Cheers 2015-04-05 22:45 GMT+02:00 Lin Ma lin...@gmail.com: Thanks Karl, Does it mean compiler plug-in have two defined goals in the plug-in, compile goal

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Baptiste Mathus
And this is actually not even always true, CP1252 is also often used on Windows (in France for example). Encoding is actually a quite simple problem, but transfer makes it difficult to handle as each move has to take care of what it does. As for the JIRA tickets, if you feel this is not OK, feel

Re: What is going on with maven-javadoc-plugin?

2015-03-12 Thread Baptiste Mathus
Just ich scratching and limited time, that's how OSS works. Generally, if (like here) the code is moreover already committed, *kindly* asking for a release on the dev ML can do the trick. HTH 2015-03-13 2:38 GMT+01:00 Marcos Zolnowski marcos.zolnow...@yahoo.com.invalid: From:

Re: Why would maven download a pom and not a jar?

2015-03-11 Thread Baptiste Mathus
Could you rephrase? You think pom.xml is a dependency of the dependency:tree goal? If so, then the answer is no. Cheers 2015-03-11 6:59 GMT+01:00 Cintia Del Rio miladyarte...@gmail.com: Isn't it a dependency of the dependency plugin itself? On 11 March 2015 at 16:51, Baptiste Mathus bmat

Re: Help with warning: 'Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo'

2015-03-11 Thread Baptiste Mathus
[Don't talk tool loud about the Jenkins Maven Project Plugin, you're gonna draw Stephen here ;-).] IMO, this is not a Maven issue, it should be discussed on the jenkinsci lists since as you say yourself in your last mail, this does only happen in Jenkins not in CLI or in your IDE. Beware that

Re: Why would maven download a pom and not a jar?

2015-03-11 Thread Baptiste Mathus
it needs to run that plugin. So I'd expect that every jar you now have in your local repository (~/.m2) is a dependency of the dependency:tree plugin. On 11 March 2015 at 17:02, Baptiste Mathus m...@batmat.net wrote: Could you rephrase? You think pom.xml is a dependency

Re: Why would maven download a pom and not a jar?

2015-03-10 Thread Baptiste Mathus
Well, in that case, since you're asking for the dependency:tree I'm even surprised there's any jar downloaded. Maven would only need pom to compute that. Downloading Jars is only done when needed (say for compiling, etc.) Btw, do you really type mvn dependency:tree pom.xml ? What do you expect?

Re: Disabling surefire error printing to console?

2015-03-09 Thread Baptiste Mathus
What do you mean doesn't seem to solve the situation? Doesn't it work? 2015-03-08 20:22 GMT+01:00 Kevin Burton bur...@spinn3r.com: Is there away to get surefire to ONLY show the tests which failed, and NONE of their output? I read through the configuration and all the options that would seem

Re: Determining the directory of test/resources from multi-modules?

2015-03-02 Thread Baptiste Mathus
Well, IIUC yes. For example you could use filtering to inject the property saying where the test/resources are. And if you need that directly in some code, then the templating-maven-plugin may be what you need. Please give more precision of you need more help. Cheers Le 2 mars 2015 21:37, Kevin

Re: write developers contributors into Jar

2015-03-01 Thread Baptiste Mathus
Actually, maven-archiver is a shared component, somehow low-level hence used by many plugins. In your case, just configure the maven-jar-plugin http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html Cheers 2015-03-01 20:21 GMT+01:00 Ron Wheeler

Re: Invoke another Maven

2015-02-22 Thread Baptiste Mathus
Hi Dan, We're using https://github.com/TimMoore/mojo-executor for that and it's quite doing the job. HTH Cheers Le 21 févr. 2015 21:43, Dan Tran dant...@gmail.com a écrit : I have a need my maven to exec another maven build, but also inherit original argument as well ( ex pickup -s option )

Re: Configure Logger (timestamps in Jenkins)

2015-02-20 Thread Baptiste Mathus
Just use a Jenkins plugin like timestamper [1], don't depend on customized Maven binaries. The advantage of doing it at the Jenkins level is that the whole build will be timestamped, even anything before or after the Maven part. [1] https://wiki.jenkins-ci.org/display/JENKINS/Timestamper

Re: access to license node

2015-02-19 Thread Baptiste Mathus
Le 19 févr. 2015 16:16, Andreas Sewe s...@st.informatik.tu-darmstadt.de a écrit : Hello, I’m using Maven 3.2 with the pom definition project xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns= http://maven.apache.org/POM/4.0.0;

Re: Question about next maven-fluido-skin release

2015-02-15 Thread Baptiste Mathus
Hi better ask for a release in the dev list. If the code is actually already fixed and just needs be released there's generally committers willing to do it. Cheers Le 14 févr. 2015 02:23, Mikko Kuokkanen mikko.kuokka...@gmail.com a écrit : Hi. We are prototyping following combination for our

Re: Maven 3 with newest Checkstyle

2015-02-15 Thread Baptiste Mathus
I guess you mean you don't have any plugin tag in your pom.xml. Under build/plugins declare a plugin block like this to override the inherited version plugin artifactIdmaven-checkstyle-plugin/artifactId version6.3/version /plugin Btw, you should be aware that always pinning the plugin

Re: Dependency conflict resolution

2015-02-15 Thread Baptiste Mathus
Do you use dependencyManagement ? And Jason is right: providing a test project is quicker to help you. Might be even quicker for you than explaining it by mail. Push it for example on your github account and post the link here. Cheers Le 13 févr. 2015 21:21, Jason van Zyl ja...@takari.io a écrit

Re: What are mobile developers best practices

2015-01-02 Thread Baptiste Mathus
IIUC your request, then I'd advise you to simply run a local maven repository manager on your laptop. Then define one and only one settings.xml to proxy everything through that MRM. I've done that in the past with nexus, and it worked like a breathe. 2014-12-25 7:11 GMT+01:00 Mark Eggers

Re: What are mobile developers best practices

2015-01-02 Thread Baptiste Mathus
to use mvn -llr very often. Cheers [1] https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-ResolutionfromLocalRepository 2015-01-02 9:21 GMT+01:00 Baptiste Mathus bmat...@batmat.net: IIUC your request, then I'd advise you to simply run a local

Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl

2014-12-16 Thread Baptiste Mathus
Same here, good point. -gun. B Le 16 déc. 2014 22:46, Matt Stephenson matts...@mattstep.net a écrit : A On Mon, Dec 15, 2014 at 2:39 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: After the run-off round, we are left with two names standing. This second vote will be a

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

2014-11-09 Thread Baptiste Mathus
Not sure it would do for your use case, but you might want to try the maven-remote-resources-plugin. You'd have the cacheing behavior standard with it. Cheers Le 8 nov. 2014 20:38, Karl Heinz Marbaise khmarba...@gmx.de a écrit : Hi Kevin, On 11/8/14 8:19 PM, Kevin Burton wrote: Nice.. it

[ANN] extra-enforcer-rules 1.0-beta-3 Released

2014-09-26 Thread Baptiste Mathus
Hi, The Mojo team is pleased to announce the release of the Extra Enforcer Rules version 1.0-beta-2. Apache's Maven Enforcer Plugin is used to apply and enforce rules on your Maven projects. The Enforcer plugin ships with a set of standard rules The Mojo project hosts this project to provide

Re: Filtering resources with variables from build-helper-maven-plugin:reserve-network-port

2014-09-16 Thread Baptiste Mathus
Hi Martin, This should be totally feasible. Indeed, even the ITs of the plugin itself actually use the fact that properties are indeed defined to be able to print them out at some later point. Would you be able to expose some demo project somewhere on GitHub for example? Cheers 2014-09-16 13:45

Re: How to get a dependency tree view of plugin dependencies used in the build

2014-09-10 Thread Baptiste Mathus
Found that, seems to match your question: http://stackoverflow.com/a/7079876/345845. Karl-Heinz is everywhere :-). 2014-09-10 16:50 GMT+02:00 David Hoffer dhoff...@gmail.com: Similar to dependency:tree for project dependencies how can I get a similar list of plugin dependencies used in the

Re: Build once, deploy everywhere

2014-09-10 Thread Baptiste Mathus
*that* deploy has actually nothing to do with the deploy you want. It's only and specifically designed to push a binary produced by the building process to some maven repository manager (say archiva, nexus or artifactory for example). 2014-09-10 17:07 GMT+02:00 Jan raghure...@gmail.com: Thanks

Re: release plug in not committing the release version anymore

2014-08-31 Thread Baptiste Mathus
Hi, This description seems to match a known issue. I see you're using maven release plugin 2.3.2. Upgrade to 2.5 and check if it gifts better (see https://jira.codehaus.org/browse/MRELEASE-812 for example). Cheers Le 30 août 2014 23:13, Stefano Fornari stefano.forn...@gmail.com a écrit : Hi

Re: how maven build plugins plugin use latest version

2014-05-28 Thread Baptiste Mathus
Hi, This is not possible with maven by design. It has to do with the build reproducibility thing you'll often read here. I think there were a recent thread about that very question, also have a look at it if you will. Cheers Le 27 mai 2014 10:32, Sartisty sarti...@gmail.com a écrit : hi, all,

Re: maven-invoker-plugin: running ITs in parallel?

2014-05-21 Thread Baptiste Mathus
} in the localrepo path... (Untested) On 20 May 2014 13:08, Baptiste Mathus bmat...@batmat.net wrote: Yup, I know this work is still underway, no problem. I realize I wasn't clear enough (and my TL;DR may have been be misleading). I was also wondering if there was a workaround where you could

Re: maven-invoker-plugin: running ITs in parallel?

2014-05-21 Thread Baptiste Mathus
Thanks Karl-Heinz. My current understanding is indeed that this option is very attractive at first, but cannot currently work in practice. Having had a quick in the code, I didn't see any IT testing this property. I'll keep you posted about my potential findings. Thanks 2014-05-20 18:18

Re: Invalid pom during release perform while valid during usual mvn install

2014-05-21 Thread Baptiste Mathus
Which version of the maven-release-plugin are you using? Cheers 2014-05-21 13:54 GMT+02:00 Tomasz Borek tomasz.bo...@gmail.com: Ave! I've a problem with mvn release:perform, which fails on invalid POM and cuts of it's dependencies giving me compilation failure later *EVEN THOUGH POM is

maven-invoker-plugin: running ITs in parallel?

2014-05-20 Thread Baptiste Mathus
Hi all, *TL;DR: does anyone use the parallelThreads option in maven-invoker-plugin? Do you also have issues with concurrent local repository access? If so, how do you solve them?* I've recently come across the parallelThreads option in maven-invoker-plugin. After having tried to use it a few

Re: maven-invoker-plugin: running ITs in parallel?

2014-05-20 Thread Baptiste Mathus
the parallel process, at least 2 og 3 projects do it this way. As far as I understand solving concurrent thread safe repo in the latest maven version should be trivial, but it needs to be solved in the core. Kristian 2014-05-20 9:13 GMT+02:00 Baptiste Mathus m...@batmat.net: Hi all, *TL;DR

Re: Truncating SCM/Git URL for tagging only

2014-05-13 Thread Baptiste Mathus
Which version of the maven release plugin are you using? I'd check with at least 2.4.2 or 2.5 since known issues with Git have been fixed in those versions. Le 13 mai 2014 03:07, Neil Hunt neil.h...@fcc.gov a écrit : For some reason, when running maven release, it is giving me an invalid URL

Re: [ANN] buildnumber-maven-plugin 1.3 Released

2014-05-03 Thread Baptiste Mathus
Just a small guess: if you're using a versioning control system (svn,git it mercurial supported), the build number won't indeed change if you're building the same source code many times: it will reflect the current state of your tree (say revision for svn, or sha-1 for Git). HTH Cheers Le 3 mai

[ANN] buildnumber-maven-plugin 1.3 Released

2014-05-02 Thread Baptiste Mathus
Hi, The Mojo team is pleased to announce the release of the buildnumber-maven-plugin version 1.3. This mojo is designed to get a unique build number for each time you build your project. So while your version may remain constant at 1.0-SNAPSHOT for many iterations until release, you will have a

RE: ForkedBooter in 2.2.1 does not honor MAVEN_OPTS

2014-04-24 Thread Baptiste Mathus
Yes, it does not isolate your tests from your main maven build. So if for example your tests require too much memory, the OOME will kill the whole maven build. BTW, as maven 2.x is in the title, you should be aware it's now deprecated/end of life. Cheers Le 25 avr. 2014 03:22, victropolis

Re: Unpacking a zip file from the source tree

2014-04-19 Thread Baptiste Mathus
There's an ongoing issue at The Codehaus about login/account creation complexity. IIUC this was done after some heavy spamming attack. Anyway, to create an account go to http://xircles.codehaus.org/ and with that account you'll be able to access and create issues in jira.codehaus.org . Cheers

Re: Strange maven central response - do you see the same thing??

2014-04-18 Thread Baptiste Mathus
FWIW, just tried from Toulouse, France: http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexeindeed redirects to http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/ HTH 2014-04-18 11:03 GMT+02:00 Mirko Friedenhagen

Re: Unpacking a zip file from the source tree

2014-04-18 Thread Baptiste Mathus
May maven-remote-resources-plugin be helping? 2014-04-18 12:10 GMT+02:00 org.apache.maven.u...@io7m.com: Hello. I have a zip file in the src directory of a project. I want to unpack this zip file and insert the contents into the generated site directory during the site phase. What is

Re: Generating Incorrect fat jar using maven-assembly-plugin in maven 2 with war packaging

2014-04-15 Thread Baptiste Mathus
Hi, Which version of the war plugin are you using? BTW, you say it's OK with maven 3. Can't you just upgrade? Maven 2 is many years old and has already been officially end of lifed ( http://maven.apache.org/maven-2.x-eol.html). And about what you're doing: I'm unsure about why you seem to

Re: Maven Download and Regular Expression

2014-04-10 Thread Baptiste Mathus
Hi, Have a look at Maven indexer? Cheers Le 9 avr. 2014 03:40, MukeshKumar Bhansali mukeshkumar.bhans...@amdocs.com a écrit : Hi Folks, I have a different requirement and not getting any hint. The Requirement is like : I want to download an artifact from Nexus using Maven, But I have 1)

Re: Scanning for Projects... before

2014-04-04 Thread Baptiste Mathus
You're very likely to send some day an old version of a false releases, actually a snapshot, to production with this technique. I guess you should at least send a mail to some managers to explain things are going to go wrong some day. At least you will have taken your responsibility and they can't

Re: Enforcer plugin

2014-04-03 Thread Baptiste Mathus
Not sure I understand: did you use a standard rule or did you finally write use your own one? If the latter, seing the code somewhere may help. If using a standard one, then creating a testcase project is definitely the best way to get answers and then the potential fix. Cheers 2014-04-03 4:22

Re: OutOfMemoryError with maven-javadoc-plugin

2014-03-28 Thread Baptiste Mathus
Sorry, I haven't used javadoc for years now, but as javadoc is an external tool, I guess you should specify additionalJOption? http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#additionalJOption Cheers 2014-03-28 10:36 GMT+01:00 Martin Hoeller mar...@xss.co.at: Hi! I

Re: maven release-plugin 2.5 bug - releasing snapshots...

2014-03-28 Thread Baptiste Mathus
Weird, many users reported the 2.5 had fixed their issues. What (version) are you actually using for: * maven * maven-release-plugin (triple-check you hadn't redefined maven-scm-* dependency somewhere) * svn ? Git ? Something else ? On a unrelated subject : issuing a mvn clean install deploy

Re: OutOfMemoryError with maven-javadoc-plugin

2014-03-28 Thread Baptiste Mathus
Did you make sure you put -J-Xmx and not only -Xmx ? 2014-03-28 12:24 GMT+01:00 Martin Hoeller mar...@xss.co.at: Hi Baptiste! I tried it but it didn't change anything. Still OutOfMemoryError :( -martin On 28 Mär 2014, Baptiste Mathus wrote: Sorry, I haven't used javadoc for years now

Re: Overriding dependency scope

2014-03-28 Thread Baptiste Mathus
IIUC, you have a unique parent pom (likely a corporate pom), let's can him P. P says scope is test for groovy-all. You have modules m1, m2... who all inherits P. In some module mN, you need groovy-all with scope compile. But m1 actually depends on mN and will crash since the dependency onto

Re: Javadoc plugin with Javadoc 8: error fetching URLs

2014-03-28 Thread Baptiste Mathus
Just a guess: Maven basically only delegates to the javadoc tool provided by the JDK. Did you try without Maven? Java 8's javadoc has been added a much more stringent parser, so you might be encountering http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html ? 2014-03-28 22:15

Re: properties that are not being resolved

2014-03-24 Thread Baptiste Mathus
Hi, Out of curiosity, why don't you use the seemingly equivalent mojo buildnumber maven plugin? May not be your issue, but may be the plugin you're using doesn't create properties in the right way (no offense, just trying to guess)? My 2 cents Le 23 mars 2014 22:37, Henrik Østerlund Gram

Re: centralized settings.xml vs local question

2014-03-24 Thread Baptiste Mathus
Couldn't you set up a tailored release job in your CI server. Then you would had handle authorizations there? This is somehow what we do. And developers all have the same settings.xml file. HTH Le 24 mars 2014 00:34, ghostwolf59 martin.cederv...@commerce.wa.gov.au a écrit : Hi, I am a strong

Re: The par packaging not working

2014-03-20 Thread Baptiste Mathus
Hi, Out of curiosity, what's a par packaging? The only links I found on the Web talks about perl, are they perl archive or so? Just had a quick at https://maven.apache.org/plugins/ and didn't find anything related to par. I've personnally never heard of it. Can you provide us with more details?

Re: [ANN] Apache Maven PMD Plugin 3.1 Released

2014-03-19 Thread Baptiste Mathus
I think this is related to http://maven.apache.org/plugins/maven-site-plugin/maven-3.html Can you try just moving your pmd configuration inside build tag? Also make sure you update maven-site-plugin version to the latest version. Btw, if you're from maven 2 to maven 3, far better use the latest

m-invoker-p: only 2 out of 3 ITs executed

2014-03-18 Thread Baptiste Mathus
Hi all, Had a quick look in JIRA, but didn't find anything obvious. I have 3 ITs in my src/it folder for my maven plugin. Only 2 get executed. The 3rd one executes correctly if I explicitly match it using -Dinvoker.test=forgotten-test* Note that this IT doesn't have a pom.xml at its root, and

Re: m-invoker-p: only 2 out of 3 ITs executed

2014-03-18 Thread Baptiste Mathus
*/pomIncludes On Tue, Mar 18, 2014 at 11:08 AM, Baptiste Mathus bmat...@batmat.net wrote: Hi all, Had a quick look in JIRA, but didn't find anything obvious. I have 3 ITs in my src/it folder for my maven plugin. Only 2 get executed. The 3rd one executes correctly if I explicitly match

Re: Help with converting existing ant build to maven is required

2014-03-13 Thread Baptiste Mathus
it in our distribution, not sure if it can be done Maven way :( 2) tgz contains flex based Flash compiler with all necessary libraries and binaries necessary to build Flash part of our application. On Thu, Mar 13, 2014 at 5:15 AM, Baptiste Mathus m...@batmat.net wrote: IIUC

Re: maven won't resolve from central log4j:log4j:1.2.8 through 1.2.15

2014-03-12 Thread Baptiste Mathus
File an issue there: https://issues.sonatype.org/browse/mvncentral Cheers 2014-03-12 22:36 GMT+01:00 Mauri, Richard richard.ma...@sap.com: Hi, any word on how to fix the maven central repo so we can proceed with resolving (mvn dependency:tee) log4j:log4j:[1.2.8] ? It¹s curious why we can

Re: Help with converting existing ant build to maven is required

2014-03-12 Thread Baptiste Mathus
IIUC, your project openmeetings depends on red5 libraries. About your questions: 1) Not actually a Maven issue, but you seem to think the way to go it to build that dependency. As the project is ASLv2, you would far better make sure/ask it be uploaded to Maven Central. Then just just the

Re: Maven Release Plugin throws Authentication Required error

2014-03-06 Thread Baptiste Mathus
Hi, First try do to that without using Jenkins at all. This is a pure maven configuration thing. You just seem to be missing the authentication part (see username and password parameters maybe). When you manage to release some dummy versions of your project, then and only then try doing it from

Re: Could not create staless EJB whith maven 3.2.1 but working fine with version 3.0.5

2014-03-05 Thread Baptiste Mathus
Hi, The best way to have it looked into is to create a test project and attach it to an issue report. Just out of curiosity, are you having an issue with a plugin or a simple multi modules project? Cheers Le 5 mars 2014 16:36, brandenber...@commcity.ch a écrit : With maven version 3.2.1, in fact

Re: Hi I have following issue building STUDIO PLATFORM MODULE:

2014-02-27 Thread Baptiste Mathus
Hi, As you feared in introduction, this is indeed not the right mailing IIUC. You're trying to build Bonita studio, and that build is using Maven. You should actually contact Bonita's team. Cheers Le 28 févr. 2014 00:20, roberto777 solito_...@hotmail.com a écrit : Not sure if this is the place

Re: Where the binnary of mvn knows which mojo do i want to execute?

2014-02-24 Thread Baptiste Mathus
What are you trying to do actually? Plugin development? Understanding Maven to patch it? Just want to use it and stuck somewhere? 2014-02-24 13:25 GMT+01:00 enrique bernal ruiz kbernalr...@gmail.com: I am novice using mvn and having a look to /usr/bin/mvn, I can see the eval method, but I can

Re: Looking for org.apache.poi 3.10-FINAL

2014-02-17 Thread Baptiste Mathus
2014-02-17 7:55 GMT+01:00 David Law m2ecli...@apconsult.de: Ron, Wayne, this wasted several days (elapsed) of my time: I spent ages trying out options trying to figure out what I'd done wrong... ...rebuilding updating indices, hacking through to

Re: Possible build collision between CI snapshot build and Release build

2014-02-15 Thread Baptiste Mathus
Hi Dan, Not sure what you mean. You say CI, are you taking about a specific server? If Jenkins for example, wouldn't it then be more a Jenkins user ml question? And I don't see how a snapshot build could interfere with another build with a release version. Could you give details about your issue

Re: Possible build collision between CI snapshot build and Release build

2014-02-15 Thread Baptiste Mathus
15, 2014 at 4:18 PM, Baptiste Mathus bmat...@batmat.net wrote: Hi Dan, Not sure what you mean. You say CI, are you taking about a specific server? If Jenkins for example, wouldn't it then be more a Jenkins user ml question? And I don't see how a snapshot build could interfere

Re: Code coverage with debug logs: 100% branch coverage not possible?...

2014-02-13 Thread Baptiste Mathus
My first feeling is that not much time should be spent on that issue, logging isn't going to take a lot of points of percentage down, having ~95% would already be great (but maybe you already have). Anyway, on the other hand, if what you want is to get code coverage, why not just enable the ALL

RE: SCM requires that command line svn be used?

2014-02-13 Thread Baptiste Mathus
It says authentication required. Did you provide/configure the necessary credentials? Le 13 févr. 2014 12:21, doddalas vijayd1...@gmail.com a écrit : Hi, I am getting the same error. Can you please help me if you have fixed this issue. Do we need to configure anything specifically for https

Re: maven-ear-plugin silently overrides libraries

2014-02-13 Thread Baptiste Mathus
That's the way to go. Even more if you're able to attach a test project. One report without report is far less likely to be worked on. Cheers Le 13 févr. 2014 14:06, Reto Hablützel ret...@rethab.ch a écrit : So what's the status on this? Shall I create a ticket? On Fri, Feb 7, 2014 at 5:04

Re: Deep dependency analysis

2014-02-03 Thread Baptiste Mathus
I'd look at the code behind dependency: analyze I guess the improvement by logging the class level usage might be doable. My 2 cents Le 3 févr. 2014 20:48, Benoît Berthonneau ben...@berthonneau.com a écrit : Hi All, Do you know any maven plugin that could say which classes (from

Re: turns EAR into an OSGi

2014-01-20 Thread Baptiste Mathus
Hi, Seems not so much a maven question. More an OSGi one. IMO, you should start by thinking about or explaining what you would expect maven to do. Knowing both Java EE and OSGi (here it's bundles) a bit, I can't see even doing it manually anything obvious to something approaching a conversion. Le

Re: Property that indicates a snapshot or release build?

2014-01-19 Thread Baptiste Mathus
+1. At least I agree I don't think there's already a property for that. Le 19 janv. 2014 22:20, Dan Tran dant...@gmail.com a écrit : Sounds like a candidate enhancement for build-helper-maven-plugin -D On Sunday, January 19, 2014, Graham Leggett minf...@sharp.fm wrote: On 19 Jan 2014, at

Re: During plugin development, what is the context classloader set to?

2014-01-14 Thread Baptiste Mathus
Hi, ClassWorlds is your friend if you need to do classloader fine-tuning. For example (taken in an old poc, so this should be adapted to use annotations etc.), something along the following would create a classpath with test scope elements. ... public class SomeMojo extends AbstractMojo {

Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-14 Thread Baptiste Mathus
Hi, Stephen already answered along those lines. What are you missing? Cheers 2014/1/9 S. Ali Tokmen nos...@alishomepage.com Hi Anders Thanks for your reply - and happy new year :) Is there any way I can inject / read the whole plugin configuration from the plugin? Best regards S. Ali

Re: Depend on a jar via another pom file

2014-01-14 Thread Baptiste Mathus
Well, what scope are used here? Thus is a central element to manage transitivity. Btw, you should never rely on a dependency to get a dependency you're also using. You must redeclare it in your own pom. (mvn dependency:analyze can also help you here). Cheers Le 8 janv. 2014 16:59, Omar@Gmail

Re: short and snappy description of what Maven is

2014-01-10 Thread Baptiste Mathus
Lost battle imo. Not sure there's a way to describe the difference between maven and gradle in a way everyone would agree on... Le 7 janv. 2014 03:42, Ron Wheeler rwhee...@artifact-software.com a écrit : I am not sure that you want to start a range war in the opening paragraph. If there is a

Re: Using Plugin Truncated Name

2014-01-07 Thread Baptiste Mathus
Hi Omar, Well, what Stephen advices *is* actually at least a part of the solution you're looking for. Stephen says you MUST NOT use the org.apache.maven.plugins and maven-yourplugin-plugin naming scheme because this is a naming strategy reserved for core maven plugins. See the first section of

Re: Armed with a collection of Artifacts, what is the Maven Way™ to resolve them?

2014-01-06 Thread Baptiste Mathus
Does http://svn.codehaus.org/mojo/trunk/mojo/extra-enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/AbstractResolveDependencies.java help you? Cheers 2014/1/6 Laird Nelson ljnel...@gmail.com On Sun, Jan 5, 2014 at 3:56 PM, Laird Nelson ljnel...@gmail.com wrote: What is the

Re: New logo?

2014-01-02 Thread Baptiste Mathus
Oups, forgot users list. Might be just me, but though I'm not against using a raven, I'd at least prefer the more friendly 13 one (see http://people.apache.org/~stephenc/maven-logo-contest/screenshot-13.png). I'm actually far more liking the friendly teddybear's style of the moose (

Re: Premature decomposition of projects

2013-11-23 Thread Baptiste Mathus
I guess Jeff is only speaking about version ranges, not snapshots. If so, I'm +1 with Jeff. I don't think version ranges should ever be used. Cheers Le 23 nov. 2013 00:18, Ziga GREGORIC ziga.grego...@gmail.com a écrit : Jeff, maybe I'm missing the point, but to have the possibility to define a

Re: Premature decomposition of projects

2013-11-22 Thread Baptiste Mathus
Wasn't it just the mvn -U to force updating snapshots you were looking for? Cheers 2013/11/22 Russell Gold r...@gold-family.us It’s also an attempt to create a modular system, in hopes of minimizing codebase size and providing custom functionality. It’s thus closely related to a lot of the

Re: Using Jenkins Mask Password plugin

2013-11-14 Thread Baptiste Mathus
Hi, This list is for Maven users. What you ask should be posted on the Jenkins users mailing list : https://groups.google.com/forum/#!forum/jenkinsci-users Cheers 2013/11/13 Anand Sudabattula anand.sudabatt...@gmail.com Hi We like to mask the password that is provided thro’ cq.password

[ANN] extra-enforcer-rules 1.0-beta-2 Released

2013-11-13 Thread Baptiste Mathus
Hi, The Mojo team is pleased to announce the release of the Extra Enforcer Rules version 1.0-beta-2. Apache's Maven Enforcer Plugin is used to apply and enforce rules on your Maven projects. The Enforcer plugin ships with a set of standard rules The Mojo project hosts this project to provide

Re: best way to attach source for debugging maven plugin

2013-11-05 Thread Baptiste Mathus
Hi, I think you are just gonna have to retrieve the code manually inside your ide. Cheers Le 6 nov. 2013 03:34, Steve Cohen sco...@javactivity.org a écrit : I'm using Eclipse (with m2eclipse). Basic problem there is that plugins are not normally dependencies of a maven project, therefore do

Re: maven compiler plugin

2013-10-11 Thread Baptiste Mathus
+1. And BTW you should be aware that calling a dedicated goal should actually be a rare use case using Maven. Maybe even more calling the compiler outside the standard lifecycle. Just type mvn compile for your first case and mvn test-compile for the second one (not that last one would also compile

  1   2   3   4   5   6   >