You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ming Cheung <mi...@us.ibm.com> on 2006/08/26 18:40:17 UTC

[maven] Questoin on maven.test.classpath


I am new to the maven and am just a user of Maven 1.1.3. For some reason,
my project requires MAVEN 1.X rather than 2.X. When I added the
maven.test.classpath=<somepath>/A.jar;<somepath>/B.jar into
project.properties file. I did not see these JARs on the junit test
CLASSPATH. Could you please tell me a simple way to make use of
maven.test.classpath correctly for the junit test?

I also search the maven1.1.3 plugins directory and found the following
plugins. Are they including the MPTEST-47 patch? How can I verify the patch
is already installed?

====================================================================================
C:\Maven113\plugins>ls
maven-announcement-plugin-1.4.jar        maven-faq-plugin-1.6.1.jar
maven-linkcheck-plugin-1.4.jar
maven-ant-plugin-1.10.jar                maven-file-activity-plugin-1.6.jar
maven-multichanges-plugin-1.2.jar
maven-antlr-plugin-1.2.2.jar             maven-genapp-plugin-2.3.jar
maven-multiproject-plugin-1.5.jar
maven-artifact-plugin-1.8.jar            maven-gump-plugin-2.0.1.jar
maven-native-plugin-1.2.jar
maven-aspectj-plugin-4.0.jar             maven-html2xdoc-plugin-1.4.jar
maven-nsis-plugin-2.0.jar
maven-changelog-plugin-1.9.1.jar         maven-idea-plugin-1.6.jar
maven-pdf-plugin-2.5.jar
maven-changes-plugin-1.6.jar             maven-jalopy-plugin-1.5.jar
maven-plugin-plugin-1.7.jar
maven-checkstyle-plugin-3.0.1.jar        maven-jar-plugin-1.8.jar
maven-pmd-plugin-1.9.jar
maven-clean-plugin-1.4.jar               maven-java-plugin-1.6.jar
maven-pom-plugin-1.5.jar
maven-clover-plugin-1.11.jar             maven-javacc-plugin-1.2.jar
maven-rar-plugin-1.1.jar
maven-console-plugin-1.2.jar             maven-javadoc-plugin-1.8.jar
maven-scm-plugin-1.6.jar
maven-cruisecontrol-plugin-1.8.jar       maven-jdepend-plugin-1.6.1.jar
maven-simian-plugin-1.6.jar
maven-dashboard-plugin-1.9.jar           maven-jdiff-plugin-1.5.jar
maven-site-plugin-1.7.jar
maven-developer-activity-plugin-1.6.jar  maven-jellydoc-plugin-1.3.1.jar
maven-source-plugin-1.0.jar
maven-dist-plugin-1.7.jar                maven-jira-plugin-1.3.jar
maven-tasklist-plugin-2.4.jar
maven-ear-plugin-1.9.jar
maven-junit-report-plugin-1.5.1.jar      maven-test-plugin-1.8.jar
maven-eclipse-plugin-1.11.jar            maven-jxr-plugin-1.5.jar
maven-war-plugin-1.6.2.jar
maven-ejb-plugin-1.7.2.jar               maven-license-plugin-1.2.jar
maven-xdoc-plugin-1.10.jar

Sincerely,

Ming Cheung

Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
Tie Line: 678-0733
Email: mingcheu@us.ibm.com

Re: [maven] Questoin on maven.test.classpath

Posted by Lukas Theussl <lt...@apache.org>.
MPTEST-47 was fixed in release 1.8 of the test plugin [1] which is 
included in Maven 1.1-beta-3 [2].

How do you know it's not included in the classpath? Do you have some 
error output that you could show? Running Maven with the -X option will 
give you a lot more information. If you have a small reproducible test 
case, please open a new issue at [3] and attach it there.

Thanks,
-Lukas

[1] 
http://maven.apache.org/maven-1.x/plugins/test/changes-report.html#Release1_8
[2] http://maven.apache.org/maven-1.x/plugins/bundledHistory.html
[3] http://jira.codehaus.org/browse/MPTEST

Ming Cheung wrote:
> 
> I am new to the maven and am just a user of Maven 1.1.3. For some reason,
> my project requires MAVEN 1.X rather than 2.X. When I added the
> maven.test.classpath=<somepath>/A.jar;<somepath>/B.jar into
> project.properties file. I did not see these JARs on the junit test
> CLASSPATH. Could you please tell me a simple way to make use of
> maven.test.classpath correctly for the junit test?
> 
> I also search the maven1.1.3 plugins directory and found the following
> plugins. Are they including the MPTEST-47 patch? How can I verify the patch
> is already installed?
> 
> ====================================================================================
> C:\Maven113\plugins>ls
> maven-announcement-plugin-1.4.jar        maven-faq-plugin-1.6.1.jar
> maven-linkcheck-plugin-1.4.jar
> maven-ant-plugin-1.10.jar                maven-file-activity-plugin-1.6.jar
> maven-multichanges-plugin-1.2.jar
> maven-antlr-plugin-1.2.2.jar             maven-genapp-plugin-2.3.jar
> maven-multiproject-plugin-1.5.jar
> maven-artifact-plugin-1.8.jar            maven-gump-plugin-2.0.1.jar
> maven-native-plugin-1.2.jar
> maven-aspectj-plugin-4.0.jar             maven-html2xdoc-plugin-1.4.jar
> maven-nsis-plugin-2.0.jar
> maven-changelog-plugin-1.9.1.jar         maven-idea-plugin-1.6.jar
> maven-pdf-plugin-2.5.jar
> maven-changes-plugin-1.6.jar             maven-jalopy-plugin-1.5.jar
> maven-plugin-plugin-1.7.jar
> maven-checkstyle-plugin-3.0.1.jar        maven-jar-plugin-1.8.jar
> maven-pmd-plugin-1.9.jar
> maven-clean-plugin-1.4.jar               maven-java-plugin-1.6.jar
> maven-pom-plugin-1.5.jar
> maven-clover-plugin-1.11.jar             maven-javacc-plugin-1.2.jar
> maven-rar-plugin-1.1.jar
> maven-console-plugin-1.2.jar             maven-javadoc-plugin-1.8.jar
> maven-scm-plugin-1.6.jar
> maven-cruisecontrol-plugin-1.8.jar       maven-jdepend-plugin-1.6.1.jar
> maven-simian-plugin-1.6.jar
> maven-dashboard-plugin-1.9.jar           maven-jdiff-plugin-1.5.jar
> maven-site-plugin-1.7.jar
> maven-developer-activity-plugin-1.6.jar  maven-jellydoc-plugin-1.3.1.jar
> maven-source-plugin-1.0.jar
> maven-dist-plugin-1.7.jar                maven-jira-plugin-1.3.jar
> maven-tasklist-plugin-2.4.jar
> maven-ear-plugin-1.9.jar
> maven-junit-report-plugin-1.5.1.jar      maven-test-plugin-1.8.jar
> maven-eclipse-plugin-1.11.jar            maven-jxr-plugin-1.5.jar
> maven-war-plugin-1.6.2.jar
> maven-ejb-plugin-1.7.2.jar               maven-license-plugin-1.2.jar
> maven-xdoc-plugin-1.10.jar
> 
> Sincerely,
> 
> Ming Cheung
> 
> Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758
> Tie Line: 678-0733
> Email: mingcheu@us.ibm.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org