I'd like to use Maven to deploy my plugin module. Is that possible?
Hello folks! I'd like to use Maven to deploy my plugin module. Is that possible?
1. I've added the following line to my pom.xml file:
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass><path to factory class></mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
2. run mvn clean package command in terminal.
The method above didn't do the trick.
Any help any will be appreciated!!!
请先登录再写评论。