[hotfix] [build] Disable exclusion rules when using build-jar maven profile#1719
[hotfix] [build] Disable exclusion rules when using build-jar maven profile#1719tillrohrmann wants to merge 2 commits intoapache:masterfrom
Conversation
|
|
||
| <profiles> | ||
| <profile> | ||
| <!-- A profile that does everyting correctly: |
There was a problem hiding this comment.
How about writing Profile for packaging correct JAR files. That let's people know it is actually for JAR files ;-)
There was a problem hiding this comment.
Good catch. Will replace it with @StephanEwen's proposal.
|
Can also also add a note to the documentation about the build-jar profile? This is just an idea, but maybe we could add the following plugin to the quickstarts: <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>${line.separator}
${line.separator}Please use the "-Pbuild-jar" profile for creating a fat-jar.
${line.separator}${line.separator}${line.separator}</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>this leads to the following output: |
|
Thanks for the review @zentol, @StephanEwen and @rmetzger. I've changed the comment. Concerning the documentation, there is already a note about the |
|
Concerning the |
|
I'm okay with not including it. |
|
+1 to merge this change. |
|
Merging ... |
…rofile. This closes apache#1719
Disables the exclusion rules when using the quickstarts.