Well the plan was to back off to 2.1 version of the plugin. I tried while in the
axis2 binding directory and it worked. And I checked it in. But when I did a
build from the root it failed so ... backed it out again :-)
Raymond Feng wrote:
I was getting the same error and I commented the <build> out in r434255.
But Rick restored after that and removed it again. :-)
Thanks,
Raymond
----- Original Message ----- From: "Rick" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Thursday, August 24, 2006 10:04 AM
Subject: Re: Fwd: svn commit: r434372 -
/incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml
Hello Jim,
If I uncomment that plugin to build the assembly the error I get is
below. This had been working but I'm thinking cause we're using
SNAPSHOT for the plugin, it got replaced that doesn't like now the
fact that Axis is really being retrieved from a legacy (maven 1.x) repo?
[DEBUG] Statistics for Scope filter [compile=true, runtime=true,
test=false, provided=false, system=false]
[DEBUG] The following scope filters were not used:
o System
[DEBUG] The following artifacts were removed by this filter:
jmock:jmock:jar:1.0.1
org.easymock:easymock:jar:2.2
org.apache.tuscany:test:jar:1.0-SNAPSHOT
javax.servlet:servlet-api:jar:2.3
cglib:cglib-nodep:jar:2.1_3
org.easymock:easymockclassextension:jar:2.2
[WARNING] Attempting to build MavenProject instance for Artifact of
type: jar; constructing POM artifact instead.
[DEBUG] axis2-kernel: using locally installed snapshot
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: axis2:axis2-kernel
POM Location: C:\Documents and
Settings\rineholt\.m2\repository\axis2\axis2-kernel\SNAPSHOT\axis2-kernel-SNAPSHOT.pom
Reason: Not a v4.0.0 POM.
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
create assembly: Error retrieving POM of module-dependency:
axis2:axis2-kernel:jar:SNAPSHOT; Reason: Not a v4.0.0 POM.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
create assembly: Error retrieving POM of module-dependency:
axis2:axis2-kernel:jar:SNAPSHOT; Reason: Not a v4.0.0 POM.
at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:290)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by:
org.apache.maven.plugin.assembly.archive.ArchiveCreationException:
Error retrieving POM of module-dependency:
axis2:axis2-kernel:jar:SNAPSHOT; Reason: Not a v4.0.0 POM.
at
org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.addDependencySet(AddDependencySetsTask.java:92)
at
org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.execute(AddDependencySetsTask.java:62)
at
org.apache.maven.plugin.assembly.archive.phase.DependencySetAssemblyPhase.execute(DependencySetAssemblyPhase.java:46)
at
org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:82)
at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:269)
... 18 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not
a v4.0.0 POM.
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1299)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1270)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:471)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:235)
at
org.apache.maven.plugin.assembly.archive.task.AddDependencySetsTask.addDependencySet(AddDependencySetsTask.java:87)
... 22 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Aug 24 12:58:23 EDT 2006
[INFO] Final Memory: 14M/254M
[INFO]
------------------------------------------------------------------------
Jim Marino wrote:
Hi Rick,
Could you let me know the error you were getting from this since it
appears to be caused by a patch for Tuscany-661? Things build on my
machine and presumably on Jervis'.
Jim
Begin forwarded message:
From: [EMAIL PROTECTED]
Date: August 24, 2006 4:35:09 AM PDT
To: tuscany-commits@ws.apache.org
Subject: svn commit: r434372 -
/incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml
Reply-To: tuscany-dev@ws.apache.org
Author: rineholt
Date: Thu Aug 24 04:35:06 2006
New Revision: 434372
URL: http://svn.apache.org/viewvc?rev=434372&view=rev
Log:
use 2.1 assembly plugin in for now seems to work
Modified:
incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml
Modified: incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml?rev=434372&r1=434371&r2=434372&view=diff
==============================================================================
--- incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml
(original)
+++ incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml Thu
Aug 24 04:35:06 2006
@@ -167,14 +167,13 @@
</dependencies>
<!-- The assembly plugin cannot understand maven1 pom -->
- <!--
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-SNAPSHOT</version>
+ <version>2.1</version>
<executions>
<execution>
<phase>package</phase>
@@ -191,6 +190,5 @@
</plugin>
</plugins>
</build>
- -->
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]