Revision: 8ed58e7d8dd3
Author:   Eduardo Martins <[email protected]>
Date:     Mon Aug 27 21:38:23 2012
Log:      preparing xmpp slee package for the new release script

http://code.google.com/p/jain-slee/source/detail?r=8ed58e7d8dd3&repo=xmpp

Deleted:
 /examples/google-talk-bot/build.xml
Modified:
 /examples/google-talk-bot/docs/jdocbook-mobicents/pom.xml
 /examples/google-talk-bot/docs/jdocbook-telscale/pom.xml
 /examples/google-talk-bot/release/pom.xml
 /resources/xmpp/docs/jdocbook-mobicents/pom.xml
 /resources/xmpp/docs/jdocbook-telscale/pom.xml
 /resources/xmpp/release/pom.xml

=======================================
--- /examples/google-talk-bot/build.xml Wed Aug 15 08:11:20 2012
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project name="Example_build" default="deploy-all">
-
-  <property name="home" value="${ant.file.Example_build}/../" />
-
-  <target name="init">
-    <condition property="executable" value="mvn.bat">
-      <os family="windows"/>
-    </condition>
-
-    <property name="executable" value="mvn" />
-  </target>
-
-  <target name="deploy-all" depends="init">
-    <exec executable="${executable}" dir="${home}/../../resources/xmpp/">
-      <arg value="install"/>
-    </exec>
-
-    <exec executable="${executable}" dir="${home}">
-      <arg value="install"/>
-    </exec>
-  </target>
-
-  <target name="undeploy-all" depends="init">
-    <exec executable="${executable}" dir="${home}">
-      <arg value="clean"/>
-    </exec>
-
-    <exec executable="${executable}" dir="${home}/../../resources/xmpp/">
-      <arg value="clean"/>
-    </exec>
-  </target>
-
-</project>
=======================================
--- /examples/google-talk-bot/docs/jdocbook-mobicents/pom.xml Sun Aug 19 06:29:20 2012 +++ /examples/google-talk-bot/docs/jdocbook-mobicents/pom.xml Mon Aug 27 21:38:23 2012
@@ -30,7 +30,8 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/examples/google-talk-bot/docs">
+                                                                               <copy 
overwrite="true"
+                                                                                       
todir="${release.dir}/docs/examples/google-talk-bot/user-guide">
                                                                                        
<fileset dir="${basedir}/target/docbook/publish" />
                                                                                
</copy>
                                                                        </tasks>
@@ -79,13 +80,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/google-talk-bot/docs/jdocbook-telscale/pom.xml Sun Aug 19 06:29:20 2012 +++ /examples/google-talk-bot/docs/jdocbook-telscale/pom.xml Mon Aug 27 21:38:23 2012
@@ -1,17 +1,49 @@

-<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-google-talk-bot-docs</artifactId>
                <groupId>org.mobicents.examples</groupId>
                <version>2.8.0-SNAPSHOT</version>
        </parent>
-
+
<artifactId>mobicents-slee-example-google-talk-bot-docs-jdocbook-telscale</artifactId>
-
+
        <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/examples/google-talk-bot/user-guide">
+                                                                                       
<fileset dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>

        <build>
                <plugins>
@@ -26,7 +58,7 @@
                                                        <goal>unpack</goal>
                                                </goals>
                                                <configuration>
-                                                       <artifactItems>
+                                                       <artifactItems>
                                                                <artifactItem>
                                                                        
<groupId>${pom.groupId}</groupId>
<artifactId>mobicents-slee-example-google-talk-bot-docs-sources-telscale</artifactId>
@@ -35,7 +67,7 @@
                                                                        
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
                                                                </artifactItem>
-                                                       </artifactItems>
+                                                       </artifactItems>
                                                </configuration>
                                        </execution>
                                </executions>
@@ -49,17 +81,18 @@
                                        <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>
- <sourceDocumentName>JAIN_SLEE_Example_User_Guide.xml</sourceDocumentName> <sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
+                               <configuration>
+ <sourceDocumentName>JAIN_SLEE_Example_User_Guide.xml</sourceDocumentName> + <sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
                                        <imageResource>
<directory>${project.build.directory}/docbook/resources/en-US</directory>
                                                <includes>
@@ -85,11 +118,12 @@
                                        </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>
-                               </configuration>
+                                               
<docbookVersion>1.72.0</docbookVersion>
+                                       </options>
+                               </configuration>
                        </plugin>
                </plugins>
        </build>
=======================================
--- /examples/google-talk-bot/release/pom.xml   Wed Aug 15 08:11:20 2012
+++ /examples/google-talk-bot/release/pom.xml   Mon Aug 27 21:38:23 2012
@@ -27,15 +27,15 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
- <copy overwrite="true" todir="${basedir}/../../../release/${release.name}/examples/google-talk-bot"> + <copy overwrite="true" todir="${release.dir}/examples/google-talk-bot">
                                                                                        
<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/google-talk-bot/du-management.xml" /> - <copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/examples/google-talk-bot"> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/examples/google-talk-bot/du-management.xml" /> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/examples/google-talk-bot">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />
=======================================
--- /resources/xmpp/docs/jdocbook-mobicents/pom.xml     Sun Aug 19 06:29:20 2012
+++ /resources/xmpp/docs/jdocbook-mobicents/pom.xml     Mon Aug 27 21:38:23 2012
@@ -30,7 +30,7 @@
                                                                <configuration>
                                                                        <tasks>
                                                                                
<!-- copy docs -->
- <copy overwrite="true" todir="${basedir}/../../../../release/${release.name}/resources/xmpp/docs"> + <copy overwrite="true" todir="${release.dir}/docs/resources/xmpp/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>
=======================================
--- /resources/xmpp/docs/jdocbook-telscale/pom.xml      Sun Aug 19 06:29:20 2012
+++ /resources/xmpp/docs/jdocbook-telscale/pom.xml      Mon Aug 27 21:38:23 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/resources/xmpp/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>
=======================================
--- /resources/xmpp/release/pom.xml     Wed Aug 15 08:11:20 2012
+++ /resources/xmpp/release/pom.xml     Mon Aug 27 21:38:23 2012
@@ -27,15 +27,15 @@
                                                                </goals>
                                                                <configuration>
                                                                        <tasks>
- <copy overwrite="true" todir="${basedir}/../../../release/${release.name}/resources/xmpp">
+                                                                               <copy 
overwrite="true" todir="${release.dir}/resources/xmpp">
                                                                                        
<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/xmpp/du-management.xml" /> - <copy overwrite="true" file="${basedir}/build.xml" todir="${basedir}/../../../release/${release.name}/resources/xmpp"> + <copy overwrite="true" file="${basedir}/../du/target/build.xml" tofile="${release.dir}/resources/xmpp/du-management.xml" /> + <copy overwrite="true" file="${basedir}/build.xml" todir="${release.dir}/resources/xmpp">
                                                                                      
  <filterset>
                                                                                                
<filter token="JBOSS.PATH" value="${jboss.path}" />
                                                                                                
<filter token="JBOSS.CONFIG" value="${node}" />

Reply via email to