Implementing a Maven plugin with alternate mojo/component implementations?

2012-12-02 Thread christofer.d...@c-ware.de
Hi, I am currently setting up a new Maven plugin project and am currently faced with the following problem: I have fefined a dafaultLifecycle which defines which mojos should generally be invoked in which phase. My problem now is that I would like to have different implementations used for

RE: No compile errors with plexus-compiler-eclipse

2012-12-02 Thread Martin Gainty
Hello Peter I downloaded maven-eclipse-compiler version 1.9.2 from maven repo1 and was able to use the pom.xml to compile and package here is the pom.xml i implemented: ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Re: Implementing a Maven plugin with alternate mojo/component implementations?

2012-12-02 Thread Robert Scholte
Here are some plugins which you should have a look at: maven-compiler-plugin ( compilerId ) maven-release-plugin ( mavenExecutorId ) Now you need to do some Plexus-stuff, since that's the DI-framework for Maven. Every task-implementation needs to have the same interface (plexus role) and a

AW: Implementing a Maven plugin with alternate mojo/component implementations?

2012-12-02 Thread christofer.d...@c-ware.de
Hi Robert, I managed to actually get something working in the meanwhile. Here's what I did: - I created an API artifact containing the interface of my modules. - I created several Implementations of the Interfaces each one annotated with @Component with the Role set to the Interface class and

hi, is these any properties like ${project.module} in maven's system properties?

2012-12-02 Thread a
I assembly a multi-module project, in the assembly, I write like the follow, is there any property word like ${project.module} to replace module1? or can i user .properties file to set project.module1=module1? moduleSets moduleSet

Re: AW: Implementing a Maven plugin with alternate mojo/component implementations?

2012-12-02 Thread Robert Scholte
Hi Chris, yes, this is a right approach, matches close to what I described. Robert Op Sun, 02 Dec 2012 16:05:23 +0100 schreef christofer.d...@c-ware.de christofer.d...@c-ware.de: Hi Robert, I managed to actually get something working in the meanwhile. Here's what I did: - I created an

Re: No compile errors with plexus-compiler-eclipse

2012-12-02 Thread Peter Palmreuther
Hello Martin, Am 02.12.2012 um 15:37 schrieb Martin Gainty mgai...@hotmail.com: I downloaded maven-eclipse-compiler version 1.9.2 from maven repo1 and was able to use the pom.xml to compile and package here is the pom.xml i implemented: [...]

RE: No compile errors with plexus-compiler-eclipse

2012-12-02 Thread Martin Gainty
Subject: Re: No compile errors with plexus-compiler-eclipse From: pitpa...@gmail.com Date: Sun, 2 Dec 2012 20:05:53 +0100 To: users@maven.apache.org Hello Martin, Am 02.12.2012 um 15:37 schrieb Martin Gainty mgai...@hotmail.com: I downloaded maven-eclipse-compiler version 1.9.2

RE: problem while conversion in build

2012-12-02 Thread Praveen Jain
Can u please someone tell , how can I add german characters in validation.global.xml? So that it can be converted exactly in validation.xml m while building. Thanks Warm Regards, Praveen Jain Praveen Jain | 020-66563094 Prime Sourcing, Oracle Financial Services, Oracle Park,