You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/02/06 11:39:35 UTC
svn commit: r1442892 - /myfaces/tobago/trunk/tobago-example/pom.xml
Author: lofwyr
Date: Wed Feb 6 10:39:34 2013
New Revision: 1442892
URL: http://svn.apache.org/viewvc?rev=1442892&view=rev
Log:
- hints for the Websphere liberty profile
- build the CDI version (add to modules list)
Modified:
myfaces/tobago/trunk/tobago-example/pom.xml
Modified: myfaces/tobago/trunk/tobago-example/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/pom.xml?rev=1442892&r1=1442891&r2=1442892&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-example/pom.xml Wed Feb 6 10:39:34 2013
@@ -41,6 +41,75 @@
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
</plugin>
+<!--
+ <plugin>
+ <!– install the liberty server zip into the local maven repo –>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>install-liberty-to-repo</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>install-file</goal>
+ </goals>
+ <configuration>
+ <file>/Volumes/C/IBM/IMShared/native/wlp_1.0.1.cl0120121004-1949.zip</file>
+ <groupId>com.ibm.ws.liberty.test</groupId>
+ <artifactId>liberty-test-server</artifactId>
+ <version>1.0</version>
+ <packaging>zip</packaging>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
+ <!-- install the liberty server as maven artifact -->
+<!--
+ <plugin>
+ <groupId>com.ibm.websphere.wlp.maven.plugins</groupId>
+ <artifactId>liberty-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>install-liberty-server</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>install-server</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>create-liberty-server</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>create-server</goal>
+ </goals>
+ <configuration>
+ <serverHome>${project.build.directory}/wlp</serverHome>
+ <serverName>test</serverName>
+ </configuration>
+ </execution>
+ <execution>
+ <id>deployapp</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <assemblyArtifact>
+ <groupId>com.ibm.ws.liberty.test</groupId>
+ <artifactId>liberty-test-server</artifactId>
+ <version>1.0</version>
+ <type>zip</type>
+ </assemblyArtifact>
+ <appArchive>${project.build.directory}/${project.build.finalName}.war</appArchive>
+ <serverName>test</serverName>
+ </configuration>
+ </plugin>
+-->
</plugins>
</build>
@@ -55,6 +124,21 @@
<id>codehaus-snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
+<!--
+ <pluginRepository>
+ <!– For IBM Websphere –>
+ <id>Liberty</id>
+ <name>Liberty Repository</name>
+ <url>http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/maven/repository/</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+-->
</pluginRepositories>
<dependencies>
@@ -80,6 +164,7 @@
</activation>
<modules>
<module>tobago-example-addressbook</module>
+ <module>tobago-example-addressbook-cdi</module>
<module>tobago-example-blank</module>
<module>tobago-example-data</module>
<module>tobago-example-demo</module>
@@ -92,6 +177,7 @@
<id>all-modules</id>
<modules>
<module>tobago-example-addressbook</module>
+ <module>tobago-example-addressbook-cdi</module>
<module>tobago-example-blank</module>
<module>tobago-example-data</module>
<module>tobago-example-demo</module>