You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Kanzlers, Andreas" <an...@coremedia.com> on 2007/04/04 12:19:31 UTC

maven.dependency.classpath seems to be corrupt

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
 
 

Re: maven.dependency.classpath seems to be corrupt

Posted by franz see <fr...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org