Giter VIP home page Giter VIP logo

Comments (52)

yegor256 avatar yegor256 commented on July 29, 2024

+1 would be great to have in Maven Central (otherwise it's useless)

from nanohttpd.

hablutzel1 avatar hablutzel1 commented on July 29, 2024

+1, please now!!

from nanohttpd.

pescuma avatar pescuma commented on July 29, 2024

+1

from nanohttpd.

nosyjoe avatar nosyjoe commented on July 29, 2024

+1

from nanohttpd.

melwil avatar melwil commented on July 29, 2024

How is this looking? I found this;

http://mvnrepository.com/artifact/org.kevoree.corelibrary.javase/org.kevoree.library.javase.nanohttp

Is this official? Is there another one?

from nanohttpd.

bentatham avatar bentatham commented on July 29, 2024

+1. Or at least make a some public Maven repository available that has this project in it.

from nanohttpd.

psh avatar psh commented on July 29, 2024

NanoHttpd hasnt (yet) been published to Maven central, but I am looking into it. That "Kevoree :: CoreLibrary :: JavaSE :: NanoHTTP" project isnt mine.

from nanohttpd.

vitalidze avatar vitalidze commented on July 29, 2024

+1

from nanohttpd.

ajma avatar ajma commented on July 29, 2024

+1

from nanohttpd.

sealor avatar sealor commented on July 29, 2024

+1

from nanohttpd.

alexsilva avatar alexsilva commented on July 29, 2024

+1

from nanohttpd.

MatrixDev avatar MatrixDev commented on July 29, 2024

+1

from nanohttpd.

psh avatar psh commented on July 29, 2024

My top priority right now is to get NanoHttpd out into the maven / gradle world.

Step 1 - I plan to upload binaries and get a listing at bintray / jCenter - https://bintray.com/bintray/jcenter

Step 2 - I will add instructions for your maven builds, for now start reading https://bintray.com/docs/working/working_jcenter.html

Step 3 - Although jCenter is a superset of Maven Central, I plan to sync across from jCenter into Maven Central so your builds wont need a custom repo.

from nanohttpd.

melwil avatar melwil commented on July 29, 2024

This looks very good, and thank you for #3 there! 👍

from nanohttpd.

pre avatar pre commented on July 29, 2024

+1

from nanohttpd.

tajchert avatar tajchert commented on July 29, 2024

+1

from nanohttpd.

LukeCarrier avatar LukeCarrier commented on July 29, 2024

👍

from nanohttpd.

asoneji avatar asoneji commented on July 29, 2024

Hi,

Is this available in maven repo? I checked but didnt find this one.

thanks,

ankit

from nanohttpd.

yegor256 avatar yegor256 commented on July 29, 2024

If you need help in releasing to Maven Central, this manual can help: http://www.yegor256.com/2014/08/19/how-to-release-to-maven-central.html

from nanohttpd.

psh avatar psh commented on July 29, 2024

I've been buried in a demanding project in work (yup, gotta get paid!) and only now coming back up for air.

It's still on my radar to get NanoHttpd released in binary form. Thanks for the +1's, its encouraging that this is a hot issue and I'll stay on it.

from nanohttpd.

asoneji avatar asoneji commented on July 29, 2024

Sounds good. Thanks! Let me know if I can help.

thanks,

ankit

On Mon, Oct 6, 2014 at 9:44 AM, Paul Hawke [email protected] wrote:

I've been buried in a demanding project in work (yup, gotta get paid!) and
only now coming back up for air.

It's still on my radar to get NanoHttpd released in binary form. Thanks
for the +1's, its encouraging that this is a hot issue and I'll stay on it.


Reply to this email directly or view it on GitHub
#44 (comment).

Ankit Soneji
[email protected]
408-887-5235

from nanohttpd.

wenerme avatar wenerme commented on July 29, 2024

+1 😄

from nanohttpd.

witbrock avatar witbrock commented on July 29, 2024

+10 :-) [do we need a kickstarter for this :-) ]

On Fri Nov 07 2014 at 9:35:09 PM wener [email protected] wrote:

+1 [image: 😄]


Reply to this email directly or view it on GitHub
#44 (comment).

from nanohttpd.

rolandspannagl avatar rolandspannagl commented on July 29, 2024

+1

from nanohttpd.

mrbrdo avatar mrbrdo commented on July 29, 2024

+1

from nanohttpd.

aluedeke avatar aluedeke commented on July 29, 2024

+1

from nanohttpd.

SladeThe avatar SladeThe commented on July 29, 2024

+1

from nanohttpd.

marius-alex avatar marius-alex commented on July 29, 2024

+1

from nanohttpd.

robertoandrade avatar robertoandrade commented on July 29, 2024

+1

from nanohttpd.

cebarks avatar cebarks commented on July 29, 2024

+1

from nanohttpd.

witnessmenow avatar witnessmenow commented on July 29, 2024

I am surprised to read you like the +1, but let me add my +1

I have a project that I am procrastinating putting on Maven central as well as it depends on Nanohttpd :)

from nanohttpd.

reddec avatar reddec commented on July 29, 2024

+1

from nanohttpd.

 avatar commented on July 29, 2024

+1, please.

from nanohttpd.

jsumners avatar jsumners commented on July 29, 2024

I'll chime in with another +1

from nanohttpd.

jsumners avatar jsumners commented on July 29, 2024

I'll do even better than a +1...

Review this commit -- jsumners@ad2bcfa

It adds support for deploying the nanohttpd modules to a Maven repository that is itself a Git repository. In particular, it is deployed to my Maven repository -- https://github.com/jsumners/mvn-repo

You can test it out by adding the following to a project's pom.xml:

  <dependencies>
    <dependency>
      <groupId>fi.iki.elonen</groupId>
      <artifactId>nanohttpd</artifactId>
      <version>2.1.0</version>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
      <id>jsumners-github-releases</id>
      <url>https://github.com/jsumners/mvn-repo/raw/master/releases/</url>
    </repository>
    <repository>
      <id>jsumners-github-snapshots</id>
      <url>https://github.com/jsumners/mvn-repo/raw/master/snapshots/</url>
    </repository>
  </repositories>

Note: I had to use mvn deploy -Dmaven.test.skip=true to get the packages to compile and deploy. The integration tests were failing because the port was already open (though 8192 is not a port in use by anything other than those tests on my system).

from nanohttpd.

nullEuro avatar nullEuro commented on July 29, 2024

+1

from nanohttpd.

swengconsultant avatar swengconsultant commented on July 29, 2024

Hi jsumners,

Do you know how I can use your repo in gradle. I have setup the build.gradle as shown below however I continue to get the error: Failed to find:'fi.iki.elonen:nanohttpd:2.1.0' ?

repositories {
maven {
url "https://github.com/jsumners/mvn-repo/tree/master/releases"
}
}

dependencies {
compile 'fi.iki.elonen:nanohttpd:2.1.0'
}

from nanohttpd.

jsumners avatar jsumners commented on July 29, 2024

Sorry, I don't use Gradle.

On Tuesday, February 10, 2015, swengconsultant [email protected]
wrote:

Hi jsumners,

Do you know how I can use your repo in gradle. I have setup the
build.gradle as shown below however I continue to get the error: Failed to
find:'fi.iki.elonen:nanohttpd:2.1.0' ?

repositories {
maven {
url "https://github.com/jsumners/mvn-repo/tree/master/releases"
}
}

dependencies {
compile 'fi.iki.elonen:nanohttpd:2.1.0'
}


Reply to this email directly or view it on GitHub
#44 (comment).

James Sumners
http://james.sumners.info/ (technical profile)
http://jrfom.com/ (personal site)
http://haplo.bandcamp.com/ (band page)

from nanohttpd.

peterjanes avatar peterjanes commented on July 29, 2024

@swengconsultant Use the .../raw/... version of the URL, as shown in this comment.

from nanohttpd.

swengconsultant avatar swengconsultant commented on July 29, 2024

@peterjanes That worked a treat, many thanks.

from nanohttpd.

arndtjenssen avatar arndtjenssen commented on July 29, 2024

@jsumners Thanks, works fine !!

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

just came over this project and i also would like to see it in central, thats not so difficult.
I have done it for many projects, so i will do the work nessesary.

The biggest change nessesary will be that the groupId must change! The groupId must be a reverse website where the project is visible and the names of the developers are also visible.

io.github.nanohttpd or com.github.nanohttpd or com.nanohttpd would be ok or any other website where you can place a html with the project description and the developer list.

So let me know the groupId you want, and i will create a pull request with the required changes to deploy to central.

from nanohttpd.

 avatar commented on July 29, 2024

Btw, you can also get NanoHttpd as a maven/gradle dependency using JitPack: https://jitpack.io/#NanoHttpd/nanohttpd/Release-2.1.0

Tried and it works:)

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

all good and well, but you can't (and may not) deploy something to central that has a link to another repository. I will start this weekend, and use the groupId "com.nanohttpd".

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

ok, done made a pull request for the needed changes in the future, made a release of the current state

    <dependency>
        <groupId>com.nanohttpd</groupId>
        <artifactId>nanohttpd</artifactId>
        <version>2.1.1</version>
    </dependency>

and the 2.1.0 tagged version

    <dependency>
        <groupId>com.nanohttpd</groupId>
        <artifactId>nanohttpd</artifactId>
        <version>2.1.0</version>
    </dependency>

to see all deployed artefacts: http://search.maven.org/#search|ga|1|g%3A%22com.nanohttpd%22

so this issue can be closed @psh please take this pull request and register at oss.sonatype.org and create yourself a public gpg key. When you have these you can do releases yourself. Contact me if you need help!

from nanohttpd.

sbeach avatar sbeach commented on July 29, 2024

For those asking about Gradle:

compile group: 'com.nanohttpd', name: 'nanohttpd', version: '2.1.0'

or

compile 'com.nanohttpd:nanohttpd:2.1.0'

Where 2.1.0 is the desired version number.

from nanohttpd.

sbeach avatar sbeach commented on July 29, 2024

To include the webserver, websocket, or markdown-plugin, use the following:

compile 'com.nanohttpd:nanohttpd-webserver:2.1.0'

Where webserver is the desired extra, and 2.1.0 is the desired version.

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

Attention all coming versions will use an other groupId (org.nanohttpd) see #174

from nanohttpd.

a-mi-go avatar a-mi-go commented on July 29, 2024

Hey guys. Thank you for your effort on this. I spent quite a lot of time looking for the latest dependencies, though: http://nanohttpd.org/nanohttpd-webserver-markdown-plugin/dependencies.html
Can you make this availible on github readme/wiki to make life easier for others?)

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

Yes, planning to write it in the readme this weekend

from nanohttpd.

a-mi-go avatar a-mi-go commented on July 29, 2024

@ritchieGitHub
compile 'com.nanohttpd:nanohttpd-webserver:2.1.0' worked fine
compile 'org.nanohttpd:nanohttpd-webserver:2.2.0' (tried 2.2.0-SNAPSHOT, 2.2.+, etc)
could not be resolved by gradle. Am i doing something wrong?

from nanohttpd.

ritchieGitHub avatar ritchieGitHub commented on July 29, 2024

you probably have to add the sonatype repo, till the snapshot is released

from nanohttpd.

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.