[weld-issues] [JBoss JIRA] Created: (WELD-649) Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project

sreekanth manga (JIRA) jira-events at lists.jboss.org
Mon Aug 30 08:37:50 EDT 2010


Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project
----------------------------------------------------------------------------

                 Key: WELD-649
                 URL: https://jira.jboss.org/browse/WELD-649
             Project: Weld
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.0.1.Final
         Environment: ant version 1.7.1
Mvn 3
Linux : Ubuntu 32 bit

            Reporter: sreekanth manga
             Fix For: 1.0.1.Final


I am unable to run the "pastecode " sample from weld build.
While packaging  I see the following error :


sreekanth at Auriferous:/space/Sreekanth/install/weld/weld-1.0.1-Final/examples/jsf/pastecode$ ant package
Buildfile: build.xml

package:
     [java] [INFO] Scanning for projects...
     [java] [INFO] ------------------------------------------------------------------------
     [java] [ERROR] FATAL ERROR
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Error building POM (may not be this project's POM).
     [java] 
     [java] 
     [java] Project ID: org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT
     [java] 
     [java] Reason: Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project: org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT for project org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT
     [java] 
     [java] 
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Trace
     [java] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project: org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT for project org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT
     [java] 	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
     [java] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
     [java] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
     [java] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
     [java] 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     [java] 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
     [java] 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
     [java] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project: org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT for project org.jboss.weld.examples.jsf.pastecode:weld-jsf-pastecode-parent:pom:1.0.1-SNAPSHOT
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
     [java] 	at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
     [java] 	at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
     [java] 	at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
     [java] 	... 11 more
     [java] Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss.weld.examples:weld-examples-parent' not found in repository: Unable to download the artifact from any repository
     [java] 
     [java]   org.jboss.weld.examples:weld-examples-parent:pom:1.0.1-SNAPSHOT
     [java] 
     [java] from the specified remote repositories:
     [java]   central (http://repo1.maven.org/maven2)
     [java] 
     [java]  for project org.jboss.weld.examples:weld-examples-parent
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)
     [java] 	... 17 more
     [java] Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
     [java] 
     [java]   org.jboss.weld.examples:weld-examples-parent:pom:1.0.1-SNAPSHOT
     [java] 
     [java] from the specified remote repositories:
     [java]   central (http://repo1.maven.org/maven2)
     [java] 
     [java] 
     [java] 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
     [java] 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
     [java] 	at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)
     [java] 	... 18 more
     [java] Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
     [java] 	at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)
     [java] 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
     [java] 	... 20 more
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Total time: < 1 second
     [java] [INFO] Finished at: Mon Aug 30 18:02:28 IST 2010
     [java] [INFO] Final Memory: 1M/38M
     [java] [INFO] ------------------------------------------------------------------------

BUILD FAILED
/space/Sreekanth/install/weld/weld-1.0.1-Final/examples/build.xml:62: The following error occurred while executing this line:
/space/Sreekanth/install/weld/weld-1.0.1-Final/examples/build.xml:147: Java returned: 1


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

        


More information about the weld-issues mailing list