bndtools / bnd

Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
https://bndtools.org
Other
527 stars 305 forks source link

Could not find biz.aQute.bnd:biz.aQute.bnd.gradle:4.0.0. #2420

Closed Azbesciak closed 6 years ago

Azbesciak commented 6 years ago

Hi, I am trying to update my plugin version from 3.5 to, as you mention in readme, 4.0. However, I fail with ...

Could not find biz.aQute.bnd:biz.aQute.bnd.gradle:4.0.0.
Searched in the following locations:
    https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd.gradle/4.0.0/biz.aQute.bnd.gradle-4.0.0.pom
    https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd.gradle/4.0.0/biz.aQute.bnd.gradle-4.0.0.jar

My settings.gradle looks exacly the same like the one given in your instructions. Also, I could not find given version in maven central and direct page image.

rotty3000 commented 6 years ago

Hi Witold,

Bnd 4.0.0 is not yet released. But you can expect it in the coming weeks (early May is what I remember).

If you want to use 4.0.0-SNAPSHOT you can use this maven repo: https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/

like so:

<pluginRepositories>
    <pluginRepository>
        <id>bnd-snapshots</id>
        <url>

https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/

false
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
</pluginRepositories>

Sincerely,

On Tue, Apr 17, 2018 at 6:50 AM, Witold Kupś notifications@github.com wrote:

Hi, i am trying to update my plugin version from 3.5 to, as you mention in readme https://github.com/bndtools/bnd/blob/master/biz.aQute.bnd.gradle/README.md, 4.0. However, I fail with ...

Could not find biz.aQute.bnd:biz.aQute.bnd.gradle:4.0.0. Searched in the following locations: https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd.gradle/4.0.0/biz.aQute.bnd.gradle-4.0.0.pom https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd.gradle/4.0.0/biz.aQute.bnd.gradle-4.0.0.jar

My settings.gradle looks exacly like given in your instructions. Also, I could not find given version in maven central https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22biz.aQute.bnd%22 and direct page https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd.gradle/ [image: image] https://user-images.githubusercontent.com/17334466/38865240-7e5e4812-423d-11e8-9800-0b28d6b8fd48.png .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bndtools/bnd/issues/2420, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI9TIfkaq5VxU1P7NUqNuhVxmSWRbqyks5tpcjagaJpZM4TYEdV .

-- Raymond Augé http://www.liferay.com/web/raymond.auge/profile (@rotty3000) Senior Software Architect Liferay, Inc. http://www.liferay.com (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance http://osgi.org (@OSGiAlliance)

bjhargrave commented 6 years ago

Closing since 4.0 is not yet released.

@rotty3000, since the question is about the gradle plugin, maven configuration wont help. See https://github.com/bndtools/bnd/tree/master/biz.aQute.bnd.gradle#using-the-latest-development-snapshot-build-of-the-bnd-gradle-plugins for information on how to configure gradle to use the snapshot builds.