[erlang-questions] Maven install problem: erlang-plugin and erlang-archetype

joe lee <>
Wed Nov 14 00:13:15 CET 2007


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>



More information about the erlang-questions mailing list