Hello,

Is there anyone who knows how the classpath is defined when a maven2 plug-in is 
run ? 

I expected that all the dependent jars, defined in my POM should be on the 
classpath, but when I print out the classpath inside my plug-in, I get:

/**
 * @see 
org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale)
 */
  
public void executeReport(final Locale locale) throws MavenReportException {
  ...
  getLog().info("  - classpath   : " + System.getProperty("java.class.path"));
  ...
}

output:

  - classpath   : /opt/maven2-SNAPSHOT/core/boot/classworlds-1.1-alpha-2.jar


Thanks,
Mario.

Reply via email to