Skip to content

Commit

Permalink
added jars as build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Mucha committed Feb 16, 2024
1 parent 666cdfe commit 20fb7e2
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 7 deletions.
21 changes: 20 additions & 1 deletion milkman-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,20 @@
</descriptors>
</configuration>
</execution>
<execution>
<execution>
<id>plugin-jars-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>plugin-jars</finalName>
<descriptors>
<descriptor>src/assembly/plugins-jars.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>assembly-cli</id>
<phase>package</phase>
<goals>
Expand Down Expand Up @@ -424,6 +437,12 @@
<exclude>${project.artifactId}*.jar</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>${project.build.directory}/plugin-jars-bin</directory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>

</configuration>
Expand Down
38 changes: 38 additions & 0 deletions milkman-dist/src/assembly/plugins-jars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>bin</id>
<formats>
<format>dir</format>
</formats>
<baseDirectory>milkman-jars</baseDirectory>
<includeBaseDirectory>false</includeBaseDirectory>
<moduleSets>

<moduleSet>
<useAllReactorProjects>true</useAllReactorProjects>
<includes>
<include>com.github.warmuuh:milkman-note</include>
<include>com.github.warmuuh:milkman-rest</include>
<include>com.github.warmuuh:milkman-scripting</include>
<include>com.github.warmuuh:milkman-explore</include>
<include>com.github.warmuuh:milkman-jdbc</include>
<include>com.github.warmuuh:milkman-sync-git</include>
<include>com.github.warmuuh:milkman-privatebin</include>
<include>com.github.warmuuh:milkman-graphql</include>
<include>com.github.warmuuh:milkman-grpc</include>
<include>com.github.warmuuh:milkman-cassandra</include>
<include>com.github.warmuuh:milkman-test</include>
<include>com.github.warmuuh:milkman-auth</include>
<include>com.github.warmuuh:milkman-ws</include>
<include>com.github.warmuuh:milkman-sio</include>
<include>com.github.warmuuh:milkman-nosql</include>
</includes>
<binaries>
<unpack>false</unpack>
<outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
<includeDependencies>false</includeDependencies>
</binaries>
</moduleSet>
</moduleSets>
</assembly>
6 changes: 0 additions & 6 deletions milkman-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
"artifact": "milkman-cassandra.jar",
"description": "Introduces Cql Requests to Milkman using cassandra datastax driver."
},
{
"author": "warmuuh",
"name": "milkman-cli",
"artifact": "milkman-cli.jar",
"description": "This is an experimental interactive command line interface for plugin. After copying the content of the archive to the root directory of milkman, you can start it by `mm` on terminal."
},
{
"author": "warmuuh",
"name": "milkman-explore",
Expand Down

0 comments on commit 20fb7e2

Please sign in to comment.