jira-importer commented on issue #44:
URL: 
https://github.com/apache/maven-apache-resources/issues/44#issuecomment-2678276415

   **[Maysam 
Yabandeh](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=maysamyabandeh)**
 commented
   
   Thanks [Dennis 
Lundberg](https://issues.apache.org/jira/secure/[email protected]).
   
   | First, when you say "assembly descriptor", which assembly descriptor do 
you mean? Is it the apache-source-release-assembly-descriptor?
   
   By assembly descriptor, I was referring to src.xml in the following pom.xml 
file.
   
   ```
   <project>
     [...]
     <build>
       [...]
       <plugins>
         <plugin>
           <artifactId>maven-assembly-plugin</artifactId>
           <version>2.4</version>
           <configuration>
             <descriptors>
               <descriptor>src/main/assembly/src.xml</descriptor>
             </descriptors>
           </configuration>
           [...]
   </project>
   ```
   
   src.xml itself is not by default packaged in the final jar file. Having 
src.xml in the jar file, one can disassemble the jar file and reassemble it 
with an updated src.xml that excludes the common dependencies.
   
   | Second, it sounds to me like you want to change the current configuration 
for the JAR Plugin in org.apache:apache parent POM. It that correct?
   
   I am not sure if it is possible to instruct pom.xml to package src.xml in 
the final jar file. But anyway I was hoping that maven could that by default 
without needing extra configuration from the user. As it was discussed in 
HADOOP-9639, large companies are serving many internal users and variety of 
applications, and needing to update all the related configuration files raises 
some management issues.
   


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