Skip to content

Commit

Permalink
Merge pull request #77 from it-at-m/fix-wls-common-mvn-release
Browse files Browse the repository at this point in the history
Fix wls common mvn release
  • Loading branch information
MrSebastian authored Apr 11, 2024
2 parents 3aee02a + f951810 commit 5fcc529
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion wls-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@
<configuration>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
<deploymentName>${project.groupId}:${project.artifactId}:${project.version}</deploymentName>
<deploymentName>${project.groupId}:${project.version}</deploymentName>
<excludeArtifacts>
<artifact>monitoring</artifact>
<artifact>security</artifact>
</excludeArtifacts>
</configuration>
</plugin>
<!-- GPG plugin -->
Expand Down Expand Up @@ -225,6 +229,53 @@
</compilerArgs>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<sourceFileIncludes>
<sourceFileInclude>**/*.java</sourceFileInclude>
</sourceFileIncludes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 5fcc529

Please sign in to comment.