[
https://jira.codehaus.org/browse/MOJO-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283259#comment-283259
]
Thomas Otto commented on MOJO-1733:
-----------------------------------
Hello,
this is fixed in the latest snapshot 1.0-beta-1.
But I have all the time the same problem, that my test classes are not found:
jmeter.protocol.java.sampler.JUnitSampler: ClassNotFoundException:
JUnitTestClass
But this test class is compiled under target/test-classes
I use a maven 3 project pom.
If I call chronos:jmetergui, I did not see the JUnit classes in the
JUnit-Sampler.
Has anybody a working pom file with JUnit Tests and JMeter?
> Cannot get chronos-maven-plugin to work. mojo-sandbox:5-SNAPSHOT.pom cannot
> be found
> ------------------------------------------------------------------------------------
>
> Key: MOJO-1733
> URL: https://jira.codehaus.org/browse/MOJO-1733
> Project: Mojo
> Issue Type: Bug
> Components: chronos
> Environment: windows, maven 2, jmeter 2.4
> Reporter: Simon Kofod
>
> I've created a java project based on maven and the documentation found here:
> http://mojo.codehaus.org/chronos-maven-plugin/usage.html
> When I run maven I get the following error after maven has tried to download
> mojo-sandbox-5-snapshot.pom from different locations:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: org.codehaus.mojo:chronos-maven-plugin:maven-plugin:1.0-SNAPSHOT
> Reason: Cannot find parent: org.codehaus.mojo:mojo-sandbox for project:
> org.codehaus.mojo:chronos-maven-plugin:maven-plugin:1.0-SNAPSHOT for project
> org.codehaus.mojo:chronos-maven-plugin:maven-plugin:1.0-SNAPSHOT
> My pom contains the following:
> ...
> <pluginRepositories>
> <pluginRepository>
> <id>snapshots.repository.codehaus.org</id>
> <url>http://snapshots.repository.codehaus.org/</url>
> </pluginRepository>
> </pluginRepositories>
> ...
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>chronos-maven-plugin</artifactId>
> <version>1.0-SNAPSHOT</version>
> <configuration>
> <input>${basedir}/src/test/jmeter/zeus.jmx</input>
> </configuration>
> <executions>
> <execution>
> <id>jmeter-tests</id>
> <phase>verify</phase>
> <goals>
> <goal>jmeter</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> Can you please tell me what I'm doing wrong here? Why is the
> mojo-sandbox-5-snapshot not available?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email