Skip to content

Commit d9c6522

Browse files
committed
fix parfait-agent packaging
The parfait-agent jar now correctly contains the `Premain-Class` property, and it no longer contains a bundled copy of all of the dependencies. The version with bundled dependencies is still generated under the `jar-with-dependencies` classifier.
1 parent 3f87723 commit d9c6522

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

parfait-agent/pom.xml

+9-10
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,15 @@
6262
</plugin>
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
65-
<artifactId>maven-shade-plugin</artifactId>
66-
<version>3.2.4</version>
67-
<executions>
68-
<execution>
69-
<phase>package</phase>
70-
<goals>
71-
<goal>shade</goal>
72-
</goals>
73-
</execution>
74-
</executions>
65+
<artifactId>maven-jar-plugin</artifactId>
66+
<configuration>
67+
<archive>
68+
<manifestEntries>
69+
<Premain-Class>io.pcp.parfait.ParfaitAgent</Premain-Class>
70+
<Main-Class>io.pcp.parfait.ParfaitAgent</Main-Class>
71+
</manifestEntries>
72+
</archive>
73+
</configuration>
7574
</plugin>
7675
<plugin>
7776
<groupId>com.mycila</groupId>

0 commit comments

Comments
 (0)