[jira] [Updated] (MASSEMBLY-992) Facility to define assembly descriptor in body of POM

2023-11-25 Thread Slawomir Jaranowski (Jira)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Slawomir Jaranowski updated MASSEMBLY-992:
--
Fix Version/s: next-release
   (was: waiting-for-feedback)

> Facility to define assembly descriptor in body of POM
> -
>
> Key: MASSEMBLY-992
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-992
> Project: Maven Assembly Plugin
>  Issue Type: New Feature
>Reporter: Garret Wilson
>Priority: Major
> Fix For: next-release
>
>
> The Maven Assembly Plugin allows custom descriptors to be defined, but only 
> in an external file. Please add the capability to define the descriptor in 
> the body of the POM itself.
> Requiring a separate descriptor file makes it almost impossible to declare an 
> assembly in a parent POM so that it can be inherited by child POMs. The 
> documentation describe a way to [share 
> descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
>  but it is complex and doesn't obviously support Maven property interpolation.
> Without this facility, in order to easily inherit an assembly from a parent 
> POM, I'm currently resorting to workaround involving AntRun to generate an 
> assembly descriptor on the fly. See [this 
> {{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
>  It's pretty convoluted and tedious to get right. In addition, it has to be 
> placed in a phase that is guaranteed to run before the execution of the Maven 
> Assembly Plugin itself.
> {code:xml}
>   
> org.apache.maven.plugins
> maven-antrun-plugin
> 
>   
> 
> generate-bin-assembly-descriptor
> prepare-package
> 
>   run
> 
> 
>   ${_isSkipGenerateExe}
>   
>  encoding="UTF-8">
>   
> 
>   
> 
>   
> 
>   
> {code}
> This was requested and finally implemented for Versions Maven Plugin; see 
> [#258|https://github.com/mojohaus/versions/issues/258] and 
> [#684|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
> Maven Plugin rules that are 
> inheritable_|https://stackoverflow.com/q/72416739] on Stack Overflow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MASSEMBLY-992) Facility to define assembly descriptor in body of POM

2023-06-27 Thread Garret Wilson (Jira)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Garret Wilson updated MASSEMBLY-992:

Description: 
The Maven Assembly Plugin allows custom descriptors to be defined, but only in 
an external file. Please add the capability to define the descriptor in the 
body of the POM itself.

Requiring a separate descriptor file makes it almost impossible to declare an 
assembly in a parent POM so that it can be inherited by child POMs. The 
documentation describe a way to [share 
descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
 but it is complex and doesn't obviously support Maven property interpolation.

Without this facility, in order to easily inherit an assembly from a parent 
POM, I'm currently resorting to workaround involving AntRun to generate an 
assembly descriptor on the fly. See [this 
{{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
 It's pretty convoluted and tedious to get right. In addition, it has to be 
placed in a phase that is guaranteed to run before the execution of the Maven 
Assembly Plugin itself.

{code:xml}
  
org.apache.maven.plugins
maven-antrun-plugin

  

generate-bin-assembly-descriptor
prepare-package

  run


  ${_isSkipGenerateExe}
  

  

  

  

  
{code}

This was requested and finally implemented for Versions Maven Plugin; see 
[#258|https://github.com/mojohaus/versions/issues/258] and 
[#684|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
Maven Plugin rules that are inheritable_|https://stackoverflow.com/q/72416739] 
on Stack Overflow.

  was:
The Maven Assembly Plugin allows custom descriptors to be defined, but only in 
an external file. Please add the capability to define the descriptor in the 
body of the POM itself.

Requiring a separate descriptor file makes it almost impossible to declare an 
assembly in a parent POM so that it can be inherited by child POMs. The 
documentation describe a way to [share 
descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
 but it is complex and doesn't obviously support Maven property interpolation.

Without this facility, in order to easily inherit an assembly from a parent 
POM, I'm currently resorting to workaround involving AntRun to generate an 
assembly descriptor on the fly. See [this 
{{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
 It's pretty convoluted and tedious to get right. In addition, it has to be 
placed in a phase that is guaranteed to run before the execution of the Maven 
Assembly Plugin itself.

{code:xml}
  
org.apache.maven.plugins
maven-antrun-plugin

  

generate-bin-assembly-descriptor
prepare-package

  run


  ${_isSkipGenerateExe}
  

  

  

  

  
{code}

This was requested and finally implemented for Versions Maven Plugin; see 
[#258|https://github.com/mojohaus/versions/issues/258] and 
[#685|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
Maven Plugin rules that are inheritable_|https://stackoverflow.com/q/72416739] 
on Stack Overflow.


> Facility to define assembly descriptor in body of POM
> -
>
> Key: MASSEMBLY-992
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-992
> Project: Maven Assembly Plugin
>  Issue Type: New Feature
>Reporter: Garret Wilson
>Priority: Major
> Fix For: waiting-for-feedback
>
>
> The Maven Assembly Plugin allows custom descriptors to be defined, but only 
> in an external file. Please add the capability to define the descriptor in 
> the body of the POM itself.
> Requiring a separate descriptor file makes it almost impossible to declare an 
> assembly in a parent POM so that it can be inherited by child POMs. The 
> documentation describe a way to [share 
> descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
>  but it is complex and doesn't obviously support Maven property interpolation.
> Without this facility, in order to easily inherit an assembly from a parent 
> POM, I'm currently resorting to 

[jira] [Updated] (MASSEMBLY-992) Facility to define assembly descriptor in body of POM

2023-06-27 Thread Michael Osipov (Jira)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MASSEMBLY-992:
-
Fix Version/s: waiting-for-feedback

> Facility to define assembly descriptor in body of POM
> -
>
> Key: MASSEMBLY-992
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-992
> Project: Maven Assembly Plugin
>  Issue Type: New Feature
>Reporter: Garret Wilson
>Priority: Major
> Fix For: waiting-for-feedback
>
>
> The Maven Assembly Plugin allows custom descriptors to be defined, but only 
> in an external file. Please add the capability to define the descriptor in 
> the body of the POM itself.
> Requiring a separate descriptor file makes it almost impossible to declare an 
> assembly in a parent POM so that it can be inherited by child POMs. The 
> documentation describe a way to [share 
> descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
>  but it is complex and doesn't obviously support Maven property interpolation.
> Without this facility, in order to easily inherit an assembly from a parent 
> POM, I'm currently resorting to workaround involving AntRun to generate an 
> assembly descriptor on the fly. See [this 
> {{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
>  It's pretty convoluted and tedious to get right. In addition, it has to be 
> placed in a phase that is guaranteed to run before the execution of the Maven 
> Assembly Plugin itself.
> {code:xml}
>   
> org.apache.maven.plugins
> maven-antrun-plugin
> 
>   
> 
> generate-bin-assembly-descriptor
> prepare-package
> 
>   run
> 
> 
>   ${_isSkipGenerateExe}
>   
>  encoding="UTF-8">
>   
> 
>   
> 
>   
> 
>   
> {code}
> This was requested and finally implemented for Versions Maven Plugin; see 
> [#258|https://github.com/mojohaus/versions/issues/258] and 
> [#685|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
> Maven Plugin rules that are 
> inheritable_|https://stackoverflow.com/q/72416739] on Stack Overflow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (MASSEMBLY-992) Facility to define assembly descriptor in body of POM

2023-06-27 Thread Garret Wilson (Jira)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Garret Wilson updated MASSEMBLY-992:

Description: 
The Maven Assembly Plugin allows custom descriptors to be defined, but only in 
an external file. Please add the capability to define the descriptor in the 
body of the POM itself.

Requiring a separate descriptor file makes it almost impossible to declare an 
assembly in a parent POM so that it can be inherited by child POMs. The 
documentation describe a way to [share 
descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
 but it is complex and doesn't obviously support Maven property interpolation.

Without this facility, in order to easily inherit an assembly from a parent 
POM, I'm currently resorting to workaround involving AntRun to generate an 
assembly descriptor on the fly. See [this 
{{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
 It's pretty convoluted and tedious to get right. In addition, it has to be 
placed in a phase that is guaranteed to run before the execution of the Maven 
Assembly Plugin itself.

{code:xml}
  
org.apache.maven.plugins
maven-antrun-plugin

  

generate-bin-assembly-descriptor
prepare-package

  run


  ${_isSkipGenerateExe}
  

  

  

  

  
{code}

This was requested and finally implemented for Versions Maven Plugin; see 
[#258|https://github.com/mojohaus/versions/issues/258] and 
[#685|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
Maven Plugin rules that are inheritable_|https://stackoverflow.com/q/72416739] 
on Stack Overflow.

  was:
The Maven Assembly Plugin allows custom descriptors to be defined, but only in 
an external file. Please add the capability to define the descriptor in the 
body of the POM itself.

Requiring a separate descriptor file makes it almost impossible to declare an 
assembly in a parent POM so that it can be inherited by child POMs. The 
documentation describe a way to [share 
descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
 but it is complex and doesn't obviously support Maven property interpolation.

Without this facility, in order to easily inherit an assembly from a parent 
POM, I'm currently resorting to workaround involving AntRun to generate an 
assembly descriptor on the fly. See [this 
{{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
 It's pretty convoluted and tedious to get right:

{code:xml}
  

  

  
{code}

This was requested and finally implemented for Versions Maven Plugin; see 
[#258|https://github.com/mojohaus/versions/issues/258] and 
[#685|https://github.com/mojohaus/versions/issues/684], along with [_Versions 
Maven Plugin rules that are inheritable_|https://stackoverflow.com/q/72416739] 
on Stack Overflow.


> Facility to define assembly descriptor in body of POM
> -
>
> Key: MASSEMBLY-992
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-992
> Project: Maven Assembly Plugin
>  Issue Type: New Feature
>Reporter: Garret Wilson
>Priority: Major
>
> The Maven Assembly Plugin allows custom descriptors to be defined, but only 
> in an external file. Please add the capability to define the descriptor in 
> the body of the POM itself.
> Requiring a separate descriptor file makes it almost impossible to declare an 
> assembly in a parent POM so that it can be inherited by child POMs. The 
> documentation describe a way to [share 
> descriptors|https://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html],
>  but it is complex and doesn't obviously support Maven property interpolation.
> Without this facility, in order to easily inherit an assembly from a parent 
> POM, I'm currently resorting to workaround involving AntRun to generate an 
> assembly descriptor on the fly. See [this 
> {{pom.xml}}|https://github.com/globalmentor/globalmentor-root/blob/main/pom.xml].
>  It's pretty convoluted and tedious to get right. In addition, it has to be 
> placed in a phase that is guaranteed to run before the execution of the Maven 
> Assembly Plugin itself.
> {code:xml}
>   
> org.apache.maven.plugins
> maven-antrun-plugin
> 
>   
> 
> generate-bin-assembly-descriptor