Skip to content

Commit

Permalink
Merge pull request #2 from basilevs/test-1
Browse files Browse the repository at this point in the history
Upload UI application
  • Loading branch information
basilevs committed Feb 11, 2024
2 parents 646f733 + 8cc99c9 commit 6f0d0c8
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Expand Up @@ -32,6 +32,12 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -e --file pom.xml --batch-mode --threads 2.0C verify
- name: Upload repository
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: ui
path: 'ui/target/ui-*-jar-with-dependencies.jar'

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
#- name: Update dependency graph
Expand Down
41 changes: 40 additions & 1 deletion ui/pom.xml
Expand Up @@ -10,7 +10,46 @@
</parent>
<artifactId>ui</artifactId>
<packaging>jar</packaging>


<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<mainClass>org.basilevs.jstackfilter.ui.Application</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<mainClass>org.basilevs.jstackfilter.ui.Application</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.basilevs.jstackfilter</groupId>
Expand Down

0 comments on commit 6f0d0c8

Please sign in to comment.