我在这个文档之后做了一个覆盖“maven-jar-plugin”的maven插件: How do I create a new packaging type for Maven?
你可以在这里找到我的插件:http: //mvnrepository.com/artifact/org.lucee/lco-plugin/1.0
来源在这里: https ://github.com/lucee/lco-maven-plugin
我只更改了扩展名,没有别的,我得到了预期的正确扩展名,问题是配置被忽略了
<plugin>
<groupId>org.lucee</groupId>
<artifactId>lco-plugin</artifactId>
<version>1.01-SNAPSHOT</version>
<!-- when I use this the configuration works!
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>-->
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
<extensions>true</extensions>
</plugin>
知道我做错了什么吗?