Maven - Skip reporting on specific modules -


i looking solution skip maven reporting on modules not critical final product. such modules unit tests only, or third party plug-in log4j.

i have parent pom, in modules defined.

<project>   <modules>     <module>module1</module>     <module>module2</module>     <module>module3</module>     <module>module4</module>   </modules> </project> 

there dependencies , profiles. please keep in mind, project builds. im looking reduce time mvn package site complete (currently on 30min)

stepping module1 there parent info, artifact id, , packaging (pom). more sub-modules defined

<modules>      <module>package1</module>     <module>package2</module>     <module>package1.tests</module> </modules> 

it package1.test want skip reporting on.

most of can find revolves around plugins such maven website:

<build> <plugins>   <plugin>     <groupid>org.apache.maven.plugins</groupid>     <artifactid>maven-site-plugin</artifactid>     <version>3.1</version>     <configuration>       <skip>true</skip>       <skipdeploy>true</skipdeploy>     </configuration>   </plugin> </plugins> </build>  

but not seeing how apply modules. , did try adding <config> , <skip> modules lines.

i appreciate suggestions. new world of maven explanations welcome.

using maven 3.0.4 currently.

i not seeing how apply modules. , did try adding , modules lines.

the maven site plugin configuration skip site generation , deployment applies project poms , not modules. can add above snippet each project pom not want site information generated.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -