Re: Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Joachim Van der Auwera
You can overwrite the checkstyle version. My configuration looks like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId version2.12.1/version configuration configLocationcheckstyle.xml/configLocation

Re: Company-wide checkstyle.xml ?

2014-10-23 Thread Joachim Van der Auwera
Something similar is done in Geomajas, a separated dependency with the checkstyle configuration. See https://github.com/geomajas/geomajas-build-tools/tree/master/geomajas-checkstyle Kind regards, Joachim On 10/21/2014 02:16 AM, Bernd Eckenfels wrote: Am Mon, 20 Oct 2014 11:47:05 -0400

Re: Using github as a maven repo

2014-03-05 Thread Joachim Van der Auwera
Why not have it included in maven central. This is quite easy for open source projects and much more practical for your users. See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide Kind regards, Joachim On 03/05/2014 09:23 PM, Howard wrote: Hi all I

Re: Making parent pom the absolute authority over it's children's versioning

2013-08-14 Thread Joachim Van der Auwera
Istead of editing the parent pom by hand, you could use a maven to do this for you. This will change all versions in the child projects/directories as well: mvn versions:set -DnewVersion=1.0.0.20-SNAPSHOT Kind regards, Joachim On 08/14/2013 11:01 AM, TenLeftFingers wrote: I have a project

Re: activeProfiles

2013-03-24 Thread Joachim Van der Auwera
I adjusted my maven startup script to automatically use project specific settings.xml file: see http://blog.progs.be/311/project-specific-maven-settings-xml Kind regards, Joachim On 03/24/2013 05:25 PM, Wayne Fay wrote: I was trying to avoid having two setting.xml files. I was also thinking

Re: gwt-maven-plugin - maven-release-plugin

2012-11-28 Thread Joachim Van der Auwera
We have used gwt-maven-plugin in combination with the maven-release-plugin without problems in the Geomajas project. We do not use compileSourcesArtifacts though, we always either include the sources in the jars themselves or include the sources jars as dependency in the project. Kind

Re: Version ranges not working

2012-09-27 Thread Joachim Van der Auwera
Why not use [1.7.0,1.7.99] Just remember this when the project reaches revision 100 :-) On 27-09-12 15:41, Jesse Long wrote: Dear Maven Community, I am writing to beg you to fix the problems with the version ranges in Maven 3.0.5, specifically regarding the defining compatible version

Re: 5 minutes guide - error

2012-06-22 Thread Joachim Van der Auwera
I would suggest retrying with a more recent maven version, preferable 3.0.4 or if you need to stick to maven2 2.2.1. Version 2.0.11 is quite ancient and later versions have many improvements. Kind regards, Joachim On 22-06-12 12:42, shachar wrote: Hi, Ive followed the installation guide. mvn

Re: Using scope in dependencyManagement: good idea or bad?

2012-06-01 Thread Joachim Van der Auwera
In my experience a bad idea (bitten by this in the past). If the same dependency is mentioned in dependencyManagement in various places, then you may end up with the wrong scope. I use dependencyManagement to specify the version and possibly exclusions. Scope is still managed in the

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

2012-04-13 Thread Joachim Van der Auwera
Could it be that you are empacted by http://jira.codehaus.org/browse/MCHECKSTYLE-142 I guess not all maven properties are accessible in the checkstyle configuration. Depending on how you defined the cacheFile or checkstyle.cache.file properties, they may not be visible to checkstyle. Kind

Re: Odd dependency provlem (gwt-dev 2.3.0)

2011-08-31 Thread Joachim Van der Auwera
This can of problem can occur when using a version of gwt-maven-plugin which is too old. Kind regards, Joachim On 08/30/2011 08:02 PM, gpmurugan wrote: Hi, I am facing the same issue today. Unable to download the artifact from any repository. Then install it using the command: mvn

Re: Versioning sub-modules as well as the project as a whole.

2011-06-07 Thread Joachim Van der Auwera
Sorry for the very late reply... On 03/09/2011 07:16 PM, Daryl Lonnon wrote: Joachim, So effectively, each of the modules you wish to version separately, is treated as it's own release. Then you have a separate release (the dep module) that specifies dependency to all of your other modules.

Re: maven-gwt-plugin?

2011-05-26 Thread Joachim Van der Auwera
I think that is very old. Try using groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId Kind regards, Joachim On 05/26/2011 03:28 PM, Martin Gainty wrote: Hi Folks- attempting to get maven-gwt built and running into a raft of missing files and libraries (and or wrong

Re: multi-module project and order of plugin execution

2011-04-26 Thread Joachim Van der Auwera
Why not create a separate module to build the assembly and have that module depend on the other modules it needs. That should do the trick. Kind regards, Joachim On 04/26/2011 03:00 PM, Francis ANDRE wrote: Regardless who's opinion is right, this is how it works in Maven as well. My view is

Re: Versioning sub-modules as well as the project as a whole.

2011-03-09 Thread Joachim Van der Auwera
The way we handle this in the Geomajas project is for (sets of) modules to have their own version and have one module (the -dep module) which only contains a pom with dependencyManagement section which defines the latest version of all modules (actually this pulls in the parent module for each

maven profile selection

2011-02-01 Thread Joachim Van der Auwera
Hi, I have a build for a GWT module. This includes the GWT plug-in for compilation (which is slow) and selenium integration tests (slow again). Some of the developers use m2eclipse for development, so we have configured the GWT compilation to be disabled when the m2e.version property is set

Re: maven profile selection

2011-02-01 Thread Joachim Van der Auwera
On 02/01/2011 10:55 AM, Jörg Schaible wrote: Joachim Van der Auwera wrote: Hi, I have a build for a GWT module. This includes the GWT plug-in for compilation (which is slow) and selenium integration tests (slow again). Some of the developers use m2eclipse for development, so we have

Re: maven profile selection

2011-02-01 Thread Joachim Van der Auwera
On 02/01/2011 11:03 PM, Jörg Schaible wrote: Hi Joachim, Joachim Van der Auwera wrote: On 02/01/2011 10:55 AM, Jörg Schaible wrote: Joachim Van der Auwera wrote: Hi, I have a build for a GWT module. This includes the GWT plug-in for compilation (which is slow) and selenium integration

Re: release:perform on a submodule using git

2011-01-13 Thread Joachim Van der Auwera
On 01/12/2011 09:57 PM, Olivier Lamy wrote: Hello, Have a look at http://jira.codehaus.org/browse/MRELEASE-457 That looks like what I want. Thanks. Joachim - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: release:perform on a submodule using git

2011-01-13 Thread Joachim Van der Auwera
://jira.codehaus.org/browse/MRELEASE-457 would be a suitable fix. Thanks, Joachim On Wed, Jan 12, 2011 at 12:54 PM, Joachim Van der Auwera joac...@progs.bewrote: I have a large project with many independently releasable submodules. They are stored in one large git repository. When I want to release

release:perform on a submodule using git

2011-01-12 Thread Joachim Van der Auwera
I have a large project with many independently releasable submodules. They are stored in one large git repository. When I want to release an individual module, the release:prepare seems to work fine, but the release:perform tries to run a deploy on the entire project. Is there a way to

Re: Properties in the archetype

2010-11-18 Thread Joachim Van der Auwera
I tried using this some time ago and remember this cannot be used for generic properties, only for groupId (if I remember correctly). The archetype plugin has some limitations at the moment. I hope this can be improved soon. Joachim On 11/18/2010 12:36 PM, Asmann, Roland wrote: Doesn't

Re: maven3 profile activation by absense of property

2010-10-21 Thread Joachim Van der Auwera
of commerce Rotterdam: 22048547 Boeken voor school en werk bestel je op studieboekencenter.nl 2010/10/20 Joachim Van der Auwerajoac...@progs.be On 10/20/2010 12:35 PM, Wendy Smoak wrote: On Wed, Oct 20, 2010 at 5:32 AM, Joachim Van der Auwera joac...@triathlon98.com wrote

Re: Maven wants to get plugin versions that don't exist

2010-10-21 Thread Joachim Van der Auwera
) for project org.apache.maven.plugins:maven-archetype-plugin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Joachim Van der Auwera PROGS bvba

maven3 profile activation by absense of property

2010-10-20 Thread Joachim Van der Auwera
I am using the following profile profiles profile iddocumentation/id activation property name!skipDocs/name /property /activation modules moduledocumentation/module /modules /profile /profiles However, since the switch to maven3 this does not worka anymore and mvn -DskipDocs install will still

Re: maven3 profile activation by absense of property

2010-10-20 Thread Joachim Van der Auwera
On 10/20/2010 12:35 PM, Wendy Smoak wrote: On Wed, Oct 20, 2010 at 5:32 AM, Joachim Van der Auwera joac...@triathlon98.com wrote: However, since the switch to maven3 this does not worka anymore and mvn -DskipDocs install will still include the documentation module. Do I have to do

Re: Seeking advice on multimodule build with JBoss archive formats

2006-11-30 Thread Joachim Van der Auwera
you not set the module name using bundleFileName, see http://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-a-module-filename.html Kind regards, Joachim -- Joachim Van der Auwera PROGS bvba, progs.be

Re: problem with provided scope

2006-11-06 Thread Joachim Van der Auwera
what your project is missing are the transitive dependencies of the provided artifact? Joachim Van der Auwera wrote: I am using maven 2.0.4 In my project, I have some artifacts which are defined as provided scope as these artifacts should not be included in the war file. So far so good

How to get path to artifact for a dependency in a plugin

2006-11-05 Thread Joachim Van der Auwera
I am writing a plugin where I need access to the jar file for a dependency. I have tried looping the dependencies to find this (from MavenProject.getDependencies()), but the dependencies always seem to have null as their getSystemPath() value. I have also tried checking the artifacts, but

How to get path to artifact for a dependency in a plugin

2006-11-05 Thread Joachim Van der Auwera
I am writing a plugin where I need access to the jar file for a dependency. I have tried looping the dependencies to find this (from MavenProject.getDependencies()), but the dependencies always seem to have null as their getSystemPath() value. I have also tried checking the artifacts, but

problem with provided scope

2006-11-05 Thread Joachim Van der Auwera
I am using maven 2.0.4 In my project, I have some artifacts which are defined as provided scope as these artifacts should not be included in the war file. So far so good. However, once I change the scope, my project does not *compile* any more as the artifacts seem to have disappeared from

problem with using my plugin

2006-10-30 Thread Joachim Van der Auwera
I am trying to write a custom plugin, but when I try to use it, I get the following exception : [INFO] Internal error in the plugin manager executing goal 'be.unid:Uni-d-maven-plugin:0.8-SNAPSHOT:generate': Error adding plugin dependency 'be.unid:Uni-d-generate:jar' into plugin manager:

Re: problem with using my plugin

2006-10-30 Thread Joachim Van der Auwera
it in debug mode with the -X attribute. On 10/30/06, Joachim Van der Auwera [EMAIL PROTECTED] wrote: I am trying to write a custom plugin, but when I try to use it, I get the following exception : [INFO] Internal error in the plugin manager executing goal 'be.unid:Uni-d-maven-plugin:0.8