Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.9.7
-
Fix Version/s: None
-
Component/s: Maven Embedder
-
Labels:None
-
Environment:Eclipse 3.4.1 (M20080911-1700)
-
Number of attachments :
Description
Tests are running successful using mvn:test, but fail in eclipse, because m2eclipse doesn't put additionalClasspathElements on classpath, e.g.:
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<additionalClasspathElements>
<additionalClasspathElement>src/main/config</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
Issue Links
- depends upon
-
MNG-3631
Introduce new MavenEmbedder.getPluginConfiguration method
-
Activity
Eugene Kuleshov
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | use additionalClasspathElements when running JUnit tests | [mng] use additionalClasspathElements when running JUnit tests |
| Component/s | Maven Embedder [ 13219 ] |
Igor Fedorenko
made changes -
Try to turn on the debug output in the command line and then in Eclipse and then compare version of maven-surefire-plugin that is being used. Perhaps you need to specify version of the maven-surefire-plugin in your pom.xml
If you want us to investigate this issue, please please provide a complete test project that would allow to reproduce. Thanks.