Skip to content

Commit

Permalink
fix: issue publishing to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangst committed Dec 14, 2021
1 parent 70d0239 commit 4b87a3d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
34 changes: 28 additions & 6 deletions modules/examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,39 @@
<artifactId>annotator-for-clinical-data</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<minimizeJar>true</minimizeJar>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<developers>
<developer>
<name>IBM Cloud DevX SDK Development</name>
<email>[email protected]</email>
<url>https://www.ibm.com/</url>
</developer>
<developer>
<name>Watson Health</name>
<email>[email protected]</email>
<organization>IBM</organization>
<organizationUrl>https://ibm.com</organizationUrl>
</developer>
</developers>
</project>
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<maven-reports-plugin-version>3.0.0</maven-reports-plugin-version>
<maven-failsafe-plugin-version>3.0.0-M4</maven-failsafe-plugin-version>
<maven-buildnumber-plugin-version>1.4</maven-buildnumber-plugin-version>
<maven-shade-plugin-version>3.2.4</maven-shade-plugin-version>
<maven-deploy-plugin-version>3.0.0-M1</maven-deploy-plugin-version>
<powermock-version>2.0.5</powermock-version>
<mockito-version>3.2.4</mockito-version>
Expand Down Expand Up @@ -326,6 +327,11 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin-version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -383,6 +389,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 4b87a3d

Please sign in to comment.