Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/workflows/github-release.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: release

on:
release:
types:
- created

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build with Maven
run: mvn clean install

- name: Upload Release Assets to GitHub
uses: AButler/upload-release-assets@v3.0
with:
files: "evee-protege-release/target/*.zip"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare Maven environnement with Java 11 for deployment to Sonatype
run: export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"

- name: Publish to Apache Maven Central
run: mvn deploy -PsonartypeDeploy
env:
MAVEN_USERNAME: ${{ secrets.SONAR_USER }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONAR_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
36 changes: 0 additions & 36 deletions .github/workflows/sonartype-publish.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,6 @@
<build>
<sourceDirectory>${project.basedir}/src/main/scala</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test</testSourceDirectory>
<!--
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<id>create-main-resources-jar</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>${project.basedir}/src/main/resources</classesDirectory>
<classifier>main-resources</classifier>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
-->
</build>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/src/main/scala</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>evee-elimination-proofs-core-owlapi4_2.12</artifactId>
<version>${project.version}</version>
<classifier>main-resources</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/src/main/resources</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
Expand Down
2 changes: 1 addition & 1 deletion evee-protege/evee-protege-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>org.liveontologies</groupId>
<artifactId>protege-proof-explanation</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>0.1.0</version>
</dependency>

<!-- de.tu-dresden.inf.lat-->
Expand Down
56 changes: 28 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,34 @@
<skip>${skipCompilation}</skip>
</configuration>
</plugin>
<!-- generating source files-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>create-source-files</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<excludeResources>${excludeResourcesInSourceJar}</excludeResources>
</configuration>
</execution>
<execution>
<id>create-test-jar</id>
<phase>verify</phase>
<goals>
<goal>test-jar-no-fork</goal>
</goals>
<configuration>
<excludeResources>${excludeResourcesInSourceJar}</excludeResources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
Expand Down Expand Up @@ -96,34 +124,6 @@
<id>sonartypeDeploy</id>
<build>
<plugins>
<!-- generating source files-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>create-source-files</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<excludeResources>${excludeResourcesInSourceJar}</excludeResources>
</configuration>
</execution>
<execution>
<id>create-test-jar</id>
<phase>verify</phase>
<goals>
<goal>test-jar-no-fork</goal>
</goals>
<configuration>
<excludeResources>${excludeResourcesInSourceJar}</excludeResources>
</configuration>
</execution>
</executions>
</plugin>
<!-- generating javadoc files-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down