Skip to content

Commit a32c8d3

Browse files
committed
Enable .jar in documentation project
This is necessary because otherwise, central-publishing-maven-plugin will complain about no artifact being bound to the documentation module
1 parent 76991cb commit a32c8d3

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/release-workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,19 @@ jobs:
9898
run: |
9999
export MAVEN_OPTS="-Xmx4096m"
100100
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
101+
release_version=${{ github.event.inputs.release_version }}
102+
101103
# Required for reactor dependencies
102104
mvn clean install -DskipTests -Dmaven.javadoc.skip=true
103-
mvn versions:set -DnewVersion=${{ github.event.inputs.release_version }}
105+
mvn versions:set -DnewVersion=${release_version}
104106
mvn versions:commit
105107
106-
release_version=${{ github.event.inputs.release_version }}
107-
108108
# Actual build of core SDK
109109
mvn -B -pl '!org.eclipse.esmf:samm-cli' clean deploy -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Psign
110110
111111
# Create Maven Central upload bundle
112112
pushd target/central-deferred
113+
rm -rf org/eclipse/esmf/documentation
113114
zip -r -9 ../../central-bundle.zip .
114115
popd
115116

documentation/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,6 @@
100100
</configuration>
101101
</plugin>
102102

103-
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-jar-plugin</artifactId>
106-
<executions>
107-
<execution>
108-
<id>default-jar</id>
109-
<phase/>
110-
</execution>
111-
</executions>
112-
</plugin>
113-
114103
<plugin>
115104
<groupId>org.apache.maven.plugins</groupId>
116105
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)