Mail Archive Home | fractal-commits List | June 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
[maven-release-plugin] copy for tag cecilia-examples-2.0-beta-2
--- trunk/cecilia-framework/examples/cloneable/pom.xml 2008-06-26 22:12:23 UTC (rev 7982)
+++ tags/cecilia-examples-2.0-beta-2/cloneable/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -1,227 +0,0 @@
-<?xml version="1.0"?>
-<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.objectweb.fractal.cecilia.examples</groupId>
- <artifactId>cecilia-examples</artifactId>
- <version>2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>cloneable</artifactId>
- <name>Cecilia cloneable components example</name>
- <packaging>cecilia-application</packaging>
-
-
- <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
- ends with a '/' which is not the case when using the basic maven
- inheritance mechanism -->
- <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
-
- <dependencies>
- <!-- transitive dependencies for this "car" will be resolved also -->
- <dependency>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>cecilia-baselib</artifactId>
- <version>${cecilia.version}</version>
- <type>car</type>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/cecilia</directory>
- </resource>
- <resource>
- <directory>${basedir}/src/site/apt</directory>
- <targetPath>../filtered-site/apt</targetPath>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>${basedir}/src/site</directory>
- <targetPath>../filtered-site</targetPath>
- <filtering>false</filtering>
- <excludes>
- <exclude>apt/**/*</exclude>
- </excludes>
- </resource>
- </resources>
-
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-site-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- <phase>pre-site</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <siteDirectory>
- ${basedir}/target/filtered-site
- </siteDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>maven-cecilia-plugin</artifactId>
- <version>${cecilia.version}</version>
- <extensions>true</extensions>
- </plugin>
-
- <!-- =========================================================== -->
- <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
- <plugin>
- <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
- <artifactId>maven-ceciliaadl-plugin</artifactId>
- <version>${cecilia.version}</version>
- <configuration>
- <target>unix</target>
- <adl>App:cloneable</adl>
- <arguments>
- <parameter>
- <name>c-flags</name>
- <value>-g3 -O2 -Wall -Wshadow -Wredundant-decls -Wno-unreachable-code -Wpointer-arith -Wno-unused-parameter -Wwrite-strings</value>
- </parameter>
- </arguments>
- </configuration>
- </plugin>
- <!-- ==================================================== -->
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assemble/makefile-release.xml</descriptor>
- <descriptor>src/assemble/mvn-release.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <!-- Generates binary assemblies at package phase.
- These assemblies are placed in target/site/downloads so
- they are automatically deployed with the maven site
- while performing release -->
- <execution>
- <id>example-packages</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <outputDirectory>
- ${basedir}/target/site/downloads
- </outputDirectory>
- </configuration>
- </execution>
-
- <!-- Generates directory assemblies for integration test -->
- <execution>
- <id>example-dir</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>directory-inline</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Unpack the cecilia bin assembly at pre-integration-test
- phase to be able to run the makefile based assembly -->
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack cecilia bin</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>
- org.objectweb.fractal.cecilia.toolchain
- </groupId>
- <artifactId>cecilia-adl</artifactId>
- <version>${cecilia.version}</version>
- <!-- Use tar.gz type to ensure that
- extracted 'ceciliac' script is
- executable (zip type doesn't work). -->
- <type>tar.gz</type>
- <classifier>bin</classifier>
- </artifactItem>
- </artifactItems>
- <outputDirectory>
- ${basedir}/target/cecilia-bin
- </outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <configuration>
- <projectsDirectory>
- ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
- </projectsDirectory>
- <pomIncludes>
- <pomInclude>pom.xml</pomInclude>
- </pomIncludes>
- </configuration>
- <executions>
- <execution>
- <id>test mvn assembly</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <executable>make</executable>
- <workingDirectory>
- ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
- </workingDirectory>
- <arguments>
- <argument>
- CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
- </argument>
- <argument>all</argument>
- </arguments>
- </configuration>
- <executions>
- <execution>
- <id>test makefile assembly</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
--- tags/cecilia-examples-2.0-beta-2/cloneable/pom.xml (rev 0)
+++ tags/cecilia-examples-2.0-beta-2/cloneable/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -0,0 +1,224 @@
+<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.objectweb.fractal.cecilia.examples</groupId>
+ <artifactId>cecilia-examples</artifactId>
+ <version>2.0-beta-2</version>
+ </parent>
+
+ <artifactId>cloneable</artifactId>
+ <name>Cecilia cloneable components example</name>
+ <packaging>cecilia-application</packaging>
+
+
+ <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
+ ends with a '/' which is not the case when using the basic maven
+ inheritance mechanism -->
+ <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
+
+ <dependencies>
+ <!-- transitive dependencies for this "car" will be resolved also -->
+ <dependency>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>cecilia-baselib</artifactId>
+ <version>${cecilia.version}</version>
+ <type>car</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/cecilia</directory>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site/apt</directory>
+ <targetPath>../filtered-site/apt</targetPath>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site</directory>
+ <targetPath>../filtered-site</targetPath>
+ <filtering>false</filtering>
+ <excludes>
+ <exclude>apt/**/*</exclude>
+ </excludes>
+ </resource>
+ </resources>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-site-resources</id>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <siteDirectory>
+ ${basedir}/target/filtered-site
+ </siteDirectory>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>maven-cecilia-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+
+ <!-- =========================================================== -->
+ <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
+ <artifactId>maven-ceciliaadl-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <configuration>
+ <target>unix</target>
+ <adl>App:cloneable</adl>
+ <arguments>
+ <parameter>
+ <name>c-flags</name>
+ <value>-g3 -O2 -Wall -Wshadow -Wredundant-decls -Wno-unreachable-code -Wpointer-arith -Wno-unused-parameter -Wwrite-strings</value>
+ </parameter>
+ </arguments>
+ </configuration>
+ </plugin>
+ <!-- ==================================================== -->
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assemble/makefile-release.xml</descriptor>
+ <descriptor>src/assemble/mvn-release.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <!-- Generates binary assemblies at package phase.
+ These assemblies are placed in target/site/downloads so
+ they are automatically deployed with the maven site
+ while performing release -->
+ <execution>
+ <id>example-packages</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>
+ ${basedir}/target/site/downloads
+ </outputDirectory>
+ </configuration>
+ </execution>
+
+ <!-- Generates directory assemblies for integration test -->
+ <execution>
+ <id>example-dir</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>directory-inline</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Unpack the cecilia bin assembly at pre-integration-test
+ phase to be able to run the makefile based assembly -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack cecilia bin</id>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>
+ org.objectweb.fractal.cecilia.toolchain
+ </groupId>
+ <artifactId>cecilia-adl</artifactId>
+ <version>${cecilia.version}</version>
+ <!-- Use tar.gz type to ensure that
+ extracted 'ceciliac' script is
+ executable (zip type doesn't work). -->
+ <type>tar.gz</type>
+ <classifier>bin</classifier>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${basedir}/target/cecilia-bin
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <projectsDirectory>
+ ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
+ </projectsDirectory>
+ <pomIncludes>
+ <pomInclude>pom.xml</pomInclude>
+ </pomIncludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test mvn assembly</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>integration-test</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <configuration>
+ <executable>make</executable>
+ <workingDirectory>
+ ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
+ </workingDirectory>
+ <arguments>
+ <argument>
+ CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
+ </argument>
+ <argument>all</argument>
+ </arguments>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test makefile assembly</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>integration-test</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
--- trunk/cecilia-framework/examples/comanche/pom.xml 2008-06-26 22:12:23 UTC (rev 7982)
+++ tags/cecilia-examples-2.0-beta-2/comanche/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -1,231 +0,0 @@
-<?xml version="1.0"?>
-
-<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.objectweb.fractal.cecilia.examples</groupId>
- <artifactId>cecilia-examples</artifactId>
- <version>2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>comanche</artifactId>
- <name>Cecilia Simple Web server example</name>
- <packaging>cecilia-application</packaging>
- <inceptionYear>2007</inceptionYear>
-
- <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
- ends with a '/' which is not the case when using the basic maven
- inheritance mechanism -->
- <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
-
- <dependencies>
- <!-- transitive dependencies for this "car" will be resolved also -->
- <dependency>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>cecilia-baselib</artifactId>
- <version>${cecilia.version}</version>
- <type>car</type>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/cecilia</directory>
- </resource>
- <resource>
- <directory>${basedir}/src/site/apt</directory>
- <targetPath>../filtered-site/apt</targetPath>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>${basedir}/src/site</directory>
- <targetPath>../filtered-site</targetPath>
- <filtering>false</filtering>
- <excludes>
- <exclude>apt/**/*</exclude>
- </excludes>
- </resource>
- </resources>
-
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-site-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- <phase>pre-site</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <siteDirectory>
- ${basedir}/target/filtered-site
- </siteDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>maven-cecilia-plugin</artifactId>
- <version>${project.version}</version>
- <extensions>true</extensions>
- </plugin>
-
- <!-- =================================================== -->
- <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
- <plugin>
- <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
- <artifactId>maven-ceciliaadl-plugin</artifactId>
- <version>${cecilia.version}</version>
- <configuration>
- <target>unix</target>
- <adl>comanche.Comanche:comanche</adl>
- <arguments>
- <properties>
- <file>flags.properties</file>
- </properties>
- </arguments>
- </configuration>
- </plugin>
- <!-- =================================================== -->
-
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assemble/makefile-release.xml</descriptor>
- <descriptor>src/assemble/mvn-release.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <!-- Generates binary assemblies at package phase.
- These assemblies are placed in target/site/downloads so
- they are automatically deployed with the maven site
- while performing release -->
- <execution>
- <id>example-packages</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <outputDirectory>
- ${basedir}/target/site/downloads
- </outputDirectory>
- </configuration>
- </execution>
-
- <!-- Generates directory assemblies for integration test -->
- <execution>
- <id>example-dir</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>directory-inline</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Unpack the cecilia bin assembly at pre-integration-test
- phase to be able to run the makefile based assembly -->
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack cecilia bin</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>
- org.objectweb.fractal.cecilia.toolchain
- </groupId>
- <artifactId>cecilia-adl</artifactId>
- <version>${cecilia.version}</version>
- <!-- Use tar.gz type to ensure that
- extracted 'ceciliac' script is
- executable (zip type doesn't work). -->
- <type>tar.gz</type>
- <classifier>bin</classifier>
- </artifactItem>
- </artifactItems>
- <outputDirectory>
- ${basedir}/target/cecilia-bin
- </outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <configuration>
- <projectsDirectory>
- ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
- </projectsDirectory>
- <pomIncludes>
- <pomInclude>pom.xml</pomInclude>
- </pomIncludes>
- </configuration>
- <executions>
- <execution>
- <id>test mvn assembly</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <executable>make</executable>
- <workingDirectory>
- ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
- </workingDirectory>
- <arguments>
- <argument>
- CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
- </argument>
- <argument>all</argument>
- </arguments>
- </configuration>
- <executions>
- <execution>
- <id>test makefile assembly</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-
-
-</project>
--- tags/cecilia-examples-2.0-beta-2/comanche/pom.xml (rev 0)
+++ tags/cecilia-examples-2.0-beta-2/comanche/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -0,0 +1,227 @@
+<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.objectweb.fractal.cecilia.examples</groupId>
+ <artifactId>cecilia-examples</artifactId>
+ <version>2.0-beta-2</version>
+ </parent>
+
+ <artifactId>comanche</artifactId>
+ <name>Cecilia Simple Web server example</name>
+ <packaging>cecilia-application</packaging>
+ <inceptionYear>2007</inceptionYear>
+
+ <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
+ ends with a '/' which is not the case when using the basic maven
+ inheritance mechanism -->
+ <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
+
+ <dependencies>
+ <!-- transitive dependencies for this "car" will be resolved also -->
+ <dependency>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>cecilia-baselib</artifactId>
+ <version>${cecilia.version}</version>
+ <type>car</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/cecilia</directory>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site/apt</directory>
+ <targetPath>../filtered-site/apt</targetPath>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site</directory>
+ <targetPath>../filtered-site</targetPath>
+ <filtering>false</filtering>
+ <excludes>
+ <exclude>apt/**/*</exclude>
+ </excludes>
+ </resource>
+ </resources>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-site-resources</id>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <siteDirectory>
+ ${basedir}/target/filtered-site
+ </siteDirectory>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>maven-cecilia-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+
+ <!-- =================================================== -->
+ <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
+ <artifactId>maven-ceciliaadl-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <configuration>
+ <target>unix</target>
+ <adl>comanche.Comanche:comanche</adl>
+ <arguments>
+ <properties>
+ <file>flags.properties</file>
+ </properties>
+ </arguments>
+ </configuration>
+ </plugin>
+ <!-- =================================================== -->
+
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assemble/makefile-release.xml</descriptor>
+ <descriptor>src/assemble/mvn-release.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <!-- Generates binary assemblies at package phase.
+ These assemblies are placed in target/site/downloads so
+ they are automatically deployed with the maven site
+ while performing release -->
+ <execution>
+ <id>example-packages</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>
+ ${basedir}/target/site/downloads
+ </outputDirectory>
+ </configuration>
+ </execution>
+
+ <!-- Generates directory assemblies for integration test -->
+ <execution>
+ <id>example-dir</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>directory-inline</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Unpack the cecilia bin assembly at pre-integration-test
+ phase to be able to run the makefile based assembly -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack cecilia bin</id>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>
+ org.objectweb.fractal.cecilia.toolchain
+ </groupId>
+ <artifactId>cecilia-adl</artifactId>
+ <version>${cecilia.version}</version>
+ <!-- Use tar.gz type to ensure that
+ extracted 'ceciliac' script is
+ executable (zip type doesn't work). -->
+ <type>tar.gz</type>
+ <classifier>bin</classifier>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${basedir}/target/cecilia-bin
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <projectsDirectory>
+ ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
+ </projectsDirectory>
+ <pomIncludes>
+ <pomInclude>pom.xml</pomInclude>
+ </pomIncludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test mvn assembly</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>integration-test</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <configuration>
+ <executable>make</executable>
+ <workingDirectory>
+ ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
+ </workingDirectory>
+ <arguments>
+ <argument>
+ CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
+ </argument>
+ <argument>all</argument>
+ </arguments>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test makefile assembly</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>integration-test</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+
+
+</project>
\ No newline at end of file
--- trunk/cecilia-framework/examples/helloworld/pom.xml 2008-06-26 22:12:23 UTC (rev 7982)
+++ tags/cecilia-examples-2.0-beta-2/helloworld/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -1,252 +0,0 @@
-<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.objectweb.fractal.cecilia.examples</groupId>
- <artifactId>cecilia-examples</artifactId>
- <version>2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>helloworld</artifactId>
- <name>Cecilia Hello World example</name>
- <packaging>cecilia-application</packaging>
- <inceptionYear>2007</inceptionYear>
-
- <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
- ends with a '/' which is not the case when using the basic maven
- inheritance mechanism -->
- <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
-
- <dependencies>
- <!-- transitive dependencies for this "car" will be resolved also -->
- <dependency>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>cecilia-baselib</artifactId>
- <version>${cecilia.version}</version>
- <type>car</type>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/cecilia</directory>
- </resource>
- <resource>
- <directory>${basedir}/src/site/apt</directory>
- <targetPath>../filtered-site/apt</targetPath>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>${basedir}/src/site</directory>
- <targetPath>../filtered-site</targetPath>
- <filtering>false</filtering>
- <excludes>
- <exclude>apt/**/*</exclude>
- </excludes>
- </resource>
- </resources>
-
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>process-site-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- <phase>pre-site</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <siteDirectory>
- ${basedir}/target/filtered-site
- </siteDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.objectweb.fractal.cecilia</groupId>
- <artifactId>maven-cecilia-plugin</artifactId>
- <version>${cecilia.version}</version>
- <extensions>true</extensions>
- </plugin>
-
- <!-- =========================================================== -->
- <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
- <plugin>
- <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
- <artifactId>maven-ceciliaadl-plugin</artifactId>
- <version>${cecilia.version}</version>
- <configuration>
- <target>unix</target>
- <adl>helloworld.Helloworld:helloworld</adl>
- </configuration>
- </plugin>
- <!-- =========================================================== -->
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>
- src/assemble/makefile-release.xml
- </descriptor>
- <descriptor>src/assemble/mvn-release.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <!-- Generates binary assemblies at package phase.
- These assemblies are placed in target/site/downloads so
- they are automatically deployed with the maven site
- while performing release -->
- <execution>
- <id>example-packages</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <outputDirectory>
- ${basedir}/target/site/downloads
- </outputDirectory>
- </configuration>
- </execution>
-
- <!-- Generates directory assemblies for integration test -->
- <execution>
- <id>example-dir</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>directory-inline</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Unpack the cecilia bin assembly at pre-integration-test
- phase to be able to run the makefile based assembly -->
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack cecilia bin</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>pre-integration-test</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>
- org.objectweb.fractal.cecilia.toolchain
- </groupId>
- <artifactId>cecilia-adl</artifactId>
- <version>${cecilia.version}</version>
- <!-- Use tar.gz type to ensure that
- extracted 'ceciliac' script is
- executable (zip type doesn't work). -->
- <type>tar.gz</type>
- <classifier>bin</classifier>
- </artifactItem>
- </artifactItems>
- <outputDirectory>
- ${basedir}/target/cecilia-bin
- </outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <configuration>
- <projectsDirectory>
- ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
- </projectsDirectory>
- <pomIncludes>
- <pomInclude>pom.xml</pomInclude>
- </pomIncludes>
- </configuration>
- <executions>
- <execution>
- <id>test mvn assembly (helloworld)</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>integration-test</phase>
- </execution>
- <execution>
- <id>test mvn assembly (helloworld-with-counter)</id>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <profiles>
- <profile>counter</profile>
- </profiles>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <configuration>
- <executable>make</executable>
- <workingDirectory>
- ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
- </workingDirectory>
- </configuration>
- <executions>
- <execution>
- <id>test makefile assembly (helloworld)</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <arguments>
- <argument>
- CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
- </argument>
- <argument>helloworld</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>
- test makefile assembly (helloworld-with-counter)
- </id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>integration-test</phase>
- <configuration>
- <arguments>
- <argument>
- CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
- </argument>
- <argument>helloworld-with-counter</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-</project>
\ No newline at end of file
--- tags/cecilia-examples-2.0-beta-2/helloworld/pom.xml (rev 0)
+++ tags/cecilia-examples-2.0-beta-2/helloworld/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -0,0 +1,252 @@
+<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.objectweb.fractal.cecilia.examples</groupId>
+ <artifactId>cecilia-examples</artifactId>
+ <version>2.0-beta-2</version>
+ </parent>
+
+ <artifactId>helloworld</artifactId>
+ <name>Cecilia Hello World example</name>
+ <packaging>cecilia-application</packaging>
+ <inceptionYear>2007</inceptionYear>
+
+ <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
+ ends with a '/' which is not the case when using the basic maven
+ inheritance mechanism -->
+ <url>${cecilia-examples.home.url}/${project.artifactId}/</url>
+
+ <dependencies>
+ <!-- transitive dependencies for this "car" will be resolved also -->
+ <dependency>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>cecilia-baselib</artifactId>
+ <version>${cecilia.version}</version>
+ <type>car</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/cecilia</directory>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site/apt</directory>
+ <targetPath>../filtered-site/apt</targetPath>
+ <filtering>true</filtering>
+ </resource>
+ <resource>
+ <directory>${basedir}/src/site</directory>
+ <targetPath>../filtered-site</targetPath>
+ <filtering>false</filtering>
+ <excludes>
+ <exclude>apt/**/*</exclude>
+ </excludes>
+ </resource>
+ </resources>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-site-resources</id>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <siteDirectory>
+ ${basedir}/target/filtered-site
+ </siteDirectory>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia</groupId>
+ <artifactId>maven-cecilia-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+
+ <!-- =========================================================== -->
+ <!-- Cecilia ADL MOJO to invoke the Cecilia ADL Launcher -->
+ <plugin>
+ <groupId>org.objectweb.fractal.cecilia.toolchain</groupId>
+ <artifactId>maven-ceciliaadl-plugin</artifactId>
+ <version>${cecilia.version}</version>
+ <configuration>
+ <target>unix</target>
+ <adl>helloworld.Helloworld:helloworld</adl>
+ </configuration>
+ </plugin>
+ <!-- =========================================================== -->
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>
+ src/assemble/makefile-release.xml
+ </descriptor>
+ <descriptor>src/assemble/mvn-release.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <!-- Generates binary assemblies at package phase.
+ These assemblies are placed in target/site/downloads so
+ they are automatically deployed with the maven site
+ while performing release -->
+ <execution>
+ <id>example-packages</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>
+ ${basedir}/target/site/downloads
+ </outputDirectory>
+ </configuration>
+ </execution>
+
+ <!-- Generates directory assemblies for integration test -->
+ <execution>
+ <id>example-dir</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>directory-inline</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Unpack the cecilia bin assembly at pre-integration-test
+ phase to be able to run the makefile based assembly -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack cecilia bin</id>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>
+ org.objectweb.fractal.cecilia.toolchain
+ </groupId>
+ <artifactId>cecilia-adl</artifactId>
+ <version>${cecilia.version}</version>
+ <!-- Use tar.gz type to ensure that
+ extracted 'ceciliac' script is
+ executable (zip type doesn't work). -->
+ <type>tar.gz</type>
+ <classifier>bin</classifier>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>
+ ${basedir}/target/cecilia-bin
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <projectsDirectory>
+ ${basedir}/target/${project.build.finalName}-mvn.dir/${project.build.finalName}
+ </projectsDirectory>
+ <pomIncludes>
+ <pomInclude>pom.xml</pomInclude>
+ </pomIncludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test mvn assembly (helloworld)</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>integration-test</phase>
+ </execution>
+ <execution>
+ <id>test mvn assembly (helloworld-with-counter)</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>integration-test</phase>
+ <configuration>
+ <profiles>
+ <profile>counter</profile>
+ </profiles>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <configuration>
+ <executable>make</executable>
+ <workingDirectory>
+ ${basedir}/target/${project.build.finalName}-makefile.dir/${project.build.finalName}
+ </workingDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>test makefile assembly (helloworld)</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>integration-test</phase>
+ <configuration>
+ <arguments>
+ <argument>
+ CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
+ </argument>
+ <argument>helloworld</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>
+ test makefile assembly (helloworld-with-counter)
+ </id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>integration-test</phase>
+ <configuration>
+ <arguments>
+ <argument>
+ CECILIA_ROOT=${basedir}/target/cecilia-bin/cecilia-${cecilia.version}
+ </argument>
+ <argument>helloworld-with-counter</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
--- trunk/cecilia-framework/examples/pom.xml 2008-06-26 22:12:23 UTC (rev 7982)
+++ tags/cecilia-examples-2.0-beta-2/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -1,168 +0,0 @@
-<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.objectweb.fractal</groupId>
- <artifactId>parent</artifactId>
- <version>2.0</version>
- </parent>
-
- <groupId>org.objectweb.fractal.cecilia.examples</groupId>
- <artifactId>cecilia-examples</artifactId>
- <version>2.0-SNAPSHOT</version>
- <name>Cecilia Examples: parent module</name>
- <packaging>pom</packaging>
-
- <description>Parent module for Cecilia examples.</description>
-
- <licenses>
- <license>
- <name>LGPL</name>
- <!-- link to the txt version of the LGPL license to avoid embedding
- Gnu web site inside generated site -->
- <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
- </license>
- </licenses>
-
- <modules>
- <module>helloworld</module>
- <module>cloneable</module>
- <module>comanche</module>
- </modules>
-
- <developers>
- <!-- TODO write developers here -->
- </developers>
-
- <contributors>
- <!-- TODO write contributors here -->
- </contributors>
-
- <properties>
- <cecilia.version>2.0-beta-2-SNAPSHOT</cecilia.version>
- <cecilia-examples.home.url>http://fractal.objectweb.org/cecilia-examples-site/${project.version}</cecilia-examples.home.url>
- <cecilia.home.url>http://fractal.objectweb.org/cecilia-site/${cecilia.version}</cecilia.home.url>
- <!-- The login name on the OW2 forge. -->
- <ow.username>${user.name}</ow.username>
- <ow.hostname>forge.objectweb.org</ow.hostname>
- <ow.site.deploy.dir>/var/lib/gforge/chroot/home/groups/fractal/htdocs/cecilia-examples-site</ow.site.deploy.dir>
- <deploy.site.url>scp://${ow.hostname}${ow.site.deploy.dir}/${project.version}</deploy.site.url>
- <bootstrap.plugin.version>1.1</bootstrap.plugin.version>
- </properties>
-
- <!-- Cecilia-examples home page -->
- <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
- ends with a '/' which is not the case when using the basic maven
- inheritance mechanism -->
- <url>${cecilia-examples.home.url}/</url>
-
- <scm>
- <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/fractal/trunk/cecilia-framework/examples</connection>
- <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/fractal/trunk/cecilia-framework/examples</developerConnection>
- <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/trunk/cecilia-framework/examples</url>
- </scm>
-
- <distributionManagement>
- <site>
- <id>objectweb-site</id>
- <name>ObjectWeb's site deployment</name>
- <url>${deploy.site.url}</url>
- </site>
- </distributionManagement>
-
- <ciManagement>
- <system>bamboo</system>
- <url>http://forge.ow2.org/bamboo/browse/FRACTAL-CECEX</url>
- </ciManagement>
-
- <build>
- <plugins>
- <!-- Force version of maven-site-plugin to 2.0-beta-5 since
- 2.0-beta-6 has many bugs in relative path management. -->
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-5</version>
- </plugin>
-
- <!-- Configure the tagBase property of the release plugin -->
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>
- svn+ssh://svn.forge.objectweb.org/svnroot/fractal/tags
- </tagBase>
- <autoVersionSubmodules>true</autoVersionSubmodules>
-
- <!-- The SCM username if the OW2 username. -->
- <username>${ow.username}</username>
-
- <!-- release goals contain "antrun:run" to update 'current'
- link in documentation on the OW2 forge. -->
- <!-- TODO running the "antrun:run" goal while performing
- release is not very clean since sub modules may defines
- there own configuration of this plugin which may produce
- unexpected result. Should use a more specific MOJO. -->
- <goals>clean deploy site-deploy antrun:run</goals>
-
- <!-- Forwards property values to be sure that values
- overridden on the command line will be used while
- performing release.
- This is particularly useful for the antrun:run goal.-->
- <arguments>
- -Dow.username=${ow.username} -Dow.hostname=${ow.hostname} -Dow.file.deploy.dir=${ow.file.deploy.dir} -Dow.site.deploy.dir=${ow.site.deploy.dir}
- </arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>local-site-deploy</id>
-
- <properties>
- <local.deploy.dir>/tmp/cecilia-examples-site/${project.version}</local.deploy.dir>
- </properties>
- <distributionManagement>
- <site>
- <name>local site deployment</name>
- <url>file://${local.deploy.dir}</url>
- </site>
- </distributionManagement>
- </profile>
-
- <profile>
- <id>release-profile</id>
-
- <activation>
- <property>
- <name>performRelease</name>
- <value>true</value>
- </property>
- </activation>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <inherited>false</inherited>
- <configuration>
- <tasks>
- <sshexec host="${ow.hostname}" username="${ow.username}" passphrase="" keyfile="${user.home}/.ssh/id_rsa" command="cd ${ow.site.deploy.dir}; ln -nfs ${project.version} current" />
- </tasks>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-jsch</artifactId>
- <version>1.7.0</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
--- tags/cecilia-examples-2.0-beta-2/pom.xml (rev 0)
+++ tags/cecilia-examples-2.0-beta-2/pom.xml 2008-06-30 15:43:47 UTC (rev 8001)
@@ -0,0 +1,168 @@
+<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.objectweb.fractal</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0</version>
+ </parent>
+
+ <groupId>org.objectweb.fractal.cecilia.examples</groupId>
+ <artifactId>cecilia-examples</artifactId>
+ <version>2.0-beta-2</version>
+ <name>Cecilia Examples: parent module</name>
+ <packaging>pom</packaging>
+
+ <description>Parent module for Cecilia examples.</description>
+
+ <licenses>
+ <license>
+ <name>LGPL</name>
+ <!-- link to the txt version of the LGPL license to avoid embedding
+ Gnu web site inside generated site -->
+ <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
+ </license>
+ </licenses>
+
+ <modules>
+ <module>helloworld</module>
+ <module>cloneable</module>
+ <module>comanche</module>
+ </modules>
+
+ <developers>
+ <!-- TODO write developers here -->
+ </developers>
+
+ <contributors>
+ <!-- TODO write contributors here -->
+ </contributors>
+
+ <properties>
+ <cecilia.version>2.0-beta-2</cecilia.version>
+ <cecilia-examples.home.url>http://fractal.objectweb.org/cecilia-examples-site/${project.version}</cecilia-examples.home.url>
+ <cecilia.home.url>http://fractal.objectweb.org/cecilia-site/${cecilia.version}</cecilia.home.url>
+ <!-- The login name on the OW2 forge. -->
+ <ow.username>${user.name}</ow.username>
+ <ow.hostname>forge.objectweb.org</ow.hostname>
+ <ow.site.deploy.dir>/var/lib/gforge/chroot/home/groups/fractal/htdocs/cecilia-examples-site</ow.site.deploy.dir>
+ <deploy.site.url>scp://${ow.hostname}${ow.site.deploy.dir}/${project.version}</deploy.site.url>
+ <bootstrap.plugin.version>1.1</bootstrap.plugin.version>
+ </properties>
+
+ <!-- Cecilia-examples home page -->
+ <!-- Because of a bug in the maven-site-plugin, the URL of the project MUST
+ ends with a '/' which is not the case when using the basic maven
+ inheritance mechanism -->
+ <url>${cecilia-examples.home.url}/</url>
+
+ <scm>
+ <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/fractal/tags/cecilia-examples-2.0-beta-2</connection>
+ <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/fractal/tags/cecilia-examples-2.0-beta-2</developerConnection>
+ <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/tags/cecilia-examples-2.0-beta-2</url>
+ </scm>
+
+ <distributionManagement>
+ <site>
+ <id>objectweb-site</id>
+ <name>ObjectWeb's site deployment</name>
+ <url>${deploy.site.url}</url>
+ </site>
+ </distributionManagement>
+
+ <ciManagement>
+ <system>bamboo</system>
+ <url>http://forge.ow2.org/bamboo/browse/FRACTAL-CECEX</url>
+ </ciManagement>
+
+ <build>
+ <plugins>
+ <!-- Force version of maven-site-plugin to 2.0-beta-5 since
+ 2.0-beta-6 has many bugs in relative path management. -->
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-5</version>
+ </plugin>
+
+ <!-- Configure the tagBase property of the release plugin -->
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>
+ svn+ssh://svn.forge.objectweb.org/svnroot/fractal/tags
+ </tagBase>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+
+ <!-- The SCM username if the OW2 username. -->
+ <username>${ow.username}</username>
+
+ <!-- release goals contain "antrun:run" to update 'current'
+ link in documentation on the OW2 forge. -->
+ <!-- TODO running the "antrun:run" goal while performing
+ release is not very clean since sub modules may defines
+ there own configuration of this plugin which may produce
+ unexpected result. Should use a more specific MOJO. -->
+ <goals>clean deploy site-deploy antrun:run</goals>
+
+ <!-- Forwards property values to be sure that values
+ overridden on the command line will be used while
+ performing release.
+ This is particularly useful for the antrun:run goal.-->
+ <arguments>
+ -Dow.username=${ow.username} -Dow.hostname=${ow.hostname} -Dow.file.deploy.dir=${ow.file.deploy.dir} -Dow.site.deploy.dir=${ow.site.deploy.dir}
+ </arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>local-site-deploy</id>
+
+ <properties>
+ <local.deploy.dir>/tmp/cecilia-examples-site/${project.version}</local.deploy.dir>
+ </properties>
+ <distributionManagement>
+ <site>
+ <name>local site deployment</name>
+ <url>file://${local.deploy.dir}</url>
+ </site>
+ </distributionManagement>
+ </profile>
+
+ <profile>
+ <id>release-profile</id>
+
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <tasks>
+ <sshexec host="${ow.hostname}" username="${ow.username}" passphrase="" keyfile="${user.home}/.ssh/id_rsa" command="cd ${ow.site.deploy.dir}; ln -nfs ${project.version} current" />
+ </tasks>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-jsch</artifactId>
+ <version>1.7.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.