Hi

I'm just starting out so I need to create some .jmx files. According to the
docs:
"An easy way to create the test script (.jmx file) is by launching the
jmeter gui using chronos-jmeter:jmetergui eg. mvn install
chronos-jmeter:jmetergui which automatically makes the classpath of your
maven project available for jmeter."

This fails for me with a missing jdom 1.1.1 dependency and looking in the
central repository sure enough it's not there. I see 1.1.2 but not 1.1.1. Is
there a work around people are using (other than the obvious one of using
JMeter directly...)?

$ mvn install chronos-jmeter:jmetergui
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building tester 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
tester ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tester
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ tester ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
tester ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ tester ---
[INFO] Surefire report directory:
/Users/mimnagh/Documents/workspace/tester/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ tester ---
[INFO] Building jar:
/Users/mimnagh/Documents/workspace/tester/target/tester-0.0.1-SNAPSHOT.jar
[INFO] META-INF/maven/test.chronos/tester/pom.xml already added, skipping
[INFO] META-INF/maven/test.chronos/tester/pom.properties already added,
skipping
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ tester ---
[INFO] Installing
/Users/mimnagh/Documents/workspace/tester/target/tester-0.0.1-SNAPSHOT.jar
to
/Users/mimnagh/.m2/repository/test/chronos/tester/0.0.1-SNAPSHOT/tester-0.0.1-SNAPSHOT.jar
[INFO] Installing /Users/mimnagh/Documents/workspace/tester/pom.xml to
/Users/mimnagh/.m2/repository/test/chronos/tester/0.0.1-SNAPSHOT/tester-0.0.1-SNAPSHOT.pom
[INFO] 
[INFO] >>> chronos-jmeter-maven-plugin:1.0-beta-1:jmetergui (default-cli) @
tester >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
tester ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ tester
---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ tester ---
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
tester ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ tester ---
[INFO] Skipping execution of surefire because it has already been run for
this configuration
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ tester ---
[INFO] 
[INFO] <<< chronos-jmeter-maven-plugin:1.0-beta-1:jmetergui (default-cli) @
tester <<<
[INFO] 
[INFO] --- chronos-jmeter-maven-plugin:1.0-beta-1:jmetergui (default-cli) @
tester ---
[WARNING] The POM for org.jdom:jdom:jar:1.1.1 is missing, no dependency
information available
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.246s
[INFO] Finished at: Thu Nov 24 23:23:21 PST 2011
[INFO] Final Memory: 5M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:chronos-jmeter-maven-plugin:1.0-beta-1:jmetergui
(default-cli) on project tester: Execution default-cli of goal
org.codehaus.mojo:chronos-jmeter-maven-plugin:1.0-beta-1:jmetergui failed:
Plugin org.codehaus.mojo:chronos-jmeter-maven-plugin:1.0-beta-1 or one of
its dependencies could not be resolved: Failure to find
org.jdom:jdom:jar:1.1.1 in http://repo1.maven.org/maven2 was cached in the
local repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
-- 
View this message in context: 
http://old.nabble.com/Problem-launching-JMeter-GUI-from-chronos-tp32875844p32875844.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to