[erlang-questions] Maven install problem: erlang-plugin and erlang-archetype
Anthony Kong
KONGA@REDACTED
Wed Nov 14 07:07:42 CET 2007
Seem to me maven was unable to download the pom of the snapshot version.
(If it is able to download, you will see the size of the download after
the 'Downloading:...' line)
So, may be you have to find out the repository that houses the
artifacts and then add it to your $HOME/.m2/settings.xml.
I also don't think the erlang gurus here can help you much with this
very maven specific problem. :-) Did you try the plugin's mailing list?
Cheers,Anthony
>>> "joe lee" <codewalkerjoe@REDACTED> 14/11/2007 10:13 am >>>
Has anyone successfully installed maven erlang-plugin and maven
erlang-archetype?
I have checked out the svn version of maven erlang-plugin and maven
erlang-archetype and I am trying to install. When I perform mvn -e
install for both maven erlang packages,I get the the following error
for both installation:
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/maven-snapshot-repository/org/erlang/maven
/maven-erlang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
Downloading:
http://snapshots.repository.codehaus.org/org/erlang/maven/maven-erl
ang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Here is hte complete logs of mvn install of maven erlang-pluging and
maven erlang-archetype:
C:\erlang_stuff\erlang-plugin>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/maven-snapshot-repository/org/erlang/maven
/maven-erlang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
Downloading:
http://snapshots.repository.codehaus.org/org/erlang/maven/maven-erl
ang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.erlang.maven:erlang-plugin:maven-plugin:1.0-SNAPSHOT
Reason: Cannot find parent: org.erlang.maven:maven-erlang for project:
org.erlan
g.maven:erlang-plugin:maven-plugin:1.0-SNAPSHOT for project
org.erlang.maven:erl
ang-plugin:maven-plugin:1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.erlang
.maven:maven-erlang for project:
org.erlang.maven:erlang-plugin:maven-plugin:1.0
-SNAPSHOT for project
org.erlang.maven:erlang-plugin:maven-plugin:1.0-SNAPSHOT
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.erlang.maven:maven-erlang for project:
org.erlang.maven:erlang-plugin:mave
n-plugin:1.0-SNAPSHOT for project
org.erlang.maven:erlang-plugin:maven-plugin:1.
0-SNAPSHOT
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1261)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:747)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:479)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:200)
at
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.erlang.ma
ven:maven-erlang' not found in repository: Unable to download the
artifact from
any repository
org.erlang.maven:maven-erlang:pom:1.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.org (http://people.apache.org/maven-snapshot-repository)
for project org.erlang.maven:maven-erlang
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:573)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1257)
... 17 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository
org.erlang.maven:maven-erlang:pom:1.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.org (http://people.apache.org/maven-snapshot-repository)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:197)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:73)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:526)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable
to downl
oad the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:324)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:185)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Nov 13 17:00:22 EST 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
C:\erlang_stuff\erlang-plugin>
=================================================================================================
C:\erlang_stuff\erlang-archetype>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading:
http://people.apache.org/maven-snapshot-repository/org/erlang/maven
/maven-erlang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
Downloading:
http://snapshots.repository.codehaus.org/org/erlang/maven/maven-erl
ang/1.0-SNAPSHOT/maven-erlang-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID:
org.erlang.maven:erlang-archetype:maven-plugin:1.0-SNAPSHOT
Reason: Cannot find parent: org.erlang.maven:maven-erlang for project:
org.erlan
g.maven:erlang-archetype:maven-plugin:1.0-SNAPSHOT for project
org.erlang.maven:
erlang-archetype:maven-plugin:1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.erlang
.maven:maven-erlang for project:
org.erlang.maven:erlang-archetype:maven-plugin:
1.0-SNAPSHOT for project
org.erlang.maven:erlang-archetype:maven-plugin:1.0-SNAP
SHOT
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.erlang.maven:maven-erlang for project:
org.erlang.maven:erlang-archetype:m
aven-plugin:1.0-SNAPSHOT for project
org.erlang.maven:erlang-archetype:maven-plu
gin:1.0-SNAPSHOT
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1261)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:747)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:479)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:200)
at
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.erlang.ma
ven:maven-erlang' not found in repository: Unable to download the
artifact from
any repository
org.erlang.maven:maven-erlang:pom:1.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.org (http://people.apache.org/maven-snapshot-repository)
for project org.erlang.maven:maven-erlang
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:573)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1257)
... 17 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository
org.erlang.maven:maven-erlang:pom:1.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.org (http://people.apache.org/maven-snapshot-repository)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:197)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:73)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:526)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable
to downl
oad the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
aultWagonManager.java:324)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:185)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Nov 13 17:03:36 EST 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
C:\erlang_stuff\erlang-archetype>
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions
**********************************************************************
***** IMPORTANT INFORMATION *****
This document should be read only by those persons to whom it is
addressed and its content is not intended for use by any other
persons. If you have received this message in error, please notify
us immediately. Please also destroy and delete the message from
your computer. Any unauthorised form of reproduction of this message
is strictly prohibited.
St George Bank Limited AFSL 240997, Advance Asset Management Limited
AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited
AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for
the proper and complete transmission of the information contained in
this communication, nor for any delay in its receipt.
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071114/2ae9e465/attachment.htm>
More information about the erlang-questions
mailing list