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

   **[Olivier 
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** 
commented
   
   As explained, just add the resource in your pom :
   
   ```xml
   <build>
     <resources>
       <resource>
         <directory>src/main/java</directory>
       </resource>
     </resources>
    ....
   </build>
   ```
   
   And the sources will be included in the jar.
   


-- 
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