jira-importer commented on issue #146:
URL: 
https://github.com/apache/maven-war-plugin/issues/146#issuecomment-2967845754

   **[Karl Heinz 
Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)**
 commented
   
   I have [created an 
example](https://github.com/khmarbaise/mwar/tree/master/mwar-318) which works 
without any problem.  I have called from the root of this example:
   `mvn clean package`
   May be you can take a look into the example and give me hints what you done 
different and what has not work as you expected.
   
   The only way i can explain your output is. You have first created the 
project made `mvn install` and afterwards changed the type of war2 into `war`  
(also packaging of war2 module) and ran a second time. Otherwise it's not 
possible to get an jar which is expanded from the local repository.
   
   Apart from that a general tip in relationship with multi module builds. Your 
build must work just by simply doing `mvn clean package` nothing is necessary. 
If you have the symptom to do `mvn install` once and afterwards it's running 
sucessfull something is wrong in your build. And best to check if everything is 
ok. Delete your local repository first.
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to