maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@scalaris.com>
Subject Re: maven-eclipse-plugin - configure source and output-folders
Date Mon, 07 Oct 2013 06:28:46 GMT
Hi Andreas,

Andreas Dolk wrote:

> Hi all,
> 
> we have a rather complex project structure with a lot of projects and a
> couple of code generators that produce java classes for production and
> test. The challenge now is to configure the build files so that a mvn
> eclipse:eclipse run will create all required source folders and set the
> correct output folders, for example:
> 
> src folder: src/main/code-gen
> out folder: (default) -> target/classes
> 
> src folder: src/test/code-gen
> out folder: target/test-classes
> 
> Currently we use the maven build helper to set the source folders but I
> still don't know how to set the out dirs - now it creates a project config
> that compiles production and test classes into the same out folder which
> actually causes conflicts.

Isn't that automatically done using build-helper:add-source vs. build-
helper:add-test-source?

> Is there any way to "fine-tune" the .classpath file programmatically?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message