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 per

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: http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-in

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 sp

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 ea

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? true ${project.groupId}:module1

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 : Hi Robert, I managed to actually get something working in the meanwhile. Here's what I did: - I created an API artifact containing th

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 : > 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: > [...] > http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compi

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 : > > I downloaded maven-eclipse-compiler version 1.9.2 from maven re

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