Giter VIP home page Giter VIP logo

Comments (15)

joente avatar joente commented on July 19, 2024 1

QPack is now be available on ossrh (the 0.0-SNAPSHOT version)

https://oss.sonatype.org/#nexus-search;quick~qpack

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

Guidelines for pushing: https://central.sonatype.org/pages/ossrh-guide.html

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

@joente nice! Let me give it a try :-)

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

@joente seems to be there:

https://oss.sonatype.org/content/groups/public/technology/transceptor/java-qpack/0.0-SNAPSHOT/

can you upload a stable release, i.e. without SNAPSHOT in the release number? Thanks :-)

from java-qpack.

joente avatar joente commented on July 19, 2024
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar (9.1 kB at 298 B/s)
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.pom
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.pom (3.7 kB at 3.1 kB/s)
Downloading from ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/maven-metadata.xml
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/maven-metadata.xml
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/technology/transceptor/java-qpack/maven-metadata.xml (308 B at 188 B/s)

It seems that a proxy is used, maybe it takes some time for the package to appear in the repository?

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

@joente that's been pushed to staging, I think you need some extra step to move from staging to release: https://central.sonatype.org/pages/releasing-the-deployment.html

from java-qpack.

joente avatar joente commented on July 19, 2024

@unicolet, thanks, I expected to find the package in the staging repo and did not find it; but probably I'm missing something. I will read the document and see if it works, I'll let you know :-)

from java-qpack.

joente avatar joente commented on July 19, 2024

@unicolet, I'm a bit confused about this part in the documentation: (since our pom.xml has the nexus-staging-plugin configured, I would expect an automated release)

Nexus Staging Maven Plugin for Deployment and Release

The Nexus Staging Maven Plugin is the recommended way to deploy your components to OSSRH and release them to the Central Repository. To configure it simply add the plugin to your Maven pom.xml.

<build>
<plugins>
...
<plugin>
  <groupId>org.sonatype.plugins</groupId>
  <artifactId>nexus-staging-maven-plugin</artifactId>
  <version>1.6.7</version>
  <extensions>true</extensions>
  <configuration>
     <serverId>ossrh</serverId>
     <nexusUrl>https://oss.sonatype.org/</nexusUrl>
     <autoReleaseAfterClose>true</autoReleaseAfterClose>
  </configuration>
</plugin>

If your version is a release version (does not end in -SNAPSHOT) and with this setup in place, you can > run a deployment to OSSRH and an automated release to the Central Repository with the usual:

mvn clean deploy

I also found that it could take at least minutes to a couple of hours before things are synchronized? Any change that it just takes time?

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

@joente I can find the artifact in staging:

https://oss.sonatype.org/content/repositories/staging/technology/transceptor/java-qpack/

and I can download the snapshot using mvn, so it does look like one extra step is missing. I've never deployed to the public repos so I'm a newbie too :-)

from java-qpack.

joente avatar joente commented on July 19, 2024

I guess that is still the 0.0-SNAPSHOT, and not the 0.0 which I uploaded later. The latter should be available in ..service/local/staging/, not ..content/repositories/

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

I guess that is still the 0.0-SNAPSHOT

you're right, sorry my bad :-)

from java-qpack.

joente avatar joente commented on July 19, 2024

The package is available here: https://oss.sonatype.org/service/local/repositories/technologytransceptor-1000/content/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar

from java-qpack.

joente avatar joente commented on July 19, 2024

I see, some requirements are not met:

  • Javadoc
  • Developer info in pom.xml
  • sources.jar is missing
  • signature is missing.

from java-qpack.

joente avatar joente commented on July 19, 2024

Solved all the requirements and I think it worked now: https://oss.sonatype.org/service/local/repositories/releases/content/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar

from java-qpack.

unicolet avatar unicolet commented on July 19, 2024

@joente great work! and thanks :-)

mvn -U  dependency:get -Dartifact=technology.transceptor:java-qpack:0.0
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:get (default-cli) @ standalone-pom ---
[INFO] Resolving technology.transceptor:java-qpack:jar:0.0 with transitive dependencies
Downloading: https://repo.maven.apache.org/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.pom
Downloaded: https://repo.maven.apache.org/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.pom (5.4 kB at 10 kB/s)
Downloading: https://repo.maven.apache.org/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar
Downloaded: https://repo.maven.apache.org/maven2/technology/transceptor/java-qpack/0.0/java-qpack-0.0.jar (9.4 kB at 121 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.769 s
[INFO] Finished at: 2018-08-17T12:58:13+02:00
[INFO] Final Memory: 17M/295M
[INFO] ------------------------------------------------------------------------

from java-qpack.

Related Issues (3)

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.