Cannot find parent: org.codehaus.mojo:mojo-parent....
-----------------------------------------------------

                 Key: MTOMCAT-66
                 URL: http://jira.codehaus.org/browse/MTOMCAT-66
             Project: Maven 2.x Tomcat Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Mac OS 10.6.4 & Linux Redhat
            Reporter: Bernard Deffarges


Hi,

Sorry to disturbe you, I might have done something wrong as I'm not yet an 
expert at Maven.
I'm using the tomcat-maven plugin for 3 months now and everything was working 
fine. 
Here is how I was using it (very basic just to deploy a war file to a tomcat 
server) :
<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>tomcat-maven-plugin</artifactId>
  <configuration>
    <url>http://mytomcatserver/manager</url>
    <username>manager</username>
    <password>xxxx</password>
    <update>true</update>
  </configuration>
</plugin>
As I said everything was working until the 1 of October when I started getting 
the following error message while building:

...
[DEBUG] Using Wagon implementation lightweight from default mapping for 
protocol http
[INFO] Unable to find resource 'org.codehaus.mojo:mojo-parent:pom:26-SNAPSHOT' 
in repository central (http://central)
[DEBUG] Using mirror: 
http://bioinfo.it.actelion.com:8081/nexus/content/groups/public (id: nexus)
[DEBUG] Using mirror: 
http://bioinfo.it.actelion.com:8081/nexus/content/groups/public (id: nexus)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:tomcat-maven-plugin:maven-plugin:1.1-SNAPSHOT

Reason: Cannot find parent: org.codehaus.mojo:mojo-parent for project: 
null:tomcat-maven-plugin:maven-plugin:1.1-SNAPSHOT for project 
null:tomcat-maven-plugin:maven-plugin:1.1-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project 
for plugin 'org.codehaus.mojo:tomcat-maven-plugin': Cannot find parent: 
org.codehaus.mojo:mojo-parent for project: 
null:tomcat-maven-plugin:maven-plugin:1.1-SNAPSHOT for project 
null:tomcat-maven-plugin:maven-plugin:1.1-SNAPSHOT
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1557)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1503)
.....






It seems tomcat-maven-plugin:1.1-SNAPSHOT is not able to find the 
mojo-parent:26-SNAPSHOT

For information: 
I modified <build><plugins><plugin> in top pom and added
<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>tomcat-maven-plugin</artifactId>
  <version>1.1-SNAPSHOT</version>
</plugin>
It still does not work apart if I replace the version with 1.0 which works !

Also, I'm using Nexus/sonatype... but that should not play a role I guess?

Thanks a lot in advance for your help and congratulations for the great job.
Bernard


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to