Revision: 16334
Author: baranowb
Date: Wed Jan 12 02:00:50 2011
Log: Fix mscontrol docs in release.
http://code.google.com/p/mobicents/source/detail?r=16334

Modified:
/trunk/servers/jain-slee/examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml /trunk/servers/jain-slee/resources/mscontrol/docs/jdocbook-mobicents/pom.xml

=======================================
--- /trunk/servers/jain-slee/examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml Mon Jan 10 05:25:19 2011 +++ /trunk/servers/jain-slee/examples/mscontrol-demo/docs/jdocbook-mobicents/pom.xml Wed Jan 12 02:00:50 2011
@@ -1,18 +1,21 @@
-
-<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>
                <groupId>org.mobicents.examples</groupId>
                <version>2.1.0-SNAPSHOT</version>
        </parent>
-
+
<artifactId>mobicents-slee-example-mscontrol-demo-docs-jdocbook-mobicents</artifactId>
-
+
        <modelVersion>4.0.0</modelVersion>
-
+
        <packaging>jdocbook</packaging>
-
+
        <build>
                <plugins>
                        <plugin>
@@ -26,7 +29,7 @@
                                                        <goal>unpack</goal>
                                                </goals>
                                                <configuration>
-                                                       <artifactItems>
+                                                       <artifactItems>
                                                                <artifactItem>
                                                                        
<groupId>${pom.groupId}</groupId>
<artifactId>mobicents-slee-example-mscontrol-demo-docs-sources-mobicents</artifactId>
@@ -35,7 +38,7 @@
                                                                        
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
                                                                </artifactItem>
-                                                       </artifactItems>
+                                                       </artifactItems>
                                                </configuration>
                                        </execution>
                                </executions>
@@ -58,7 +61,7 @@
                                                <type>jdocbook-style</type>
                                        </dependency>
                                </dependencies>
-                               <configuration>
+                               <configuration>
<sourceDocumentName>JAIN_SLEE_Example_User_Guide.xml</sourceDocumentName> <sourceDirectory>${project.build.directory}/docbook/resources</sourceDirectory>
                                        <imageResource>
@@ -88,11 +91,42 @@
                                                
<xincludeSupported>true</xincludeSupported>
<!-- 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>
-
+       <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>
=======================================
--- /trunk/servers/jain-slee/resources/mscontrol/docs/jdocbook-mobicents/pom.xml Mon Jan 10 00:50:31 2011 +++ /trunk/servers/jain-slee/resources/mscontrol/docs/jdocbook-mobicents/pom.xml Wed Jan 12 02:00:50 2011
@@ -97,5 +97,36 @@
                        </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}/resources/mscontrol/docs">
+                                                                                  
     <fileset
+                                                                                            
   dir="${basedir}/target/docbook/publish" />
+                                                                               
</copy>
+                                                                       </tasks>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
 </project>

Reply via email to