You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2013/04/15 20:58:12 UTC

svn commit: r1468186 - /myfaces/tobago/trunk/tobago-example/pom.xml

Author: bommel
Date: Mon Apr 15 18:58:12 2013
New Revision: 1468186

URL: http://svn.apache.org/r1468186
Log:
moved liberty websphere plugin in own profile

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=1468186&r1=1468185&r2=1468186&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-example/pom.xml Mon Apr 15 18:58:12 2013
@@ -60,47 +60,10 @@
           <tomeeClassifier>plus</tomeeClassifier>
         </configuration>
       </plugin>
-      <plugin>
-        <!-- The usage is documented in the FAQ -->
-        <groupId>com.ibm.websphere.wlp.maven.plugins</groupId>
-        <artifactId>liberty-maven-plugin</artifactId>
-        <version>1.0</version>
-        <configuration>
-          <serverHome>${wlp.directory}/wlp</serverHome>
-          <appArchive>${project.build.directory}/${project.build.finalName}.war</appArchive>
-          <serverName>tobago</serverName>
-          <!-- default debugging port is 7777 -->
-          <!--<debug>true</debug>-->
-        </configuration>
-      </plugin>
+
     </plugins>
   </build>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <id>codehaus-snapshots</id>
-      <url>http://snapshots.repository.codehaus.org/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <!-- For IBM Websphere Liberty Profile (WLP) -->
-      <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>
     <dependency>
@@ -370,6 +333,41 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>liberty</id>
+      <build>
+        <plugins>
+          <plugin>
+            <!-- The usage is documented in the FAQ -->
+            <groupId>com.ibm.websphere.wlp.maven.plugins</groupId>
+            <artifactId>liberty-maven-plugin</artifactId>
+            <version>1.0</version>
+            <configuration>
+              <serverHome>${wlp.directory}/wlp</serverHome>
+              <appArchive>${project.build.directory}/${project.build.finalName}.war</appArchive>
+              <serverName>tobago</serverName>
+              <!-- default debugging port is 7777 -->
+              <!--<debug>true</debug>-->
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+      <pluginRepositories>
+        <pluginRepository>
+          <!-- For IBM Websphere Liberty Profile (WLP) -->
+          <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>
 
+    </profile>
   </profiles>
 </project>