[
https://jira.codehaus.org/browse/MOJO-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283388#comment-283388
]
Kent Soelvsten commented on MOJO-1733:
--------------------------------------
There is an error in the documentation, suggesting the use of chronos:jmetergui.
You should instead use chronos-jmeter:jmetergui.
Are You able to find the testclasses using chronos-jmeter:jmetergui ?
If the testcases are src/test/java, it is necessary to bundle a test-jar with:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>bundle-test-jar</id>
<phase>package</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
You may have forgotten that.
> 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