Good day to you, Andreas,

If you want to see the classpath, try using mvn dependency:build-classpath (
see the "The dependency:build-classpath mojo" of [1] ). 

Cheers,
Franz

[1] http://maven.apache.org/plugins/maven-dependency-plugin/usage.html


Kanzlers, Andreas wrote:
> 
> Hi,
> I tried to reference the maven.dependency.classpath within the <tasks>
> element of the maven-antrun-plugin.
> The logging of the classpath with
>  
>   <property name="dep.cp" refid="maven.dependency.classpath"/>
>    <echo>${dep.cp}</echo>
>  
> produces following sample output:
>  
>   [echo]
> C:\svn\coremedia\slave\svnant;C:\svn\coremedia\slave\svnjavahl;C:\svn\coremedia\slave\jar;C:\svn\coremedia\slave\1.0.0;C:\svn\coremedia\slave\compil
> e;C:\svn\coremedia\slave\junit;C:\svn\coremedia\slave\3.8.1;C:\svn\coremedia\slave\test;C:\svn\coremedia\slave\coremedia;C:\svn\coremedia\slave\cap;C:\svn\corem
> edia\slave\5.0.545;C:\svn\coremedia\slave\svnClientAdapter
> 
> Only the folders of the dependencies are added but not the jars
> themselves.
> (The maven.compile.classpath does include all the jars).
>  
> System: Windows XP, JDK 1.5.0_10, Maven 2.0.6 , maven-antrun-plugin 1.1,  
>  
>  
> Any ideas ?
>  
> Regards,
> Andreas
>  
>  
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven.dependency.classpath-seems-to-be-corrupt-tf3525044s177.html#a9835786
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to