[weld-issues] [JBoss JIRA] Commented: (WELD-649) Cannot find parent: org.jboss.weld.examples:weld-examples-parent for project
sreekanth manga (JIRA)
jira-events at lists.jboss.org
Thu Sep 2 08:55:52 EDT 2010
[ https://jira.jboss.org/browse/WELD-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12548607#action_12548607 ]
sreekanth manga commented on WELD-649:
--------------------------------------
with weld-1.1.0.Beta1, I get this.I dont know how it works for you.I tried with both maven2 and maven3 with a clean repository settings:
sreekanth at Auriferous:/space/Sreekanth/install/weld-1.1.0.Beta1/examples/jsf/pastecode$ mvn clean package -gs tmp_settings.xml
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/jboss/weld/weld-core-parent/1.1.0.Beta1/weld-core-parent-1.1.0.Beta1.pom
[INFO] Unable to find resource 'org.jboss.weld:weld-core-parent:pom:1.1.0.Beta1' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jboss.weld.examples:weld-examples-parent:pom:null
Reason: Cannot find parent: org.jboss.weld:weld-core-parent for project: org.jboss.weld.examples:weld-examples-parent:pom:null for project org.jboss.weld.examples:weld-examples-parent:pom:null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss.weld:weld-core-parent for project: org.jboss.weld.examples:weld-examples-parent:pom:null for project org.jboss.weld.examples:weld-examples-parent:pom:null
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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:597)
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.project.ProjectBuildingException: Cannot find parent: org.jboss.weld:weld-core-parent for project: org.jboss.weld.examples:weld-examples-parent:pom:null for project org.jboss.weld.examples:weld-examples-parent:pom:null
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss.weld:weld-core-parent' not found in repository: Unable to download the artifact from any repository
org.jboss.weld:weld-core-parent:pom:1.1.0.Beta1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.jboss.weld:weld-core-parent
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 19 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
org.jboss.weld:weld-core-parent:pom:1.1.0.Beta1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
... 20 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Sep 02 18:22:09 IST 2010
[INFO] Final Memory: 1M/30M
[INFO] ------------------------------------------------------------------------
sreekanth at Auriferous:/space/Sreekanth/install/weld-1.1.0.Beta1/examples/jsf/pastecode$
> 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
> Assignee: Pete Muir
> Attachments: install.log
>
>
> 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