我应该在Nexus中为pom提供什么版本的快照?

时间:2017-09-15 04:16:14

标签: maven pom.xml nexus

我在nexus中有soap-builder快照版本。 我声明版本1.0.0-SNAPSHOT并尝试在metadata.xml中出现的数字,但仍然无法从nexus获取工件。请指教。谢谢。

我的pom.xml

    <dependency>
        <groupId>org.reficio</groupId>
        <artifactId>soap-builder</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>

行家-metadata.xml中

<?xml version="1.0" encoding="UTF-8"?>
<metadata modelVersion="1.1.0">
  <groupId>org.reficio</groupId>
  <artifactId>soap-builder</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <versioning>
    <snapshot>
      <timestamp>20150226.115144</timestamp>
      <buildNumber>15</buildNumber>
    </snapshot>
    <lastUpdated>20150226115144</lastUpdated>
    <snapshotVersions>
      <snapshotVersion>
        <extension>jar</extension>
        <value>1.0.0-20150226.115144-15</value>
        <updated>20150226115144</updated>
      </snapshotVersion>
      <snapshotVersion>
        <extension>pom</extension>
        <value>1.0.0-20150226.115144-15</value>
        <updated>20150226115144</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>sources</classifier>
        <extension>jar</extension>
        <value>1.0.0-20150226.115144-15</value>
        <updated>20150226115144</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>javadoc</classifier>
        <extension>jar</extension>
        <value>1.0.0-20150226.115144-15</value>
        <updated>20150226115144</updated>
      </snapshotVersion>
    </snapshotVersions>
  </versioning>
</metadata>

0 个答案:

没有答案