Comments (52)
+1 would be great to have in Maven Central (otherwise it's useless)
from nanohttpd.
+1, please now!!
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
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.
+1. Or at least make a some public Maven repository available that has this project in it.
from nanohttpd.
NanoHttpd hasnt (yet) been published to Maven central, but I am looking into it. That "Kevoree :: CoreLibrary :: JavaSE :: NanoHTTP" project isnt mine.
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
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.
This looks very good, and thank you for #3 there! 👍
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
👍
from nanohttpd.
Hi,
Is this available in maven repo? I checked but didnt find this one.
thanks,
ankit
from nanohttpd.
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.
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.
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.
+1 😄
from nanohttpd.
+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.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
+1
from nanohttpd.
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.
+1
from nanohttpd.
+1, please.
from nanohttpd.
I'll chime in with another +1
from nanohttpd.
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.
+1
from nanohttpd.
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.
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.
@swengconsultant Use the .../raw/...
version of the URL, as shown in this comment.
from nanohttpd.
@peterjanes That worked a treat, many thanks.
from nanohttpd.
@jsumners Thanks, works fine !!
from nanohttpd.
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.
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.
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.
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.
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.
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.
Attention all coming versions will use an other groupId (org.nanohttpd) see #174
from nanohttpd.
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.
Yes, planning to write it in the readme this weekend
from nanohttpd.
@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.
you probably have to add the sonatype repo, till the snapshot is released
from nanohttpd.
Related Issues (20)
- nanohttpd Android: how to run a complex website on local server? HOT 2
- [SECURITY] Vulnerability in nanohttpd
- an infinite loop bug
- collides with a type
- Broken pipe HOT 2
- When can I fix a known problem
- addHeader doesn't have additive behavior
- multiple request headers with same name aren't preserved
- server is overly opinionated about what is a valid HTTP verb
- How to stream a page instead of building entire strings and delivering them
- Could not find com.github.edrlab.nanohttpd:nanohttpd:master-SNAPSHOT HOT 1
- BAD REQUEST: Missing URI. Usage: GET /example/file.html HOT 1
- 使用它有没有什么限制? HOT 2
- how can access from out of app?
- Use it as a WebServer, but close the client after client connect
- Unable to use the latest version in Android
- 希望可以重载HTTPSession 修改BUFSIZE HOT 1
- I need to get the progress of file upload on server side. HOT 1
- Refuse connection and timeout HOT 2
- Fails to download large files in server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanohttpd.