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

   **[Olivier 
Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** 
commented
   
   Oh yes. I have to add this in the jar plugin site.
   
   ```xml
   <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-jar-plugin</artifactId>
     ...
     <configuration>
       <archive>
         <manifest>
           <addClasspath>true</addClasspath>
           
<classPathMavenRepositoryLayout>true</classPathMavenRepositoryLayout>           
   
         </manifest>
       </archive>
     </configuration>
     ...
   </plugin>
   ```
   
   I have verfied (with unit test) the creation entry in the created MANIFEST 
but I haven't tried a jar with this.
   Thanks.
   


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