[ANN] build-helper-maven-plugin 1.6 Released

2011-06-27 Thread Robert Scholte
d new goal: released-version Enjoy, The Mojo team. Robert Scholte

RE: Welcome Robert Scholte to the Apache Maven team!

2011-07-09 Thread Robert Scholte
ust a matter of when to pick up what with another OS-project behind my name... ;) -Robert > From: mgai...@hotmail.com > To: users@maven.apache.org > Subject: RE: Welcome Robert Scholte to the Apache Maven team! > Date: Sat, 9 Jul 2011 07:32:36 -0400 > > > when you get a

RE: maven-failsafe-plugin runOrder random re-play?

2011-07-14 Thread Robert Scholte
Sounds reasonable, but AFAIK this feature doesn't exist yet.please verify there's no such issue at JIRA[1] yet. If it's indeed new, please create an issue for it. -Robert [1] http://jira.codehaus.org/browse/SUREFIRE > Date: Thu, 14 Jul 2011 12:08:54 -0400 > Subject: maven-failsafe-plugin runOr

RE: How to load a class in a Mojo?

2011-07-17 Thread Robert Scholte
It is less complex, it´s just like any other java-project:this.getClass().getResourceAsStream( name ) this.getClass().getResource( name ); The @requiresDependencyResolution is about which dependecies should be available for this class, based on their scope. -Robert> Date: Sat, 16 Jul 2011 21:2

RE: How to load a class in a Mojo?

2011-07-17 Thread Robert Scholte
ass in a Mojo? > From: hilco.wijbe...@gmail.com > To: users@maven.apache.org > > On 17 July 2011 02:53, Robert Scholte wrote: > > It is less complex, it´s just like any other > > java-project:this.getClass().getResourceAsStream( name ) > > this.getClass().getResource( na

RE: Archiva vs. Nexus

2011-07-19 Thread Robert Scholte
http://www.sonatype.com/people/2011/06/nexus-tips-and-tricks-backup-nexus/ -Robert > Date: Tue, 19 Jul 2011 14:55:38 -0700 > From: eric.koloty...@gmail.com > To: users@maven.apache.org > Subject: Re: Archiva vs. Nexus > > Is it easy to move a Nexus repository from one system to the next? I was

RE: Trouble setting Boolean property in custom Mojo

2011-08-08 Thread Robert Scholte
Please read http://www.sonatype.com/books/mvnref-book/reference/writing-plugins.html first! (little hint: it has to do with doclets...) -Robert > Date: Mon, 8 Aug 2011 07:49:12 -0700 > From: laredotorn...@gmail.com > To: users@maven.apache.org > Subject: Trouble setting Boolean property

RE: Trouble setting Boolean property in custom Mojo

2011-08-08 Thread Robert Scholte
http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html So that would make it: /** * @parameter */ private Boolean appendResults; And you probably don't want to use the setter. This field already works. -Robert > Date: Mon, 8 Aug 2011 12:45:58 -0700

RE: Discrepancy in SNAPSHOT jar filename between JAR Plugin and Assembly Plugin

2011-08-13 Thread Robert Scholte
Looks like the assembly plugin uses somewhere artifact.getVersion() instead of artifact.getBaseVersion(). Please check if there's already such an issue at jira[1], otherwise create the issue yourself. -Robert [1] http://jira.codehaus.org/browse/MASSEMBLY ---

RE: maven-assembly-plugin for test?

2011-08-16 Thread Robert Scholte
If you want to have a jar with reusable test-classes, you have to create a separate project for it. http://rfscholte.wordpress.com/2010/09/05/how-to-create-a-jar-containing-reusableabstract-testclasses-with-maven/ -Robert > Date: Tue, 16

RE: codehaus.org

2011-08-17 Thread Robert Scholte
It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) -Robert > Date: Wed, 17 Aug 2011 20:07:17 +0200 > From: khmarba...@gmx.de > To: users@maven.apache.org > Subject: codehaus.org > > Hi, > >

RE: [maven] Troubleshooting a NPE in maven build

2011-08-17 Thread Robert Scholte
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-LegacystyleRepositories -Robert > From: jpye...@pdinc.us > To: users@maven.apache.org > Subject: RE: [maven] Troubleshooting a NPE in maven build > Date: We

RE: Signed maven dependency and create an assembly

2011-08-17 Thread Robert Scholte
Try http://mojo.codehaus.org/webstart/webstart-maven-plugin/index.html -Robert > Date: Wed, 17 Aug 2011 16:50:06 -0400 > Subject: Signed maven dependency and create an assembly > From: amit.vanka...@gmail.com > To: users@maven.apache.org > > Hi All, >

RE: exec-maven-plugin want to pass maven.dependency.classpath as a variable in my EXEC Goal

2011-08-18 Thread Robert Scholte
Looks to me you're trying to use the wrong plugin. This one seems to fit more:http://maven.apache.org/plugins/maven-antrun-plugin/ -Robert > Date: Thu, 18 Aug 2011 15:21:49 -0700 > Subject: exec-maven-plugin want to pass maven.dependency.classpath as a > variable in my EXEC Goal > From: daivis

[ANN] Sql-maven-plugin-1.5 Released

2011-08-27 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the SQL Maven Plugin version 1.5. Use this plugin to execute SQL statements in a combination of strings, a list of files and/or a set of files through sqlCommand, srcFiles, and fileset configurations respectively. http://mojo.codehau

RE: Project With Many Artifacts - Maven Install Artifacts Problem

2011-09-19 Thread Robert Scholte
Check the build-helper-maven-plugin http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html -Robert > Date: Thu, 15 Sep 2011 04:46:04 -0700 > From: rodrigo.zampi...@gmail.com > To: users@maven.apache.org > Subject: Project With Many Artifacts - Maven Install Artifact

RE: APT: Issue with adding xml code snippets as Verbatim

2011-09-22 Thread Robert Scholte
Hi, I had to do a trick to resolve this for the maven-eclipse-plugin documentation [1]It's related to VELOCITY-743 The idea is to assign the "complex" value to a variable, next print that variable. -Robert [1] http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/site/apt/ex

RE: APT: Issue with adding xml code snippets as Verbatim

2011-09-22 Thread Robert Scholte
The inner or outer single quotes should be double quotes or escape the inner ones.Now it's $varline = '${wf:errorCode('followed by noise -Robert > Date: Thu, 22 Sep 2011 14:53:55 -0700 > From: parame...@gmail.com > To: users@maven.apache.org > Subject: RE: APT: Issue with adding xml code snipp

[ANN] Exec-Maven-Plugin 1.2.1 Released

2011-09-23 Thread Robert Scholte
given executable [MEXEC-98] - "object is not an instance of declaring class" error [MEXEC-100] - Plugin breaks arguments containing quotes Improvement [MEXEC-99] - Use int[] instead of java.util.List for successCodes Enjoy, The Mojo

RE: Can I configure the version used as default for Maven plugins?

2011-09-25 Thread Robert Scholte
That should be http://svn.apache.org/viewvc/maven/maven-3/tags/maven-3.0.3/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml?view=log And here you see that the maven-deploy-plugin uses version 2.5 -Robert > Date: Sun, 25 Sep 2011 11:32:03 +0200 > From: pr...@jonand.se > To:

RE: Can I configure the version used as default for Maven plugins?

2011-09-25 Thread Robert Scholte
pom in a manner that would be both controlled and > >> repeatable? > >> > >> That is useful information, I appreciate the suggestion. Though it does > >> seem to me that this information is quite valuable and ought to be more > >> widely disseminated. &g

RE: Maven not pulling down latest snapshot jar issue

2011-09-30 Thread Robert Scholte
Sounds like http://jira.codehaus.org/browse/MNG-5087 -Robert > Date: Fri, 30 Sep 2011 11:46:19 -0400 > From: kurt.s...@gmail.com > To: users@maven.apache.org > Subject: Maven not pulling down latest snapshot jar issue > > 1. I'm using maven-3.0.3 and does anyone else have the issue where th

RE: Managing Different Java Versions

2011-10-10 Thread Robert Scholte
Ok, just two real world examples: http://svn.codehaus.org/mojo/tags/exec-maven-plugin-1.2.1/pom.xml http://svn.codehaus.org/mojo/tags/sql-maven-plugin-1.5/pom.xml These both verify against the jdk1.4 signatues, but the idea should be clear enough. You'll see that the examples kind of mat

RE: maven failing to resolve artifact that exists in *local* repository

2011-10-17 Thread Robert Scholte
Sounds like http://jira.codehaus.org/browse/MNG-5181 -Robert > Date: Mon, 17 Oct 2011 14:29:06 +0200 > Subject: Re: maven failing to resolve artifact that exists in *local* > repository > From: and...@hammar.net > To: users@maven.apache.org > > There was some recent discussion about offline a

RE: Findbugs with external configuration

2011-10-18 Thread Robert Scholte
The findbugs-maven-plugin is part of Codehaus Mojo[1] Try their mailing list[2] -Robert [1] http://mojo.codehaus.org/ [2] http://mojo.codehaus.org/mail-lists.html > Date: Tue, 18 Oct 2011 10:52:56 -0300 > From: fabricio.le...@sefaz.ce.gov.br > To: users@maven.apache.org > Subject: R

RE: Profile activation based on property absence OR property value of "false"

2011-10-24 Thread Robert Scholte
Yes you can, try: !true See http://svn.codehaus.org/mojo/trunk/mojo/sql-maven-plugin/pom.xml > Date: Mon, 24 Oct 2011 17:30:24 -0400 > Subject: Profile activation based on property absence OR property value of > "false" > From: ljnel...@gmail.com > To

RE: How to execute the maven-deploy-plugin:deploy-file from within a Java program

2011-10-29 Thread Robert Scholte
Sounds like you want the Maven Invoker: http://maven.apache.org/shared/maven-invoker/ -Robert > Date: Sat, 29 Oct 2011 22:05:58 +0200 > Subject: How to execute the maven-deploy-plugin:deploy-file from within a > Java program > From: mfriedenha...@

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

2011-11-01 Thread Robert Scholte
ng a corrupt dependencyNew Feature[MOJO-1744] - support ignore classes for specific dependencies Enjoy, The Mojo team. Robert Scholte

RE: Unable to generate html report for maven-findbugs plugin

2011-11-02 Thread Robert Scholte
This is a plugin developed by the Codehaus mojo team[1], not by the Maven team. So their mailinglist[2] would be a better place to ask this question. Executing Maven with an additional -X will give you debug-logs, which might show the problem. The code you're hitting is [3]. Do you have .class

RE: Workaround for manifestEntry bug

2011-11-19 Thread Robert Scholte
This is actually a plexus-archiver issue. I noticed they're using lowercased names for the keys I don't know about such spec of manifest entries, but I guess they had a reason for it. Try also Jira[1] or GIT[2] to get more info. -Robert [1] http://jira.codehaus.org/browse/PLXCOMP/component/1

RE: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-02 Thread Robert Scholte
You could keep the names of the files the same (so without the -min postfix), so modifications are picked up immediately. -Robert > From: jeffma...@jeffmaury.com > Date: Fri, 2 Dec 2011 11:16:01 +0100 > Subject: Fwd: YUI Compressor Maven plugin executed at wrong time and tomcat > plugin n

RE: YUI Compressor Maven plugin executed at wrong time and tomcat plugin not using yui-compressor output

2011-12-04 Thread Robert Scholte
What about warSourceExcludes[1]? Don't make the m-war-plugin responsible for copying these files but the yuicompressor. -Robert [1] http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes > Date: Sun, 4 Dec 2011 08:44:28 -0500 > Subject: Re: YUI Compresso

RE: Maven 2 Archetypes : Folder name with velocity macro using homemade property

2011-12-05 Thread Robert Scholte
I'd expect ${eventName.toLowerCase()} to work, according velocityDocs. The other one sounds like a bug. -Robert > Date: Mon, 5 Dec 2011 16:25:55 +0100 > Subject: Re: Maven 2 Archetypes : Folder name with velocity macro using > homemade property > Fro

RE: skip cobertura for a module

2011-12-12 Thread Robert Scholte
Try to set the version of the plugin to 2.5.1 It is a good practice to always set the version for every plugin. Maven-3.0.x already warns you about it and it will probably be required one day. -Robert ps. why not just run 'mvn install site'? This should already trigger these plugins if

RE: skip cobertura for a module

2011-12-12 Thread Robert Scholte
ill having the same problem. > > Thanks! > > -Jim > > -----Original Message- > From: rfscho...@hotmail.com [mailto:rfscho...@hotmail.com] On Behalf Of > Robert Scholte > Sent: Monday, December 12, 2011 1:33 PM > To: users@maven.apache.org > Subject: RE: skip co

RE: skip cobertura for a module

2011-12-12 Thread Robert Scholte
;>${cobertura.force} > > ${instrumentation} > > ${cobertura.maxmem} > > > > > > > > ${quiet} > > true > > > > > > I'm not putting this into the reporting bit (yet). > > > > -Jim > > > > -Original Message---

RE: native-maven-plugin suggested patch to avoid redundant relink

2011-12-14 Thread Robert Scholte
Could you create a Jira issue[1], together with these patches. This issue tracking system is a much better place to keep track of an issue instead of a mailinglist. -Robert [1] https://jira.codehaus.org/browse/MOJO/component/11773 > Date: Wed, 14 Dec 2011 09:12:22 -0800 > From: sintet

RE: No POM 1 how do I install my POM (Please help!!!)

2011-12-17 Thread Robert Scholte
Funny you can find the mailing lists easier than the usage of Maven. Please read "Maven in 5 minutes"[1] first to understand the basics. -Robert [1] http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html > Date: Sat, 17 Dec 2011 07:46:53 -0800 > From: jason007tho...

RE: maven-release-plugin: using git where do I see the tag used to build the release in the pom?

2011-12-17 Thread Robert Scholte
Hi Mirko, Did you have a look at the related code? http://maven.apache.org/scm/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/xref/org/apache/maven/scm/provider/git/gitexe/command/tag/GitTagCommand.html -Robert > From: mfriedenha...@gmail.com > Date: Sat, 17 Dec

RE: Problem with jaxb2-maven-plugin 1.2

2011-12-18 Thread Robert Scholte
Did you google? This blog explains the problem quite good: http://www.jsfblog.info/2010/04/maven-site-generation-error-dtddvfactoryimpl-does-not-extend-from-dtddvfactory/ -Robert > Date: Sun, 18 Dec 2011 09:31:20 -0800 > From: smokin...@gmail.com > To: users@maven.apache.org > Subject:

RE: having problems with java -cp taget command

2011-12-18 Thread Robert Scholte
This problem has nothing to do with Maven, it's java basics. First of all, you shouldn't look under src/main/java, this is not on the classpath. You should look in the jar. The real problem is a typo: org.JasnThomas.ShadowInnovations org.JasonThomas.ShadowInnovations see the difference?

RE: having problems with java -cp taget command

2011-12-18 Thread Robert Scholte
0-SNAPSHOT.jar org.JasonThomas.ShadowInnovations > Error: Could not find or load main class org.JasonThomas.ShadowInnovations > > C:\Program Files\apache-maven-3.0.3\my-app\joker\MavenTest> > > > > > From: Robert Scholte [via Maven] > To

RE: wagon-ftp & site-plugin issue

2011-12-20 Thread Robert Scholte
I'm pretty sure you hit NET-409[1] and WAGON-357[2] Upgrading this dependency in the m-site-p will solve your problem. -Robert [1] https://issues.apache.org/jira/browse/NET-409 [2] http://jira.codehaus.org/browse/WAGON-357 > Date: Tue, 20 Dec 2011 18:29:38 +0100 > Subject: wago

Re: Exact meaning of -U command line option

2012-01-04 Thread Robert Scholte
If a repository becomes blacklisted for some reason you can use the -U to force an update. With Maven3 you will see a message explaining it if such a situation occurs. -Robert On Wed, 04 Jan 2012 14:38:56 +0100, Peter Niederwieser wrote: "mvn --help" says (both in Maven 2.2.1 and 3.0.2

Re: WEB-INF/lib

2012-01-07 Thread Robert Scholte
Specify the packaging of your project by setting it to "war".[1] -Robert [1] http://maven.apache.org/plugins/maven-war-plugin/usage.html On Sat, 07 Jan 2012 07:42:06 +0100, Rahman USTA wrote: Hi, Can maven copy the dependencies to web-inf/lib directory ? How ---

Re: Mvn commands are stalling

2012-01-09 Thread Robert Scholte
Hi, Even though I'm not a newbie, I can see 2 potential problems with this sentence: 1. line 84, column 15 of what? It doesn't mention the file. Sure, it always about the poms, but we're talking about unexperienced users here. 2. build.plugins.plugin.version ? This doesn't look like xml, so m

Re: maven-plugin-tools-ant custom parameter

2012-01-13 Thread Robert Scholte
have you tried to create a pojo called Person (with getters + setters for firstName and lastName) in the same package as the mojo? did you add something like this to the mojo /** * @parameter */ private Person person; -Robert On Fri, 13 Jan 2012 11:53:53 +0100, Maxime Carpentier wrote:

Re: maven-plugin-tools-ant custom parameter

2012-01-16 Thread Robert Scholte
n true ${person} my.test.maven.Person and in my hello.build.xml : " /> outputs : Hello ${person} - ${person.name} did i miss something ? On Fri, Jan 13, 2012 at 9:21 PM, Robert Scholte wrote: have you tried to create a pojo called Person (

Re: maven-plugin-tools-ant custom parameter

2012-01-17 Thread Robert Scholte
use a List instead of a String parameter ? i'm using maven-plugin-tools-ant because i'd like use an already existing build.xml file... Thanxs for your help, Max On Mon, Jan 16, 2012 at 6:29 PM, Robert Scholte wrote: Yes you're missing something. If we keep it very simple: you

Re: Maven for C/C++ development usable as well? Hudson server?

2012-01-25 Thread Robert Scholte
http://mojo.codehaus.org/maven-native/native-maven-plugin/ On Wed, 25 Jan 2012 14:36:50 +0100, Karl Heinz Marbaise wrote: Hi, take a deep look into the maven nar plugin https://github.com/duns/maven-nar-plugin Kind regards Karl Heinz Marbaise ---

Re: Maven - Unresolved references to [javax.activation, javax.annotation]

2012-01-28 Thread Robert Scholte
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html On Sat, 28 Jan 2012 21:58:04 +0100, rcbandit wrote: I'm developing web application with OSGI. I have a maven configuration error which I cannot find. This is the complete source code: http://uploading.com/files/8e5c9888/

Re: Maven - Unresolved references to [javax.activation, javax.annotation]

2012-01-29 Thread Robert Scholte
The title of this message indicates missing some specific dependencies. The link to the page should tell you need to download them from the sun/oracle site and install them by hand (these dependencies are not available at Maven Central due to licenses) The page should also tell you which grou

Re: webappsource location in POM

2012-03-05 Thread Robert Scholte
Hi, Two suggestions: - remove the executions-section, since you've already configured it in the (global-)plugin configuration - don't use absolute paths. Now it is bound to your system. Either use WebContent or ${basedir}/WebContent -Robert Op Mon, 05 Mar 2012 12:00:45 +0100 schreef sar

Re: Archetypes

2012-03-07 Thread Robert Scholte
I consider archetypes as a service from Maven to get started a bit faster. From what I've seen, JBoss Forge[1] looks like a better alternative for. It claims to support incremental project enhancement. -Robert [1] https://docs.jboss.org/author/display/FORGE/Home Op Wed, 07 Mar 2012 12:15:08 +0

Re: The "perfect" reporting tool?

2012-03-07 Thread Robert Scholte
Hi, As you already mentioned: although Sonar gives you the best reports, it requires a running Sonar application. I once needed the static pages and the dashboard-maven-plugin seemed to be the best solution. I wasn't happy with the implementation and the number of open issues. A long time ag

Re: Maven resources plugin exclude not working

2012-03-19 Thread Robert Scholte
Excludes is always a subset of includes, but since excludes matches every include nothing is filtered. Try it without the excludes-section -Robert Op Mon, 19 Mar 2012 18:38:12 +0100 schreef Al Dispennette : I am trying to use the resources plugin to copy files from one location to anoth

Re: Failing to get -D command line parameter acknowledged when using mvn exec:java

2012-03-25 Thread Robert Scholte
Looks like you missed the important note on the bottom of the usage-page[1]. {quote} Note: The java goal doesn't spawn a new process. Any VM specific option that you want to pass to the executed class must be passed to the Maven VM using the MAVEN_OPTS environment variable. E.g. MAVEN_OPT

[ANN] SiteSkinner Maven Plugin 1.0-beta-1 Released

2012-03-26 Thread Robert Scholte
direct invocation, so to use it run: mvn siteskinner:skin For further instructions read the usage-page:http://mojo.codehaus.org/siteskinner-maven-plugin/usage.html Enjoy, The Mojo team. Robert Scholte

Re: Missing key cacheFile, checkstyle plugin, custom check class

2012-04-13 Thread Robert Scholte
Since checkstyle-2.8 there's a second report: the checkstyle-aggregator-report[1] This causes the the duplicate loglines for the checkstyle-plugin, one for each report. My intuition would say that should always be only 1 report: the checkstyle-aggregator is for pom-packaged projects Robert

Re: Parameterizing the settings...

2012-04-17 Thread Robert Scholte
You've hit https://jira.codehaus.org/browse/MRELEASE-128 It has been fixed and will be part of the next release. Robert Op Mon, 16 Apr 2012 23:31:11 +0200 schreef Jeff : I'm trying to share the SCM settings, primarly the SCM root URL, but when I perform a release, the parameters are changed t

Re: What good is checkModificationExcludeList for release:prepare?

2012-04-17 Thread Robert Scholte
Hi, How did you define checkModificationExcludeList? -Robert Op Tue, 17 Apr 2012 15:18:09 +0200 schreef : I'm using the release plugin for tagging and branching on CVS projects. Certain user-specific property files should not be taggeg nor branched, so I defined checkModificationExcludeLi

[ANN] Maven Release Plugin 2.3 Released

2012-05-11 Thread Robert Scholte
The Maven team is pleased to announce the release of the Maven Release Plugin, version 2.3 This plugin is used to release a project with Maven, saving a lot of repetitive, manual work. Releasing a project is made in two steps: prepare and perform. http://maven.apache.org/plugins/maven-rel

Re: release:perform not removing release.properties

2012-05-21 Thread Robert Scholte
Fixed, will be part of the next release. Robert Op Mon, 21 May 2012 16:01:19 +0200 schreef Mark Hobson : Hi Jesse, Thanks for the feedback. I've raised an issue: http://jira.codehaus.org/browse/MRELEASE-758 Cheers, Mark On 21 May 2012 13:18, Jesse Farinacci wrote: Greetings, On Mon

Re: Fwd: Error while creating hadoop package 2.6.0 with Maven 3.2.3

2014-12-18 Thread Robert Scholte
Hi, I guess you should be able to resolve the warnings, but that's a different issue. When the build of the Apache Hadoop Maven Plugins 2.6.0 starts, I only see "Downloading" Normally this should be followed by "Downloaded...", which means that the download attempt actually succeeded.

Re: Error while creating hadoop package 2.6.0 with Maven 3.2.3

2014-12-19 Thread Robert Scholte
;Unknown tag' for String andFile. Looks like something related to 'Mojo' declaration, butnot sure. I am not a full time developer. Anything related to Maven with PATH variable? Logs attached. Thanks,Venkat. On Thu, Dec 18, 2014 at 11:27 PM, Robert Scholte wrote:Hi, I gue

Re: Creating a jar and a war from a war project

2014-12-19 Thread Robert Scholte
Hi, have a look at the following parameters of the manve-war plugin: - archiveClasses[1] - attachClasses[2] I suggest *not* to use the maven-assembly-plugin in this case. It'll make things over-complex. thanks, Robert [1] http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#arch

Re: Creating a jar and a war from a war project

2014-12-19 Thread Robert Scholte
Re-reading your request... bq. Jar - This should contain all the class files and dependencies of war project. However dependencies should be copied under lib folder of this jar and should not be in unpacked form. I hope you are aware that this conflicts with the jar-specs. The classes in

Re: Maven plugin dependency cannot use parent pom property

2015-01-10 Thread Robert Scholte
Hi, This makes me wonder if the "right" parent is used, so please double check the groupId, artifactId and version. If both parent and module are part of the same multi-module, be sure that the relativePath is correct (defaults to ../pom.xml) You could also use "mvn org.apache.maven.plugins

Re: Maven locking up downloading file over scp in deploy plugin.

2015-02-02 Thread Robert Scholte
Hi, I think you either changes Maven or its wagon-library. See https://jira.codehaus.org/browse/MNG-5605 for details. Root cause is https://jira.codehaus.org/browse/WAGON-429 thanks, Robert Op Sat, 31 Jan 2015 21:05:25 +0100 schreef Kevin Burton : I’m really confused over this issue. I’m

Re: Injecting Settings to plexus component

2015-03-03 Thread Robert Scholte
No, settings is not an injectable (Plexus-)component. So you have to pass it on, for instance as a method argument. thanks, Robert Op Tue, 03 Mar 2015 05:18:25 +0100 schreef Dan Tran : I have a component that requires access to Settings where it is available at MOJO level via @Parameter(def

[ANN] Apache Maven Shared Maven Invoker 2.2 Released

2015-03-24 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Shared Maven Invoker, version 2.2 This API is concerned with firing a Maven build in a new JVM. It accomplishes its task by building up a conventional Maven command line from options given in the current request, a

Re: maven-release-plugin / SVN credentials

2015-03-27 Thread Robert Scholte
Hi Sebastian, since your issue has to do with svn, one needs to look at the Maven SCM project.[1] That's what the maven-release-plugin is using to the commits, tags and checkouts. First ensure you've locked the version of the maven-release-plugin, preferably the lastest (i.e. 2.5.1). If you

Re: AW: maven-release-plugin / SVN credentials

2015-03-27 Thread Robert Scholte
roach seems to work no more. Hence how can I check where are the credentials taken from? Is there some additional kind of extreme logging besides -e / -X switches? Thanks in advance, Sebastian -----Ursprüngliche Nachricht- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Freitag

Re: Deploying to Nexus through haproxy does not work

2015-03-31 Thread Robert Scholte
See http://jira.codehaus.org/browse/MRELEASE-880 Let's try to gather information there. thanks, Robert Op Tue, 31 Mar 2015 14:30:19 +0200 schreef James Green : We have recently moved our Sonartype Nexus installation (latest version) behind haproxy (again latest version). When Jenkins perfo

[ANN] Apache Maven Invoker Plugin 1.10 Released

2015-04-04 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Invoker Plugin, version 1.10 The Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a g

Re: Easy way to tell if I have .class file conflicts between two jars?

2015-04-05 Thread Robert Scholte
Hi, take a look at this enforcer rule: http://mojo.codehaus.org/extra-enforcer-rules/banDuplicateClasses.html Robert Op Sun, 05 Apr 2015 19:57:07 +0200 schreef Kevin Burton : Im looking for a somewhat easy way to tell if a directory of .jar files contains class reference which conflict. F

Re: Logging for dependencies of Maven plugin

2015-04-16 Thread Robert Scholte
Hi, This might be possible with Maven-3.1.1+ by changing the apache-maven-3.x/conf/logging/simplelogger.properties See SimpleLogger[1] for the configuration options. You need to specify a specific logLevel for these packages (org.slf4j.simpleLogger.log.a.b.c) , so it doesn't pick up the de

Re: Logging for dependencies of Maven plugin

2015-04-18 Thread Robert Scholte
is using commons-logging. Sander. Sander Verhagen [ san...@sanderverhagen.net ] NOTICE: my e-mail address has changed. You may still e-mail me at verha...@sander.com but you will see me using san...@sanderverhagen.net from now on. Feel free to update your address book. -Original Me

Re: Adding comments to dependencies in POM

2015-04-20 Thread Robert Scholte
n Users List Subject: Re: Adding comments to dependencies in POM [ Dragging up a really old topic. ] https://issues.apache.org/jira/browse/MNG-5803 Incidentally I would vote against a different namespace as comments are likely to be of use to readers of Maven POMs even if they are used for visual

[ANN] Apache Maven Release Plugin 2.5.2 Released

2015-04-22 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Release Plugin, version 2.5.2 This plugin is used to release a project with Maven, saving a lot of repetitive, manual work. Releasing a project is made in two steps: prepare and perform. http://maven.apache.org/m

Re: Should release:prepare fails when there is snapshot at pluginManagement

2015-04-27 Thread Robert Scholte
Hi Dan, just like dependencies, the maven-release-plugin only checks *used* plugins. So managed plugins/dependencies are ignored. For non-pom projects that's good enough, but for pom-projects which are used as parent, it can be an issue. Use https://issues.apache.org/jira/browse/MRELEASE-

Re: deployAtEnd really works?

2015-05-14 Thread Robert Scholte
deployAtEnd works for most projects, not all. Hence, it is 'false' by default. Improvements need to be made in Maven Core itself[1] It seems like Jason wants to fix this for the next release. [1] https://issues.apache.org/jira/browse/MNG-5666 Op Thu, 14 May 2015 10:21:19 +0200 schreef Karl He

Re: How to package a maven project source code only

2015-06-14 Thread Robert Scholte
Hi, this is probably what you are looking for: http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#project You only have to configure the assembly plugin with project thanks, Robert Op Sun, 14 Jun 2015 16:21:38 +0200 schreef Thomas Meyer : Hi, How to package a bui

Re: A checkstyle plugin mystery

2015-07-11 Thread Robert Scholte
You know that release:perform doesn't do any magic. It would be the same as: cd target/checkout mvn deploy (or mvn deploy site-deploy) If this works as expected (without failures), then it looks like something is leaking. Could you try to switch to the ForkedMavenExecutor? forked-path thank

Re: Specified destination directory cannot be created

2015-08-14 Thread Robert Scholte
Hi, I found https://issues.apache.org/jira/browse/WAGON-64 but that is rather old, I hope you're not using an ancient version of Maven. Other reason could be permission related, although that's weird if it was your user.home, unless Maven is running as a different user. Can you create these

Re: Maven release with sub modules have miss match version??

2015-09-01 Thread Robert Scholte
it should support separate versions, although it is not the best practice. try running it with -DdryRun first to confirm. Robert Op Tue, 01 Sep 2015 17:04:16 +0200 schreef Dan Tran : Hi, is it possible that release plugin can handle this situation? Or the entire release tree must use the sam

Re: @PostContruct for plexus component

2015-09-17 Thread Robert Scholte
Hi Dan, Although the document has a different purpose, https://wiki.eclipse.org/Sisu/PlexusMigration#Initializable should be interesting for you. Robert Op Thu, 17 Sep 2015 18:36:56 +0200 schreef Dan Tran : Hi Is there an equivalent annotation for Plexus Component? The closest I get is

Re: MRELEASE: Release only modules, not project itself

2015-09-24 Thread Robert Scholte
Hi, it is not possible to do a tag-per-project. Several times we get this request, but for hierarchical (i.e. non-flat) multimodule projects it is impossible to do this atomically. And since this the most common structure, I didn't find it not important enough to solve the release with an a

Re: How to handle multiple plugins with the same goal prefix

2015-09-24 Thread Robert Scholte
Hi, if there is generated documentation for the goal, you should be able to see it. E.g. compile:compile [1] You can call this by its full name, i.e. org.apache.maven.plugins:maven-compiler-plugin:3.3:compile The version is optional, Maven will look for a matching version in the pom.xml f

[RESULT] [VOTE] Retire Maven Eclipse Plugin / Donation to Mojohaus

2015-10-07 Thread Robert Scholte
Hi, The vote has passed with the following result: +1 (binding): Barrie Treloar, Arnaud Héritier, Tamás Cservenák, Dennis Lundberg, Hervé BOUTEMY, Olivier Lamy, Karl Heinz Marbaise, Kristian Rosenvold, Jason van Zyl, Robert Scholte +1 (non binding): Tibor Digana, Anders Hammar, Michael

Re: Please reopen MNG-4533 Add an always active profile activator

2015-11-23 Thread Robert Scholte
Hi, One other thing that comes to my mind: is this a build/site time profile or also a "consume"-time profile. With the latter I mean: should the profile have any effect when its artifact is used as a dependency? I think the answer is 'no', which means that the profile shouldn't always be a

Re: Please reopen MNG-4533 Add an always active profile activator

2015-11-25 Thread Robert Scholte
lot of sense. Do you know if this is documented anywhere? Best regards, Arend On Mon, Nov 23, 2015 at 11:08 PM, Robert Scholte wrote: Hi, One other thing that comes to my mind: is this a build/site time profile or also a "consume"-time profile. With the latter I mean: should the pr

[Jigsaw] Get involved and stay informed about Maven and JDK9 Jigsaw

2015-12-10 Thread Robert Scholte
Hi, the Apache Maven team has decided to introduce a new subject prefix for the maven-dev mailinglist[1]. Messages prefixed with [Jigsaw] will be used to share information about Mavens progress on adopting JDK9 Jigsaw. Current status: I've been able to package the current codebase of Maven

Re: maven-compiler-plugin cannot find class files in WEB-INF/classes

2015-12-12 Thread Robert Scholte
Hi Chris, this isn't really a maven-compiler-plugin issue. This is how the java compiler (JAVA_HOME/bin/javac) works, or to be more precise: how the classpath works. It expects that the packages are in the root of the archive, not in a subdirectory like WEB-INF/classes. Best practice in t

Re: maven-compiler-plugin cannot find class files in WEB-INF/classes

2015-12-15 Thread Robert Scholte
expense of more more project to build the JAR for the bundle. Chris IBM Middleware Research Triangle Park, NC (919) 224-2240 Internet: barl...@us.ibm.com From: "Robert Scholte" To: "Maven Users List" Date: 12/12/2015 07:07 AM Subject:Re: maven-compiler-plugin ca

Re: Best practices: m-release-p and svn:externals

2015-12-19 Thread Robert Scholte
Op Thu, 17 Dec 2015 12:31:02 +0100 schreef Thorsten Heit : Hi, I have a few Maven projects that use svn:externals to link to code and/or resources stored in different paths in our Subversion repository. Compiling, packaging, deploying etc, works fine; even creating releases with m-release-p (

Re: Best practices: m-release-p and svn:externals

2015-12-19 Thread Robert Scholte
For the maven-release-plugin and maven-scm this is not possible. I can give you a couple of links which you can look at to understand what's happening right now. Keep in mind that if we want to add such feature, we need to think for all SCMs, and not just svn. If there are more SCMs with an e

Re: [VOTE] Retire Maven Application Skin, Maven Classic Skin, Maven Stylus Skin

2015-12-27 Thread Robert Scholte
+1 Op Thu, 24 Dec 2015 23:34:36 +0100 schreef Michael Osipov <1983-01...@gmx.net>: Hi, as previously suggested, it makes sense to retire those skins because they haven't been updated for a long time and we don't have the resources to maintain them properly [1]. Last releases: Maven Applica

Re: maven-metadata.xml should be deployed last

2016-01-08 Thread Robert Scholte
+1 Also interesting to figure out: if upload works in parallel, do we need to divide this in two: first pom, main artifact and attached artifacts, second the metadata files. Or is Aether already aware of this? maven-deploy-plugin 3.0 will use maven-artifact-transfer. Could you make a JIRA is

Re: Filtering resources

2016-01-13 Thread Robert Scholte
Hi, What would you expect when start and end delimiters are the same in combination with nested expression. Don't think that'll ever work. I assume that in your case @PoolSize.@ and @@ are evaluated. AFAIK only with different delimiters nested expressions could work. thanks, Robert Op Wed, 1

  1   2   3   4   5   6   >