Revision: e9dcc6c3eede
Author: Eduardo Martins <[email protected]>
Date: Wed Aug 22 10:17:17 2012
Log: updating binary release maven code
http://code.google.com/p/jain-slee/source/detail?r=e9dcc6c3eede
Modified:
/api/extensions/pom.xml
/container/docs/jdocbook-mobicents/pom.xml
/container/docs/jdocbook-telscale/pom.xml
/container/pom.xml
/pom.xml
/tools/jopr-plugin/docs/jdocbook-mobicents/pom.xml
/tools/jopr-plugin/docs/jdocbook-telscale/pom.xml
/tools/jopr-plugin/jar/pom.xml
/tools/jopr-plugin/pom.xml
/tools/slee-management-console/docs/jdocbook-mobicents/pom.xml
/tools/slee-management-console/docs/jdocbook-telscale/pom.xml
/tools/slee-management-console/pom.xml
/tools/twiddle/docs/jdocbook-mobicents/pom.xml
/tools/twiddle/docs/jdocbook-telscale/pom.xml
/tools/twiddle/pom.xml
/tools/twiddle/release/pom.xml
=======================================
--- /api/extensions/pom.xml Wed Aug 8 04:59:10 2012
+++ /api/extensions/pom.xml Wed Aug 22 10:17:17 2012
@@ -5,6 +5,7 @@
<groupId>org.mobicents.servers.jainslee.core</groupId>
<artifactId>mobicents-slee-core</artifactId>
<version>2.8.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
</parent>
<groupId>org.mobicents.servers.jainslee.api</groupId>
=======================================
--- /container/docs/jdocbook-mobicents/pom.xml Wed Aug 8 04:59:10 2012
+++ /container/docs/jdocbook-mobicents/pom.xml Wed Aug 22 10:17:17 2012
@@ -96,5 +96,35 @@
</plugin>
</plugins>
</build>
-
+
+ <profiles>
+ <profile>
+ <id>binary-release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<!-- copy docs -->
+ <copy overwrite="true"
todir="${release.dir}/docs/container/user-guide">
+
<fileset dir="${basedir}/target/docbook/publish" />
+
</copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
=======================================
--- /container/docs/jdocbook-telscale/pom.xml Wed Aug 8 04:59:10 2012
+++ /container/docs/jdocbook-telscale/pom.xml Wed Aug 22 10:17:17 2012
@@ -97,4 +97,34 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>binary-release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<!-- copy docs -->
+ <copy overwrite="true"
todir="${release.dir}/docs/container/user-guide">
+
<fileset dir="${basedir}/target/docbook/publish" />
+
</copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
=======================================
--- /container/pom.xml Wed Aug 8 04:59:10 2012
+++ /container/pom.xml Wed Aug 22 10:17:17 2012
@@ -1,16 +1,18 @@
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<parent>
<groupId>org.mobicents.servers.jainslee.core</groupId>
<artifactId>mobicents-slee-core</artifactId>
<version>2.8.0-SNAPSHOT</version>
+ <relativePath>..</relativePath>
</parent>
-
+
<artifactId>mobicents-slee-core-container</artifactId>
-
+
<packaging>pom</packaging>
-
+
<properties>
<slee.name>Mobicents JAIN SLEE</slee.name>
<slee.vendor>Mobicents</slee.vendor>
@@ -19,7 +21,7 @@
<!-- OTHER MOBICENTS COMPONENTS VERSIONS -->
<mobicents.cluster.version>1.13</mobicents.cluster.version>
</properties>
-
+
<modules>
<module>jmx-property-editors</module>
<module>deployer</module>
@@ -38,15 +40,15 @@
<module>timers</module>
<module>services</module>
<module>congestion</module>
- <module>ant-tasks</module>
+ <module>ant-tasks</module>
<module>standard-components</module>
<module>server-resources</module>
<module>server-default-beans</module>
- <module>server-all-beans</module>
+ <module>server-all-beans</module>
</modules>
-
+
<dependencyManagement>
- <dependencies>
+ <dependencies>
<dependency>
<groupId>org.mobicents.cluster</groupId>
<artifactId>core</artifactId>
@@ -61,19 +63,25 @@
<groupId>org.mobicents.cluster</groupId>
<artifactId>timers</artifactId>
<version>${mobicents.cluster.version}</version>
- </dependency>
+ </dependency>
</dependencies>
</dependencyManagement>
-
+
<profiles>
<profile>
<id>maven-release</id>
<modules>
- <module>docs</module>
+ <module>docs</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>binary-release</id>
+ <modules>
+ <module>docs</module>
</modules>
</profile>
- </profiles>
-
+ </profiles>
+
<build>
<plugins>
<plugin>
@@ -93,5 +101,5 @@
</plugin>
</plugins>
</build>
-
+
</project>
=======================================
--- /pom.xml Sun Aug 12 06:07:57 2012
+++ /pom.xml Wed Aug 22 10:17:17 2012
@@ -44,6 +44,30 @@
</plugin>
</plugins>
</build>
+ </profile>
+ <profile>
+ <id>binary-release</id>
+ <modules>
+ <module>tools/jopr-plugin</module>
+ <module>tools/slee-management-console</module>
+ <module>tools/twiddle</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>binary-release-javadoc</id>
+ <build>
+ <plugins>
+ <plugin>
+
<groupId>org.apache.maven.plugins</groupId>
+
<artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8.1</version>
+ <configuration>
+
<reportOutputDirectory>${release.dir}/docs/container</reportOutputDirectory>
+ <destDir>javadoc</destDir>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>
=======================================
--- /tools/jopr-plugin/docs/jdocbook-mobicents/pom.xml Wed Aug 8 04:59:10
2012
+++ /tools/jopr-plugin/docs/jdocbook-mobicents/pom.xml Wed Aug 22 10:17:17
2012
@@ -15,7 +15,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -30,7 +30,7 @@
<configuration>
<tasks>
<!-- copy docs -->
- <copy overwrite="true"
todir="${basedir}/../../../../release/${release.name}/tools/jopr-plugin/docs">
+ <copy overwrite="true"
todir="${release.dir}/docs/tools/jopr-plugin/user-guide">
<fileset dir="${basedir}/target/docbook/publish" />
</copy>
</tasks>
=======================================
--- /tools/jopr-plugin/docs/jdocbook-telscale/pom.xml Wed Aug 8 04:59:10
2012
+++ /tools/jopr-plugin/docs/jdocbook-telscale/pom.xml Wed Aug 22 10:17:17
2012
@@ -94,5 +94,35 @@
</plugin>
</plugins>
</build>
-
+
+ <profiles>
+ <profile>
+ <id>binary-release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<!-- copy docs -->
+ <copy overwrite="true"
todir="${release.dir}/docs/tools/jopr-plugin/user-guide">
+
<fileset dir="${basedir}/target/docbook/publish" />
+
</copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
=======================================
--- /tools/jopr-plugin/jar/pom.xml Mon Jun 18 05:01:42 2012
+++ /tools/jopr-plugin/jar/pom.xml Wed Aug 22 10:17:17 2012
@@ -217,7 +217,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -231,12 +231,12 @@
</goals>
<configuration>
<tasks>
- <copy overwrite="true"
todir="${basedir}/../../../release/${release.name}/tools/jopr-plugin">
+ <copy
overwrite="true" todir="${release.dir}/tools/jopr-plugin">
<fileset dir="${basedir}/target">
<include name="**.jar" />
</fileset>
</copy>
- <copy overwrite="true" file="${basedir}/release/README.TXT"
todir="${basedir}/../../../release/${release.name}/tools/jopr-plugin" />
+ <copy overwrite="true" file="${basedir}/release/README.TXT"
todir="${release.dir}/tools/jopr-plugin" />
</tasks>
</configuration>
</execution>
=======================================
--- /tools/jopr-plugin/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/jopr-plugin/pom.xml Wed Aug 22 10:17:17 2012
@@ -8,6 +8,7 @@
<groupId>org.mobicents.servers.jainslee.core</groupId>
<artifactId>mobicents-slee-core</artifactId>
<version>2.8.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
</parent>
<groupId>org.mobicents.servers.jainslee.tools</groupId>
@@ -32,7 +33,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<modules>
<module>docs</module>
</modules>
@@ -59,7 +60,7 @@
<exclude>jtidy:jtidy</exclude>
</classpathExcludes>
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
-
<eclipseProjectName>slee-core-tools-jopr-plugin</eclipseProjectName>
+
<eclipseProjectName>slee-tool-jopr-plugin</eclipseProjectName>
</configuration>
</plugin>
</plugins>
=======================================
--- /tools/slee-management-console/docs/jdocbook-mobicents/pom.xml Wed Aug
8 04:59:10 2012
+++ /tools/slee-management-console/docs/jdocbook-mobicents/pom.xml Wed Aug
22 10:17:17 2012
@@ -15,7 +15,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -30,7 +30,7 @@
<configuration>
<tasks>
<!-- copy docs -->
- <copy overwrite="true"
todir="${basedir}/../../../../release/${release.name}/tools/slee-management-console/docs">
+ <copy overwrite="true"
todir="${release.dir}/docs/tools/slee-management-console/user-guide">
<fileset dir="${basedir}/target/docbook/publish" />
</copy>
</tasks>
=======================================
--- /tools/slee-management-console/docs/jdocbook-telscale/pom.xml Wed Aug
8 04:59:10 2012
+++ /tools/slee-management-console/docs/jdocbook-telscale/pom.xml Wed Aug
22 10:17:17 2012
@@ -13,6 +13,36 @@
<packaging>jdocbook</packaging>
+ <profiles>
+ <profile>
+ <id>binary-release</id>
+ <build>
+ <plugins>
+ <plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+
<phase>install</phase>
+ <goals>
+
<goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+
<!-- copy docs -->
+ <copy overwrite="true"
todir="${release.dir}/docs/tools/slee-management-console/user-guide">
+
<fileset dir="${basedir}/target/docbook/publish" />
+
</copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
=======================================
--- /tools/slee-management-console/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/slee-management-console/pom.xml Wed Aug 22 10:17:17 2012
@@ -5,6 +5,7 @@
<groupId>org.mobicents.servers.jainslee.core</groupId>
<artifactId>mobicents-slee-core</artifactId>
<version>2.8.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
</parent>
<packaging>pom</packaging>
@@ -165,7 +166,7 @@
</activation>
</profile>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<modules>
<module>docs</module>
</modules>
@@ -192,7 +193,7 @@
<exclude>jtidy:jtidy</exclude>
</classpathExcludes>
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
-
<eclipseProjectName>slee-core-tools-slee-management-console</eclipseProjectName>
+
<eclipseProjectName>slee-tool-slee-management-console</eclipseProjectName>
</configuration>
</plugin>
</plugins>
=======================================
--- /tools/twiddle/docs/jdocbook-mobicents/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/twiddle/docs/jdocbook-mobicents/pom.xml Wed Aug 22 10:17:17 2012
@@ -97,7 +97,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -112,7 +112,8 @@
<configuration>
<tasks>
<!-- copy docs -->
- <copy overwrite="true"
todir="${basedir}/../../../../release/${release.name}/tools/twiddle/docs">
+ <copy
overwrite="true"
+
todir="${release.dir}/docs/tools/twiddle/user-guide">
<fileset dir="${basedir}/target/docbook/publish" />
</copy>
</tasks>
=======================================
--- /tools/twiddle/docs/jdocbook-telscale/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/twiddle/docs/jdocbook-telscale/pom.xml Wed Aug 22 10:17:17 2012
@@ -1,5 +1,6 @@
-<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">
+<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">
<parent>
<groupId>org.mobicents.servers.jainslee.tools.twiddle.docs</groupId>
@@ -86,18 +87,19 @@
</formats>
<options>
<xincludeSupported>true</xincludeSupported>
- <!-- needed for uri-resolvers; can be ommitted if using 'current'
uri scheme -->
+ <!-- needed for uri-resolvers;
can be ommitted if using 'current' uri
+ scheme -->
<!-- could also locate the docbook dependency and inspect its
version... -->
-
<docbookVersion>1.72.0</docbookVersion>
+
<docbookVersion>1.72.0</docbookVersion>
</options>
</configuration>
</plugin>
</plugins>
</build>
- <!--
+
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -111,8 +113,9 @@
</goals>
<configuration>
<tasks>
-
- <copy overwrite="true"
todir="${basedir}/../../../../release/${release.name}/tools/twiddle/docs">
+
<!-- copy docs -->
+ <copy
overwrite="true"
+
todir="${release.dir}/docs/tools/twiddle/user-guide">
<fileset dir="${basedir}/target/docbook/publish" />
</copy>
</tasks>
@@ -124,5 +127,5 @@
</build>
</profile>
</profiles>
- -->
+
</project>
=======================================
--- /tools/twiddle/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/twiddle/pom.xml Wed Aug 22 10:17:17 2012
@@ -7,6 +7,7 @@
<groupId>org.mobicents.servers.jainslee.core</groupId>
<artifactId>mobicents-slee-core</artifactId>
<version>2.8.0-SNAPSHOT</version>
+ <relativePath>../..</relativePath>
</parent>
<groupId>org.mobicents.servers.jainslee.tools.twiddle</groupId>
@@ -169,7 +170,7 @@
</modules>
</profile>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<modules>
<module>docs</module>
<module>release</module>
@@ -191,7 +192,7 @@
<exclude>jtidy:jtidy</exclude>
</classpathExcludes>
<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
-
<eclipseProjectName>slee-core-tools-twiddle</eclipseProjectName>
+
<eclipseProjectName>slee-tool-twiddle</eclipseProjectName>
</configuration>
</plugin>
</plugins>
=======================================
--- /tools/twiddle/release/pom.xml Wed Aug 8 04:59:10 2012
+++ /tools/twiddle/release/pom.xml Wed Aug 22 10:17:17 2012
@@ -16,7 +16,7 @@
<profiles>
<profile>
- <id>release</id>
+ <id>binary-release</id>
<build>
<plugins>
<plugin>
@@ -30,11 +30,11 @@
</goals>
<configuration>
<tasks>
- <copy
todir="${basedir}/../../../release/${release.name}/tools/twiddle">
+ <copy
todir="${release.dir}/tools/twiddle">
<fileset dir="${basedir}/../cli/target/release">
<include name="**" />
</fileset>
-
</copy>
+
</copy>
</tasks>
</configuration>
</execution>