HHH-3134 : define documentation module and sub-modules in profile

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14377 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2008-02-28 01:16:41 +00:00
parent c07cb17dc7
commit 8e3b6b9974
1 changed files with 15 additions and 23 deletions

38
pom.xml
View File

@ -42,7 +42,6 @@
<module>bytecode-cglib</module>
<module>bytecode-javassist</module>
-->
<module>documentation</module>
</modules>
<build>
@ -55,34 +54,19 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-1</version>
<executions>
<execution>
<id>assemble</id>
<phase>deploy</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/assembly/dist.xml</descriptor>
<descriptor>src/assembly/hibernate-all.xml</descriptor>
</descriptors>
</configuration>
</plugin>
-->
</plugins>
</build>
<profiles>
<profile>
<!--
A profile used implicitly by the release plugin. Here we use it to enable documentation building
as well as execution of the assembly plugin (to build the SourceForge dist).
-->
<id>release</id>
<modules>
<module>documentation</module>
</modules>
<build>
<plugins>
<plugin>
@ -108,5 +92,13 @@
</plugins>
</build>
</profile>
<!-- seperate profile for documentation activation -->
<profile>
<id>docs</id>
<modules>
<module>documentation</module>
</modules>
</profile>
</profiles>
</project>