I want my test cases execute with "-debug -consolelog" as it is the case when I run with 'mvn -X'. I don't want to use 'mvn -X' because I'm not interested in the Maven debug output.

Looking into maven-osgi-test-plugin/src/main/java/org/codehaus/tycho/osgitest/TestMojo.java, I see

   /**
    * Enables -debug -consolelog for the test OSGi runtime
    *
    * @parameter expression="${tycho.showEclipseLog}" default-value="false"
    */
   private boolean showEclipseLog;

Now, in my pom.xml neither

 <properties>
   <tycho.showEclipseLog>true</tycho.showEclipseLog>
 </properties>

nor

 <build>
   <plugins>
      <plugin>
        <groupId>org.codehaus.tycho</groupId>
        <artifactId>maven-osgi-test-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <showEclipseLog>true</showEclipseLog>
        </configuration>
      </plugin>
   </plugins>
 </build>

does the trick.

What am I missing?
Thanks!
-Max


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to