labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r763488 - in /labs/magma/trunk/maven-magma-plugin/src/main: java/org/apache/magma/tools/maven/MagmaJettyRunWar.java resources/META-INF/plexus/components.xml
Date Thu, 09 Apr 2009 01:36:19 GMT
Author: simoneg
Date: Thu Apr  9 01:36:19 2009
New Revision: 763488

URL: http://svn.apache.org/viewvc?rev=763488&view=rev
Log:
LABS-333 : New packaging type + typo

Modified:
    labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaJettyRunWar.java
    labs/magma/trunk/maven-magma-plugin/src/main/resources/META-INF/plexus/components.xml

Modified: labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaJettyRunWar.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaJettyRunWar.java?rev=763488&r1=763487&r2=763488&view=diff
==============================================================================
--- labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaJettyRunWar.java
(original)
+++ labs/magma/trunk/maven-magma-plugin/src/main/java/org/apache/magma/tools/maven/MagmaJettyRunWar.java
Thu Apr  9 01:36:19 2009
@@ -53,7 +53,7 @@
 	public void execute() throws MojoExecutionException, MojoFailureException {
 		super.execute();
 		
-		getLog().info("Running WAr into Jetty");
+		getLog().info("Running War into Jetty");
 		System.setProperty("magma.env", System.getProperty("magma.env", "devel"));
 		Server server = new Server();
         server.setStopAtShutdown(true);

Modified: labs/magma/trunk/maven-magma-plugin/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/labs/magma/trunk/maven-magma-plugin/src/main/resources/META-INF/plexus/components.xml?rev=763488&r1=763487&r2=763488&view=diff
==============================================================================
--- labs/magma/trunk/maven-magma-plugin/src/main/resources/META-INF/plexus/components.xml
(original)
+++ labs/magma/trunk/maven-magma-plugin/src/main/resources/META-INF/plexus/components.xml
Thu Apr  9 01:36:19 2009
@@ -1,20 +1,19 @@
 <component-set>
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
+	<!--
+		Licensed to the Apache Software Foundation (ASF) under one or more
+		contributor license agreements. See the NOTICE file distributed with
+		this work for additional information regarding copyright ownership.
+		The ASF licenses this file to You under the Apache License, Version
+		2.0 (the "License"); you may not use this file except in compliance
+		with the License. You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+		applicable law or agreed to in writing, software distributed under the
+		License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+		CONDITIONS OF ANY KIND, either express or implied. See the License for
+		the specific language governing permissions and limitations under the
+		License.
+	-->
 	<components>
 
 		<component>
@@ -75,5 +74,67 @@
 				<extension>jar</extension>
 			</configuration>
 		</component>
+
+
+		<component>
+			<role>
+				org.apache.maven.lifecycle.mapping.LifecycleMapping
+			</role>
+			<role-hint>magmawar</role-hint>
+			<implementation>
+				org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
+			</implementation>
+			<configuration>
+				<lifecycles>
+					<lifecycle>
+						<id>default</id>
+						<phases>
+							<process-resources>
+								org.apache.maven.plugins:maven-resources-plugin:resources
+							</process-resources>
+							<compile>
+								org.apache.magma.tools:maven-magma-plugin:magma-compile
+							</compile>
+							<process-test-resources>
+								org.apache.maven.plugins:maven-resources-plugin:testResources
+							</process-test-resources>
+							<test-compile>
+								org.apache.magma.tools:maven-magma-plugin:magma-test-compile
+							</test-compile>
+							<test>
+								org.apache.magma.tools:maven-magma-plugin:magma-test
+							</test>
+							<package>
+								org.apache.magma.tools:maven-magma-plugin:war
+							</package>
+							<install>
+								org.apache.maven.plugins:maven-install-plugin:install
+							</install>
+							<deploy>
+								org.apache.maven.plugins:maven-deploy-plugin:deploy
+							</deploy>
+						</phases>
+					</lifecycle>
+				</lifecycles>
+			</configuration>
+		</component>
+
+		<component>
+			<role>
+				org.apache.maven.artifact.handler.ArtifactHandler
+			</role>
+			<role-hint>magmawar</role-hint>
+			<implementation>
+				org.apache.maven.artifact.handler.DefaultArtifactHandler
+			</implementation>
+			<configuration>
+				<type>war</type>
+				<language>java</language>
+				<includesDependencies>true</includesDependencies>
+				<addedToClasspath>false</addedToClasspath>
+				<extension>war</extension>
+			</configuration>
+		</component>
+
 	</components>
 </component-set>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message