-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge initial public release version (#1)
* Initial public release
- Loading branch information
1 parent
7ece77f
commit 4b96291
Showing
8 changed files
with
1,043 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Maven Package | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
server-id: github | ||
settings-path: ${{ github.workspace }} | ||
|
||
- name: Get version | ||
run: echo "RELEASE_VERSION=$(git describe --tags)" >> $GITHUB_ENV | ||
|
||
- name: Publish to GitHub Packages Apache Maven | ||
run: mvn -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= deploy -s ${{ github.workspace }}/settings.xml | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target/* | ||
.flattened-pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<packaging>jar</packaging> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>jue_01</artifactId> | ||
<version>${revision}${sha1}${changelist}</version> | ||
<name>jue_01</name> | ||
<description>jue_01</description> | ||
<groupId>com.teragrep</groupId> | ||
<url>https://teragrep.com</url> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<java.version>1.8</java.version> | ||
<revision>0.0.1</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
<sha1/> | ||
<junit.jupiter.version>5.7.1</junit.jupiter.version> | ||
</properties> | ||
<scm> | ||
<connection>scm:git:https://github.com/teragrep/jue_01.git</connection> | ||
<developerConnection>scm:git:[email protected]:teragrep/jue_01.git</developerConnection> | ||
<url>https://github.com/teragrep/jue_01/tree/master</url> | ||
</scm> | ||
<profiles> | ||
<profile> | ||
<id>build</id> | ||
</profile> | ||
<profile> | ||
<id>dev</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<properties> | ||
<maven.compiler.release>8</maven.compiler.release> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>dev-java-8</id> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<!-- for caching --> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>30.1.1-jre</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.7.30</version> | ||
</dependency> | ||
<!-- Parameterized Tests --> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-params</artifactId> | ||
<version>${junit.jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.xmlunit</groupId> | ||
<artifactId>xmlunit-core</artifactId> | ||
<version>2.0.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.xmlunit</groupId> | ||
<artifactId>xmlunit-matchers</artifactId> | ||
<version>2.0.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<directory>${project.basedir}/target</directory> | ||
<finalName>jue_01</finalName> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.rat</groupId> | ||
<artifactId>apache-rat-plugin</artifactId> | ||
<version>0.15</version> | ||
<inherited>false</inherited> | ||
<executions> | ||
<execution> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> | ||
<licenses> | ||
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> | ||
<patterns> | ||
<pattern>http://www.apache.org/licenses/LICENSE-2.0</pattern> | ||
<pattern>License CC BY-SA 2.5</pattern> | ||
</patterns> | ||
</license> | ||
</licenses> | ||
<consoleOutput>true</consoleOutput> | ||
<excludeSubProjects>false</excludeSubProjects> | ||
<excludes> | ||
<!-- git --> | ||
<exclude>.git/**</exclude> | ||
<exclude>.gitattributes</exclude> | ||
<exclude>.gitignore</exclude> | ||
<exclude>.gitmodules</exclude> | ||
<!-- ci --> | ||
<exclude>.github/workflows/*.yml</exclude> | ||
<exclude>toolchains.xml</exclude> | ||
<exclude>settings.xml</exclude> | ||
<!-- readme --> | ||
<exclude>README.adoc</exclude> | ||
<exclude>README.md</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>flatten-maven-plugin</artifactId> | ||
<version>1.1.0</version> | ||
<configuration> | ||
<updatePomFile>true</updatePomFile> | ||
<flattenMode>bom</flattenMode> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>flatten</id> | ||
<phase>process-resources</phase> | ||
<goals> | ||
<goal>flatten</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>flatten.clean</id> | ||
<phase>clean</phase> | ||
<goals> | ||
<goal>clean</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>3.0.0-M5</version> | ||
<configuration> | ||
<parallel>all</parallel> | ||
<useUnlimitedThreads>true</useUnlimitedThreads> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<repository> | ||
<id>github</id> | ||
<url>https://maven.pkg.github.com/${env.GITHUB_REPOSITORY}</url> | ||
</repository> | ||
</distributionManagement> | ||
</project> |
Oops, something went wrong.