Revision: 215548c978c9
Author:   Eduardo Martins <[email protected]>
Date:     Mon Aug 27 18:49:05 2012
Log:      preparing media slee package for the new release script

http://code.google.com/p/jain-slee/source/detail?r=215548c978c9&repo=media

Modified:
 /examples/call-controller2/docs/jdocbook-mobicents/pom.xml
 /examples/call-controller2/docs/jdocbook-telscale/pom.xml
 /examples/call-controller2/release/pom.xml
 /examples/mgcp-demo/docs/jdocbook-mobicents/pom.xml
 /examples/mgcp-demo/docs/jdocbook-telscale/pom.xml
 /examples/mgcp-demo/release/pom.xml
 /examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml
 /examples/mscontrol-demo/docs/jdocbook-telscale/pom.xml
 /examples/mscontrol-demo/release/pom.xml
 /resources/mgcp/docs/jdocbook-mobicents/pom.xml
 /resources/mgcp/docs/jdocbook-telscale/pom.xml
 /resources/mgcp/pom.xml
 /resources/mgcp/release/pom.xml
 /resources/mscontrol/docs/jdocbook-mobicents/pom.xml
 /resources/mscontrol/docs/jdocbook-telscale/pom.xml
 /resources/mscontrol/pom.xml
 /resources/mscontrol/release/pom.xml

=======================================
--- /examples/call-controller2/docs/jdocbook-mobicents/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/call-controller2/docs/jdocbook-mobicents/pom.xml Mon Aug 27 18:49:05 2012
@@ -30,7 +30,7 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/examples/call-controller2/docs"> + <copy overwrite="true" todir="${release.dir}/docs/examples/call-controller2/user-guide">
                                                                                        
<fileset dir="${basedir}/target/docbook/publish" />
                                                                                
</copy>
                                                                        </tasks>
@@ -79,13 +79,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-community-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /examples/call-controller2/docs/jdocbook-telscale/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/call-controller2/docs/jdocbook-telscale/pom.xml Mon Aug 27 18:49:05 2012
@@ -13,6 +13,36 @@

        <packaging>jdocbook</packaging>

+       <profiles>
+               <profile>
+                       <id>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/examples/call-controller2/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -49,13 +79,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-telscale-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /examples/call-controller2/release/pom.xml  Sat Aug 18 11:46:35 2012
+++ /examples/call-controller2/release/pom.xml  Mon Aug 27 18:49:05 2012
@@ -26,16 +26,16 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
- <copy overwrite="true" todir="${basedir}/../../../release/${release.name}/examples/call-controller2"> + <copy overwrite="true" todir="${release.dir}/examples/call-controller2">
                                                                                        
<fileset dir="${basedir}/../du/target">
                                                                                                
<include name="**.jar" />
                                                                                                
<include name="*.xml" />
                                                                                                
<include name="*.properties" />
                                                                                      
  </fileset>
                                                                                
</copy>
- <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${basedir}/../../../release/${release.name}/examples/call-controller2/du-management.xml" /> - <copy overwrite="true" file="${basedir}/../README.txt" todir="${basedir}/../../../release/${release.name}/examples/call-controller2" /> - <copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/examples/call-controller2"> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/examples/call-controller2/du-management.xml" /> + <copy overwrite="true" file="${basedir}/../README.txt" todir="${release.dir}/examples/call-controller2" /> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/examples/call-controller2">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />
=======================================
--- /examples/mgcp-demo/docs/jdocbook-mobicents/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/mgcp-demo/docs/jdocbook-mobicents/pom.xml Mon Aug 27 18:49:05 2012
@@ -30,7 +30,7 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/examples/mgcp-demo/docs"> + <copy overwrite="true" todir="${release.dir}/docs/examples/mgcp-demo/user-guide">
                                                                                        
<fileset dir="${basedir}/target/docbook/publish" />
                                                                                
</copy>
                                                                        </tasks>
@@ -79,13 +79,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-community-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /examples/mgcp-demo/docs/jdocbook-telscale/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/mgcp-demo/docs/jdocbook-telscale/pom.xml Mon Aug 27 18:49:05 2012
@@ -13,6 +13,36 @@

        <packaging>jdocbook</packaging>

+       <profiles>
+               <profile>
+                       <id>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/examples/mgcp-demo/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -49,13 +79,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-telscale-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /examples/mgcp-demo/release/pom.xml Sat Aug 18 11:46:35 2012
+++ /examples/mgcp-demo/release/pom.xml Mon Aug 27 18:49:05 2012
@@ -14,10 +14,7 @@

        <profiles>
            <profile>
-                   <id>release</id>
-                   <properties>
- <release.dir>${basedir}/../../../release/${release.name}/examples/mgcp-demo</release.dir>
-                   </properties>
+                   <id>release</id>
                    <build>
                            <plugins>
                                    <plugin>
@@ -31,7 +28,7 @@
                                                            </goals>
                                                            <configuration>
                                                                    <tasks>
-                                                                           <copy 
overwrite="true" todir="${release.dir}">
+ <copy overwrite="true" todir="${release.dir}/examples/mgcp-demo">
                                                                                <fileset 
dir="${basedir}/../slee/services-du/target">
                                                                                <include 
name="**.jar" />
                                                                                <include 
name="*.xml" />
@@ -39,12 +36,12 @@
                                                                        
</fileset>
                                                                </copy>

- <copy overwrite="true" file="${basedir}/../web/target/mgcp-demo-audio.war" todir="${release.dir}" /> - <copy overwrite="true" file="${basedir}/../slee/services-du/target/build.xml" tofile="${release.dir}/du-management.xml" /> + <copy overwrite="true" file="${basedir}/../web/target/mgcp-demo-audio.war" todir="${release.dir}/examples/mgcp-demo" /> + <copy overwrite="true" file="${basedir}/../slee/services-du/target/build.xml" tofile="${release.dir}/examples/mgcp-demo/du-management.xml" />

- <copy overwrite="true" file="${basedir}/../README.txt" tofile="${release.dir}/README.txt" /> + <copy overwrite="true" file="${basedir}/../README.txt" tofile="${release.dir}/examples/mgcp-demo/README.txt" />

- <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}"> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/examples/mgcp-demo">
                                                                        
<filterset>
                                                                                <filter 
token="JBOSS.PATH" value="${jboss.path}" />
                                                                                <filter 
token="JBOSS.CONFIG" value="${node}" />
=======================================
--- /examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml Mon Aug 27 18:49:05 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>
                
<artifactId>mobicents-slee-example-mscontrol-demo-docs</artifactId>
@@ -13,6 +14,37 @@

        <packaging>jdocbook</packaging>

+       <profiles>
+               <profile>
+                       <id>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/examples/mscontrol-demo/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -49,13 +81,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-community-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
@@ -86,7 +118,8 @@
                                        </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>
                                        </options>
@@ -94,33 +127,5 @@
                        </plugin>
                </plugins>
        </build>
-       <profiles>
-               <profile>
-                       <id>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="${basedir}/../../../../release/${release.name}/examples/mscontrol-demo/docs">
-                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
-                                                                               
</copy>
-                                                                       </tasks>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-       </profiles>
+
 </project>
=======================================
--- /examples/mscontrol-demo/docs/jdocbook-telscale/pom.xml Sat Aug 18 11:46:35 2012 +++ /examples/mscontrol-demo/docs/jdocbook-telscale/pom.xml Mon Aug 27 18:49:05 2012
@@ -13,6 +13,36 @@

        <packaging>jdocbook</packaging>

+       <profiles>
+               <profile>
+                       <id>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/examples/mscontrol-demo/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -49,13 +79,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-telscale-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /examples/mscontrol-demo/release/pom.xml    Sat Aug 18 11:46:35 2012
+++ /examples/mscontrol-demo/release/pom.xml    Mon Aug 27 18:49:05 2012
@@ -14,9 +14,6 @@
        <profiles>
                <profile>
                        <id>release</id>
-                       <properties>
- <release.dir>${basedir}/../../../release/${release.name}/examples/mscontrol-demo</release.dir>
-                       </properties>
                        <build>
                                <plugins>
                                        <plugin>
@@ -30,7 +27,7 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
-                                                                               <copy 
overwrite="true" todir="${release.dir}">
+ <copy overwrite="true" todir="${release.dir}/examples/mscontrol-demo">
                                                                                        
<fileset dir="${basedir}/../du/target">
                                                                                                
<include name="**.jar" />
                                                                                                
<include name="*.xml" />
@@ -38,10 +35,10 @@
                                                                                      
  </fileset>
                                                                                
</copy>

- <copy overwrite="true" file="${basedir}/../web/target/mscontrol-audio.war" todir="${release.dir}" /> - <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/du-management.xml" /> + <copy overwrite="true" file="${basedir}/../web/target/mscontrol-audio.war" todir="${release.dir}/examples/mscontrol-demo" /> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/examples/mscontrol-demo/du-management.xml" />

- <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}"> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/examples/mscontrol-demo">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />
=======================================
--- /resources/mgcp/docs/jdocbook-mobicents/pom.xml     Sat Aug 18 11:46:35 2012
+++ /resources/mgcp/docs/jdocbook-mobicents/pom.xml     Mon Aug 27 18:49:05 2012
@@ -31,7 +31,7 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/resources/mgcp/docs"> + <copy overwrite="true" todir="${release.dir}/docs/resources/mgcp/user-guide">
                                                                                        
<fileset dir="${basedir}/target/docbook/publish" />
                                                                                
</copy>
                                                                        </tasks>
@@ -84,13 +84,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-community-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /resources/mgcp/docs/jdocbook-telscale/pom.xml      Sat Aug 18 11:46:35 2012
+++ /resources/mgcp/docs/jdocbook-telscale/pom.xml      Mon Aug 27 18:49:05 2012
@@ -1,4 +1,5 @@
-<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>
                <artifactId>mobicents-slee-ra-mgcp-docs</artifactId>
@@ -12,6 +13,37 @@

        <packaging>jdocbook</packaging>

+       <profiles>
+               <profile>
+                       <id>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/resources/mgcp/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -52,13 +84,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-telscale-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
@@ -101,7 +133,8 @@
                                        </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>
                                        </options>
=======================================
--- /resources/mgcp/pom.xml     Sat Aug 18 11:46:35 2012
+++ /resources/mgcp/pom.xml     Mon Aug 27 18:49:05 2012
@@ -34,8 +34,8 @@
                        <modules>
                                <module>docs</module>
                                <module>release</module>
-                       </modules>
-               </profile>
+                       </modules>
+               </profile>
                <profile>
                        <id>maven-release</id>
                        <modules>
=======================================
--- /resources/mgcp/release/pom.xml     Sat Aug 18 11:46:35 2012
+++ /resources/mgcp/release/pom.xml     Mon Aug 27 18:49:05 2012
@@ -27,15 +27,15 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
- <copy overwrite="true" todir="${basedir}/../../../release/${release.name}/resources/mgcp">
+                                                                               <copy 
overwrite="true" todir="${release.dir}/resources/mgcp">
                                                                                        
<fileset dir="${basedir}/../du/target">
                                                                                                
<include name="**.jar" />
                                                                                                
<include name="*.xml" />
                                                                                                
<include name="*.properties" />
                                                                                      
  </fileset>
                                                                                
</copy>
- <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${basedir}/../../../release/${release.name}/resources/mgcp/du-management.xml" /> - <copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/resources/mgcp"> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/resources/mgcp/du-management.xml" /> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/resources/mgcp">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />
=======================================
--- /resources/mscontrol/docs/jdocbook-mobicents/pom.xml Sat Aug 18 11:46:35 2012 +++ /resources/mscontrol/docs/jdocbook-mobicents/pom.xml Mon Aug 27 18:49:05 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>
                <artifactId>mobicents-slee-ra-mscontrol-docs</artifactId>
@@ -49,13 +50,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-community-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
@@ -86,7 +87,8 @@
                                        </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>
                                        </options>
@@ -94,6 +96,7 @@
                        </plugin>
                </plugins>
        </build>
+
        <profiles>
                <profile>
                        <id>release</id>
@@ -111,7 +114,8 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/resources/mscontrol/docs">
+                                                                               <copy 
overwrite="true"
+                                                                                       
todir="${release.dir}/docs/resources/mscontrol/user-guide">
                                                                                        
<fileset dir="${basedir}/target/docbook/publish" />
                                                                                
</copy>
                                                                        </tasks>
@@ -123,4 +127,5 @@
                        </build>
                </profile>
        </profiles>
+
 </project>
=======================================
--- /resources/mscontrol/docs/jdocbook-telscale/pom.xml Sat Aug 18 11:46:35 2012 +++ /resources/mscontrol/docs/jdocbook-telscale/pom.xml Mon Aug 27 18:49:05 2012
@@ -15,7 +15,37 @@
        <modelVersion>4.0.0</modelVersion>

        <packaging>jdocbook</packaging>
-
+
+       <profiles>
+               <profile>
+                       <id>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/resources/mscontrol/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
        <build>
                <plugins>
                        <plugin>
@@ -52,13 +82,13 @@
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-xslt-ns</artifactId>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                        <dependency>
                                                
<groupId>org.mobicents.jdocbook</groupId>
                                                
<artifactId>telestax-telscale-style</artifactId>
                                                <type>jdocbook-style</type>
-                                               <version>1.1.0.FINAL</version>
+                                               <version>1.2.0</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
=======================================
--- /resources/mscontrol/pom.xml        Sat Aug 18 11:46:35 2012
+++ /resources/mscontrol/pom.xml        Mon Aug 27 18:49:05 2012
@@ -78,14 +78,15 @@
             </plugin>
         </plugins>
     </build>
+
     <profiles>
         <profile>
             <id>release</id>
             <modules>
                 <module>docs</module>
                 <module>release</module>
-            </modules>
-        </profile>
+            </modules>
+        </profile>
         <profile>
             <id>maven-release</id>
             <modules>
=======================================
--- /resources/mscontrol/release/pom.xml        Sat Aug 18 11:46:35 2012
+++ /resources/mscontrol/release/pom.xml        Mon Aug 27 18:49:05 2012
@@ -27,15 +27,15 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
- <copy overwrite="true" todir="${basedir}/../../../release/${release.name}/resources/mscontrol"> + <copy overwrite="true" todir="${release.dir}/resources/mscontrol">
                                                                                        
<fileset dir="${basedir}/../du/target">
                                                                                                
<include name="**.jar" />
                                                                                                
<include name="*.xml" />
                                                                                                
<include name="*.properties" />
                                                                                      
  </fileset>
                                                                                
</copy>
- <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${basedir}/../../../release/${release.name}/resources/mscontrol/du-management.xml" /> - <copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/resources/mscontrol"> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/resources/mscontrol/du-management.xml" /> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/resources/mscontrol">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />

Reply via email to