Maven Build Structure

48 views
Skip to first unread message

Ralf

unread,
Jan 6, 2012, 2:03:45 PM1/6/12
to jspf


On 6 Jan., 08:25, Rick Herrick <rherr...@gmail.com> wrote:
> I know you're opposed to moving the JSPF build structure over to use Maven,
> but I'd definitely be interested in helping build and maintain the
> structure for pushing JSPF into Maven repos, incl. src and javadoc jars as

Hi Rick,

Thanks for your support. As I said, while I don't like Maven, small
changes that don't affect the general build structure for ant don't
bother me. So if it's just about adding / editing the pom and
classworlds, feel free to go ahead!

> well as a pom for the dependencies. The only issue right now is the use of
> the older and modified classworlds dependency. This works fine for me
> locally since we're running our own Maven repo and I'm the admin so I put
> in whatever I want :) but raises difficulties for general usage.

Okay, how can I help? If you like I can post / submit the source to
some place.

Thanks,
Ralf


Antonio Manuel Muñiz Martín

unread,
Jan 7, 2012, 1:13:52 PM1/7/12
to js...@googlegroups.com
Hello,

I think nobody will accept a modified classworlds binary in his public
repo, but there are other ways to distribute it inside a Maven
project, for example by using an internal repo inside the own project.
Just add this to the POM repositories section:

<repository>
<id>local-project-repo</id>
<url>file:${basedir}/lib/repository</url>
</repository>

Then create a repository structure at root project folder, i.e. for
classworlds-mod version 1.0:

lib/repository/classworlds/classworlds/1.0-mod/classworlds-1.0-mod.jar
lib/repository/classworlds/classworlds/1.0-mod/classworlds-1.0-mod.pom

I hope thar helps.
Antonio.

2012/1/6 Ralf <r.bi...@googlemail.com>:

--
Antonio Manuel Muñiz Martín
Software Developer at klicap - ingeniería del puzle

work phone + 34 954 894 322
www.klicap.es | blog.klicap.es

Rick Herrick

unread,
Jan 11, 2012, 12:26:09 PM1/11/12
to js...@googlegroups.com
We've just added it to our repo as version 1.0-mod. That's clearly distinguished from the standard classworlds distribution, so I don't really see any problem with that.

Antonio Manuel Muñiz Martín

unread,
Jan 11, 2012, 12:35:40 PM1/11/12
to js...@googlegroups.com
Of course, you can do what you want with your repo :-)
I mean official repos (central, codehaus, etc).

2012/1/11 Rick Herrick <rher...@gmail.com>:


> We've just added it to our repo as version 1.0-mod. That's clearly
> distinguished from the standard classworlds distribution, so I don't really
> see any problem with that.

--

Reply all
Reply to author
Forward
0 new messages