jira-importer commented on issue #232:
URL: 
https://github.com/apache/maven-jar-plugin/issues/232#issuecomment-2956684322

   **[Olivier 
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** 
commented
   
   Thanks for suggestion but ...
   my use case is to install/deploy the jar and test-jar (with all class 
src/main + src/test) without **running** tests
   I try to do it (as you suggest) with : mvn test-compile install 
-Dmaven.test.skip=true.
   When looking at :
   
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java?revision=387710
   execute method it seems to be not possible.
   if ( skip )
   {
   getLog().info( "Not compiling test sources" );
   }
   else
   {
   super.execute();
   }
   I think we need more properties :
   - maven.test.skip.compile
   - maven.test.skip.exec
   
   ---
   
   Olivier
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to