On Tue, 2017-09-12 at 14:52 +0100, Davide Giannella wrote:
> On 12/09/2017 13:15, Robert Munteanu wrote:
> > Maybe
> >
> > $ mvn clean install -Papache-release
>
> Nope. Tried as well antrun:run, assembly:single and various other
> combinations and sequences without any good result.
Temporarily apply this patch:
diff --git a/pom.xml b/pom.xml
index ec42452e22..eb7704d7ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,7 +180,7 @@
<goals>
<goal>run</goal>
</goals>
- <phase>deploy</phase>
+ <phase>package</phase>
<configuration>
<tasks>
<mkdir dir="${basedir}/target/${project.version}"
/>
and then run
$ mvn -Papache-release clean package -DskipTests
Obviously -DskipTests is optional, but strongly recommended :-)
Does that work for you?
Robert