maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Eclipse multi-module project with maven
Date Tue, 09 Nov 2010 14:04:42 GMT
Keep your aggregating project clean. Move you build stuff to a separate
module.

/Anders

On Tue, Nov 9, 2010 at 15:02, jeb001 <jeremy.jardin@gmail.com> wrote:

>
> sure, here it is :
>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>        <modelVersion>4.0.0</modelVersion>
>        <groupId>fr.gouv.finances.douane.dnsce.mavenProject</groupId>
>        <artifactId>MavenProject</artifactId>
>        <version>1.0.2-SNAPSHOT</version>
>        <packaging>pom</packaging>
>        <name>MavenProject</name>
>
>        <dependencies>
>                <!-- dependencies -->
>        </dependencies>
>
>        <build>
>
>                <resources>
>                        <resource>
>                                <directory>${basedir}/conf</directory>
>                        </resource>
>                </resources>
>                <testResources>
>                        <testResource>
>                                <directory>${basedir}/confTest</directory>
>                        </testResource>
>                </testResources>
>
>
>  <testSourceDirectory>${basedir}/JunitSources</testSourceDirectory>
>                <outputDirectory>${basedir}/classes</outputDirectory>
>
>  <testOutputDirectory>${basedir}/classes</testOutputDirectory>
>                <plugins>
>                        <plugin>
>                                <groupId>org.codehaus.mojo</groupId>
>
>  <artifactId>build-helper-maven-plugin</artifactId>
>                                <version>1.5</version>
>                                <executions>
>                                        <execution>
>
>  <phase>generate-sources</phase>
>                                                <goals>
>
>  <goal>add-source</goal>
>                                                </goals>
>                                                <configuration>
>                                                        <sources>
>
>  <source>${basedir}/IbatisSources</source>
>
>  <source>${basedir}/PersistanceSources</source>
>
>  <source>${basedir}/JavaSources</source>
>                                                        </sources>
>                                                </configuration>
>                                        </execution>
>                                </executions>
>                        </plugin>
>                        <plugin>
>
>  <artifactId>maven-compiler-plugin</artifactId>
>                                <version>2.3.1</version>
>                                <configuration>
>                                        <source>1.5</source>
>                                        <target>1.5</target>
>                                </configuration>
>                        </plugin>
>                </plugins>
>        </build>
>
>  <modules>
>    <module>MavenBatch</module>
>    <module>MavenWeb</module>
>  </modules>
>
> </project>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Eclipse-multi-module-project-with-maven-tp3256822p3256864.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message