Skip to content

Commit

Permalink
[ZEN-4908] [CI/BUILD] Use maven plugin to automatically update versio…
Browse files Browse the repository at this point in the history
…ns from branch name

Failure was due to our setup of maven source plugin, using jar-no-fork seems to solve the xtend compilation issue with maven-git-versioning-extension.
  • Loading branch information
ghillairet committed Jun 5, 2019
1 parent 61a4e6f commit b0281da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
29 changes: 0 additions & 29 deletions modules/genflow-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,35 +107,6 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
Expand Down

0 comments on commit b0281da

Please sign in to comment.