Re: Multiple projects - one artifact

2010-10-04 Thread Thomas Markus
Hi, for web try war overlays. Create one master war project that merges all other war subprojects regards Thomas Am 03.10.2010 15:26, schrieb Dirk Reske: Hello, is it possible to build one artifact out of multiple projects. We are trying to modularize the development. Example:

scm problems wtih release plugin

2010-09-15 Thread Thomas Markus
hi, i have a multi module project (40 projects) with cvs as scm. when i try to create a release i got the error [INFO] Tagging release with the label xxx-5_6_986... [INFO] [ERROR] BUILD FAILURE [INFO]

Re: How does maven resolve the plugin version to be used when outside a project

2010-09-13 Thread Thomas Markus
Hi, try something like mvn org.apache.maven.plugins:maven-help-plugin:2.1:describe -Dplugin=help regards Thomas Am 13.09.2010 10:59, schrieb Baptiste MATHUS: Hi all, I'm currently trying to manually run dependency:get, but it doesn't work since maven is trying to use 2.0 plugin version

Re: How does maven resolve the plugin version to be used when outside a project

2010-09-13 Thread Thomas Markus
sry, its defined in super-pom. for 2.2.1 check lib/maven-2.2.1-uber.jar org/apache/maven/project/pom-4.0.0.xml. dont know how to redefine (change pom-4.0.0.xml) regards Thomas Am 13.09.2010 11:37, schrieb Baptiste MATHUS: I also said I know the full form... :) Thanks 2010/9/13 Thomas

Re: Copy target file from another module

2010-07-21 Thread Thomas Markus
Hi, create a war with your generated sources and use it as a war overlay regards Thomas Am 21.07.2010 15:49, schrieb Will Hoover: I have a multi-module project where one of the modules needs to copy internally generated file(s) that do not come from any maven-aware resources from a module

Re: ip address range blocked to maven infrastructure?

2010-07-20 Thread Thomas Markus
Hi, repo2.maven.org works fine. All hops are inside ibm network (9.0.0.0/8) so i guess its an internal problem. regards thomas Am 20.07.2010 14:38, schrieb kelvin goodson: My colleagues and I are having problems building with maven, because the maven central repo is not accessible from

Re: Maven jaxb2 plugin encoding issue

2010-07-09 Thread Thomas Markus
Hi, try to deactivate the header. configuration arguments-no-header/arguments ... regards thomas Am 09.07.2010 04:36, schrieb zhaoyi: I set up jaxb2 plugin in my maven. It will generate code first then compile the code. My problem is that when jaxb2 generate the code, it will generate a

Re: Maven jaxb2 plugin encoding issue

2010-07-09 Thread Thomas Markus
Hi, we use plugin !-- http://mojo.codehaus.org/jaxb2-maven-plugin/xjc-mojo.html -- groupIdorg.codehaus.mojo/groupId artifactIdjaxb2-maven-plugin/artifactId version1.3/version executions execution idjaxb2-maven-plugin-run/id phasegenerate-sources/phase goals goalxjc/goal /goals configuration

Re: how can i build a jar file without doing junit test?

2010-05-26 Thread Thomas Markus
Hi, specify -Dmaven.test.skip=true mvn -Dmaven.test.skip=true package regards Thomas Am 26.05.2010 09:47, schrieb A. Fuat Sungur: Hi, i am new user of maven and i confess that i like it. its Very handy tool . i have a question, building a jar file takes too much time because of junit

question about profile inheritance

2010-02-05 Thread Thomas Markus
hi, i try to define profiles in a parent pom and activate these profiles in a child pom. its a little bit confusion. in child project part1 mvn help:active-profiles shows - test1 (source: pom) - base (source: settings.xml) but a mvn doesn't runs my plugin (no inheritance) but a mvn -P

Re: question about profile inheritance

2010-02-05 Thread Thomas Markus
i read this, but the behaviour is not constistent. and how to define reusable profiles for multiple projects? thanks Thomas Am 05.02.2010 13:14, schrieb Jörg Schaible: [snip] Activation of a profile is either global if set by command line or activated in the settings.xml, otherwise the