Giter VIP home page Giter VIP logo

Comments (8)

agapple avatar agapple commented on May 9, 2024

canal 1.0.9-SNAPSHOT目前正常开发中,我已经将SNAPSHOT版本上传到了oss.sonatype.org仓库中,

比如:
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/otter/canal.store/1.0.9-SNAPSHOT/maven-metadata.xml

我本地测试了一下,删除本地仓库包后是可以下载到1.0.9-SNAPSHOT的包,确认下oss.sonatype.org是否可访问?

from otter.

yangl avatar yangl commented on May 9, 2024

-DskipTests=true package -P sonatype-oss-release
还是去googlecode下载去了
http://jtester.googlecode.com/svn/m2/com/alibaba/otter/canal.instance.manager/1.0.9-SNAPSHOT/canal.instance.manager-1.0.9-SNAPSHOT.pom
就找不着了。

from otter.

agapple avatar agapple commented on May 9, 2024

我没设置 -P sonatype-oss-release的profile,我看一下,是否需要显示添加一下repository

from otter.

agapple avatar agapple commented on May 9, 2024

在你本地根目录pom.xml中,手工增加一下试试

          <repository>
        <id>sonatype</id>
        <name>sonatype</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>

from otter.

yangl avatar yangl commented on May 9, 2024

嗯,加上这个仓库就好了。

from otter.

agapple avatar agapple commented on May 9, 2024

我本地执行mvn help:effective-pom,默认是有添加该仓库的,不需要显示申明,不知道你那什么情况?

from otter.

yangl avatar yangl commented on May 9, 2024

那可能是maven版本不一样的吧,我用的3.0.5

from otter.

agapple avatar agapple commented on May 9, 2024

我mvn 3.1.0,那我显示添加一下repository,谢谢你的反馈

from otter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.