Open GoogleCodeExporter opened 9 years ago
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage
+Guide
Original comment by sch...@gmail.com
on 19 Feb 2013 at 6:11
That's a good idea. I am a little swamped right now, so it could take a
while---care to volunteer? :)
Original comment by sebastian.riedel@gmail.com
on 19 Feb 2013 at 6:23
I looked at it, but I don't think I will. I would have if it were
straightforward but you have third-party dependencies that are not available in
Maven Central (epsgraphics) and I can't build the project from source.
The best route forward is to rid 3-rd party dependencies (or upload them to
maven central) and add the required information to the pom.xml so it can be
deployed to Maven Central. A snapshot can be deployed for now.
Original comment by sch...@gmail.com
on 20 Feb 2013 at 1:15
As an intermediate solution, I could put it on my own nexus repository. Would
that be helpful?
Original comment by sebastian.riedel@gmail.com
on 20 Feb 2013 at 1:58
Yes it would, but I'm worried I would have the same Maven error when using it.
[ERROR] error: error reading
/homes/gws/schmmd/.m2/repository/net/sourceforge/epsgraphics/1.1/epsgraphics-1.1
.jar; error in opening zip file
[ERROR] error: error reading
/homes/gws/schmmd/.m2/repository/net/sourceforge/trove/2.0.4/trove-2.0.4.jar;
error in opening zip file
It would be easy to use whatswrong if I could checkout a branch for the latest
version and run 'mvn install' to put whatswrong in my local Maven repository or
pull it directly from a repository.
Presently, I think the easiest route to using whatswrong involves finding
epsgraphics and trove and installing them, and then building whatswrong against
those.
Original comment by sch...@gmail.com
on 20 Feb 2013 at 3:24
I think the problem is that your maven repositories don't allow directory
listing. So when maven tries to download a file from
http://repository.riedelcastro.org/ it always find a document. Since that
document is actually a page from your webhost
(https://cp.freehostia.com/login/), it cannot parse it and crashes. Or in
other cases, it thinks the md5sum should be "<!DOCTYPE".
I'm using maven 3.0.4. This might be different for you because you are logged
into your web host or maybe your webhost changed the behavior and you have been
relying on cached artifacts.
Original comment by sch...@gmail.com
on 20 Feb 2013 at 3:35
Ah, I see. I actually have a proper repository elsewhere now. I will look into
migrating these jars there.
Original comment by sebastian.riedel@gmail.com
on 20 Feb 2013 at 3:48
Yeah, I saw your maven-release-plugin commits and was wondering where
they were going.
I put the code on github in case I make changes. I don't believe it's
easy to fork code using svn. I made a single commit that moves your
trove dependency to maven central. The project compiles but I have
not tested it running yet.
https://github.com/schmmd/whatswrong/commit/f6b1b843c0ab515c0aff0c15872913ee779d
1d63
I used the latest version since 2.0.4 is not in Maven Central (the
latest 2.0.x is 2.0.2). I'll let you know if it I get around to using
it and it works.
Peace. Michael
Original comment by sch...@gmail.com
on 20 Feb 2013 at 4:03
It works great with the new version of trove4j. I'll see what I can
do about posting epsgraphics to maven central to pave the way for
whatswrong.
Original comment by sch...@gmail.com
on 20 Feb 2013 at 11:04
Fantastic, thanks!
Original comment by sebastian.riedel@gmail.com
on 20 Feb 2013 at 11:06
I uploaded a newer epsgraphics to maven central and modified the pom
to use that. Now whatswrong has no dependencies outside of maven
central so it should be easy to upload whatswrong to maven central.
https://github.com/schmmd/whatswrong/commit/cf67b718e342e4b88c795bba5529b12bb782
9d2c
Peace. Michael
Original comment by sch...@gmail.com
on 27 Feb 2013 at 7:34
Okay, created an issue, let's see how this goes.
Original comment by sebastian.riedel@gmail.com
on 3 Mar 2013 at 5:43
Okay, this may have worked now. Here is the dependency:
<dependency>
<groupId>org.riedelcastro</groupId>
<artifactId>whatswrong</artifactId>
<version>0.2.4</version>
</dependency>
Let me know if this works for you.
Original comment by sebastian.riedel@gmail.com
on 5 Mar 2013 at 2:24
Works for me--this is great! Sonatype's pretty easy once you've done it once.
Peace. Michael
Original comment by sch...@gmail.com
on 5 Mar 2013 at 4:25
Original issue reported on code.google.com by
sch...@gmail.com
on 19 Feb 2013 at 6:11