You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by pd...@apache.org on 2006/07/17 21:10:08 UTC

svn commit: r422802 - in /incubator/servicemix/trunk/tooling/jbi-maven-plugin: pom.xml src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java

Author: pdodds
Date: Mon Jul 17 12:10:07 2006
New Revision: 422802

URL: http://svn.apache.org/viewvc?rev=422802&view=rev
Log:
Modified to include the geronimo deps so that you can deploy and test web services etc in the jbi:servicemix goal

Modified:
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/pom.xml
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java
    incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java

Modified: incubator/servicemix/trunk/tooling/jbi-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/jbi-maven-plugin/pom.xml?rev=422802&r1=422801&r2=422802&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/jbi-maven-plugin/pom.xml (original)
+++ incubator/servicemix/trunk/tooling/jbi-maven-plugin/pom.xml Mon Jul 17 12:10:07 2006
@@ -72,7 +72,23 @@
 		<dependency>
 			<groupId>org.apache.servicemix</groupId>
 			<artifactId>servicemix-core</artifactId>
-			<version>3.0-incubating-SNAPSHOT</version>
+			<version>3.0-incubating-SNAPSHOT</version>			
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-javamail_1.3.1_spec</artifactId>			
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-ejb_2.1_spec</artifactId>			
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-jta_1.0.1B_spec</artifactId>			
+		</dependency>
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>			
 		</dependency>
 	</dependencies>
 

Modified: incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java?rev=422802&r1=422801&r2=422802&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java (original)
+++ incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateComponentMojo.java Mon Jul 17 12:10:07 2006
@@ -164,7 +164,7 @@
 		}
 
 		ScopeArtifactFilter filter = new ScopeArtifactFilter(
-				Artifact.SCOPE_RUNTIME);
+				Artifact.SCOPE_RUNTIME);		
 
 		JbiResolutionListener listener = resolveProject();
 		// print(listener.getRootNode(), "");

Modified: incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java?rev=422802&r1=422801&r2=422802&view=diff
==============================================================================
--- incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java (original)
+++ incubator/servicemix/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/JbiProjectDeployerMojo.java Mon Jul 17 12:10:07 2006
@@ -117,10 +117,7 @@
 			artifactList.addAll(project.getArtifacts());
 			Collections.sort(artifactList, new ArtifactDepthComparator());
 			for (Iterator iter = artifactList.iterator(); iter.hasNext();) {
-				Artifact artifact = (Artifact) iter.next();
-				getLog().info(
-						"For Project " + project.getArtifactId()
-								+ " -> Resolve artifact " + artifact);
+				Artifact artifact = (Artifact) iter.next();			
 				resolveArtifact(artifact, dependencies);
 			}
 
@@ -303,9 +300,7 @@
 							+ artifact.getArtifactId() + " assuming jar");
 		}
 
-		if (project != null) {
-			getLog().debug(
-					"Resolved artifact to project " + project.getArtifactId());
+		if (project != null) {	
 			if (getDeployablePackagingTypes().contains(project.getPackaging())) {
 				getLog().debug(
 						"Checking for dependency from project "