Maven checksum pom setting?

后端 未结 1 1624
余生分开走
余生分开走 2020-12-21 04:32

Google has failed me and I can\'t find an answer even here on SO - relegating me to actually posting my first question here.

I\'m trying to get the command \"mvn ins

相关标签:
1条回答
  • 2020-12-21 05:38

    The install:install goal of the Maven Install Plugin has an optional createChecksum parameter that defaults to false.

    Either set it to true on the command line (as documented in Creating Checksums):

    mvn install -DcreateChecksum=true
    

    Or in the plugin configuration:

    <plugin>
      <artifactId>maven-install-plugin</artifactId>
      <version>2.3.1</version>
      <configuration>
        <createChecksum>true</createChecksum>
      </configuration>
    </plugin>
    
    0 讨论(0)
提交回复
热议问题