activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fredrick255 <fuzzyjo...@hotmail.com>
Subject Trouble with the maven-activemq-perf-plugin
Date Fri, 15 Aug 2008 18:39:21 GMT

I am interested in using the maven-activemq-perf-plugin for load testing. I
am not able to get this to work as described by the wiki:
http://activemq.apache.org/activemq-performance-module-users-manual.html

I tried changing the groupId in the activemq-perf pom.xml as suggested in
the following thread but it also did not help.
http://www.nabble.com/how-do-I-know-activeMQ-is-working-to11035695.html#a11036047

I am using a checkout of the activemq-5.1.0 tag.
After following the steps in the wiki, mvn activemq-perf:broker
-Durl=broker:tcp://localhost:61616
results in:

C:\ActiveMQ\svn3\activemq-5.1.0\activemq-perftest>mvn activemq-perf:consumer
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:activemq-perftest:jar:null

Reason: Cannot find parent: org.apache.activemq:activemq-parent for project:
nul
l:activemq-perftest:jar:null for project null:activemq-perftest:jar:null


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache
.activemq:activemq-parent for project: null:activemq-perftest:jar:null for
proje
ct null:activemq-perftest:jar:null
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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.apache.activemq:activemq-parent for project:
null:activemq-perftest:jar:nu
ll for project null:activemq-perftest:jar:null
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1370)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:821)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:506)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:198)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
        at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
        ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.ac
tivemq:activemq-parent' not found in repository: Unable to download the
artifact
 from any repository

  org.apache.activemq:activemq-parent:pom:5.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache.activemq:activemq-parent
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:603)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1366)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository

  org.apache.activemq:activemq-parent:pom:5.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:212)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:74)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:556)
        ... 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:331)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:200)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Aug 15 14:33:46 EDT 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

Any ideas?



-- 
View this message in context: http://www.nabble.com/Trouble-with-the-maven-activemq-perf-plugin-tp19003666p19003666.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message