You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Ole Ersoy <ol...@yahoo.com> on 2006/10/26 18:24:09 UTC

Jpackage Maven RPM Mojo

Hi,

The JPackage team 

http://www.jpackage.org

and the Apache Directory team has been having
discussions around creating a JPackage hosted maven
mojo/plugin for creating RPM's according to JPackage
standards (Really just the FHS standard).

http://www.pathname.com/fhs/

I thought it would be really great if members from the
Codehaus team joined as well, since both Codehaus and
the ApacheDS team have an rpm mojo.

Thoughts?

Cheers,
- Ole

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [JPackage-discuss] Jpackage Maven RPM Mojo

Posted by Julius Davies <ju...@cucbc.com>.
Hi, Fernando,

I'm excited to try this out.

We have RHN Satellite, and we upload our internal RPMS to that.  The RHN
Satellite then pushes our software to our various server farms.  I think
we have somewhere around 100-200 RHEL servers grabbing software updates
from that RHN Satellite.

So we've found RPM to be a great way to deploy our software (always
webapps) to hundreds of machines.  But we've had little control over the
jars that developers throw into "WEB-INF/lib".  It would be great to
have as many of those jars as possible coming from the RHEL/JPackage
subscription!!!!

By the way, just a note to everyone at JPackage:  you guys really saved
us with your JVM and Tomcat RPMS about 3 years ago!  They were such a
seamless fit with our infrastructure.  Very high quality stuff, in my
opinion.


yours,

Julius




On Fri, 2006-27-10 at 18:47 -0400, Fernando Nasser wrote:
> Julius Davies wrote:
> > Where I work, we want to start using Maven for our own development.  But
> > we also want all the jar dependencies we declare in our apps to come
> > from our RHEL subscription.  So figuring out a way to achieve that would
> > be really useful!
> > 
> 
> I have good news for you: that is already available with our new JPP 1.7 
> maven2 package.
> 
> At JPackage (as well as for RHEL systems) we have already been using the 
>   /usr/share/java as a local maven repository and all software that we 
> build that is maven based were built using the JARs from there.
> 
> 
> > +1
> > 
> > We package our own apps into RPM for ease of internal deployment, so I
> > guess we would need to run this pom2spec thing on our own applications.
> > 
> 
> That is if you want to build an RPM with your software.
> 
> Which is not a bad idea: an RPM is a very handy way to distribute Linux 
> software.  When one of us around here at work wants the others to try 
> something, we put together a basic RPM so people can 
> install/upgrade/uninstall it easily, which has proved to be a big 
> incentive for people to try things.
> 
> > But we also need all the "official" RHEL jars in a maven repository for
> > all of our developers (who might be on windows) to use directly from the
> > pom.xml files, with no mention of RPM.
> > 
> 
> Already done.
> 
> I will be uploading the latest maven2 RPMs from Deepak into JPP 1.7 over 
> the weekend.  Give it a try on Monday.  I believe there is some 
> documentation under 'doc'.  If you need help to use it or has any 
> questions, please ask here (in this list).
> 
> > So I think we need pom2spec on one side, but we also need "library of
> > all redhat jar file rpms" to "maven dependency repository " on the other
> > side.
> > 
> 
> Done :-)
> 
> 
> Best regards,
> Fernando
-- 
Julius Davies
Senior Application Developer, Technology Services
Credit Union Central of British Columbia
http://www.cucbc.com/
Tel: 416-652-0183
Cel: 647-232-7571

1441 Creekside Drive
Vancouver, BC
Canada
V6J 4S7


Re: [JPackage-discuss] Jpackage Maven RPM Mojo

Posted by Fernando Nasser <fn...@redhat.com>.
Julius Davies wrote:
> Where I work, we want to start using Maven for our own development.  But
> we also want all the jar dependencies we declare in our apps to come
> from our RHEL subscription.  So figuring out a way to achieve that would
> be really useful!
> 

I have good news for you: that is already available with our new JPP 1.7 
maven2 package.

At JPackage (as well as for RHEL systems) we have already been using the 
  /usr/share/java as a local maven repository and all software that we 
build that is maven based were built using the JARs from there.


> +1
> 
> We package our own apps into RPM for ease of internal deployment, so I
> guess we would need to run this pom2spec thing on our own applications.
> 

That is if you want to build an RPM with your software.

Which is not a bad idea: an RPM is a very handy way to distribute Linux 
software.  When one of us around here at work wants the others to try 
something, we put together a basic RPM so people can 
install/upgrade/uninstall it easily, which has proved to be a big 
incentive for people to try things.

> But we also need all the "official" RHEL jars in a maven repository for
> all of our developers (who might be on windows) to use directly from the
> pom.xml files, with no mention of RPM.
> 

Already done.

I will be uploading the latest maven2 RPMs from Deepak into JPP 1.7 over 
the weekend.  Give it a try on Monday.  I believe there is some 
documentation under 'doc'.  If you need help to use it or has any 
questions, please ask here (in this list).

> So I think we need pom2spec on one side, but we also need "library of
> all redhat jar file rpms" to "maven dependency repository " on the other
> side.
> 

Done :-)


Best regards,
Fernando

Re: [JPackage-discuss] Jpackage Maven RPM Mojo

Posted by Ole Ersoy <ol...@yahoo.com>.
So this is really a repository synchronization wish
right?

Maven runs a build.

Generates the RPM

Also generates and installs the jar file in a maven
repository.

If redhat is doing this, then the RPM ends up in their
RPM repository and the artifacts that maven generates
are installed in the maven repository.

This ensures that the RPM and the artifacts in the
Maven repository are in sync.

So now cucbc can just point Maven to the redhat maven
repository, knowing that all the dependencies have a
corresponding fetched have a corresponding rpm.

Does that sound about right?

Cheers,
- Ole


--- Julius Davies <ju...@cucbc.com> wrote:

> Where I work, we want to start using Maven for our
> own development.  But
> we also want all the jar dependencies we declare in
> our apps to come
> from our RHEL subscription.  So figuring out a way
> to achieve that would
> be really useful!
> 
> +1
> 
> We package our own apps into RPM for ease of
> internal deployment, so I
> guess we would need to run this pom2spec thing on
> our own applications.
> 
> But we also need all the "official" RHEL jars in a
> maven repository for
> all of our developers (who might be on windows) to
> use directly from the
> pom.xml files, with no mention of RPM.
> 
> So I think we need pom2spec on one side, but we also
> need "library of
> all redhat jar file rpms" to "maven dependency
> repository " on the other
> side.
> 
> pom2spec
> rpms2mavenRepository
> 
> 
> 
> yours,
> 
> Julius
> 
> 
> On Thu, 2006-26-10 at 09:24 -0700, Ole Ersoy wrote:
> > Hi,
> > 
> > The JPackage team 
> > 
> > http://www.jpackage.org
> > 
> > and the Apache Directory team has been having
> > discussions around creating a JPackage hosted
> maven
> > mojo/plugin for creating RPM's according to
> JPackage
> > standards (Really just the FHS standard).
> > 
> > http://www.pathname.com/fhs/
> > 
> > I thought it would be really great if members from
> the
> > Codehaus team joined as well, since both Codehaus
> and
> > the ApacheDS team have an rpm mojo.
> > 
> > Thoughts?
> > 
> > Cheers,
> > - Ole
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > _______________________________________________
> > JPackage-discuss mailing list
> > JPackage-discuss@zarb.org
> >
>
https://www.zarb.org/mailman/listinfo/jpackage-discuss
> -- 
> Julius Davies
> Senior Application Developer, Technology Services
> Credit Union Central of British Columbia
> http://www.cucbc.com/
> Tel: 416-652-0183
> Cel: 647-232-7571
> 
> 1441 Creekside Drive
> Vancouver, BC
> Canada
> V6J 4S7
> 
> _______________________________________________
> JPackage-discuss mailing list
> JPackage-discuss@zarb.org
>
https://www.zarb.org/mailman/listinfo/jpackage-discuss
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [JPackage-discuss] Jpackage Maven RPM Mojo

Posted by Julius Davies <ju...@cucbc.com>.
Where I work, we want to start using Maven for our own development.  But
we also want all the jar dependencies we declare in our apps to come
from our RHEL subscription.  So figuring out a way to achieve that would
be really useful!

+1

We package our own apps into RPM for ease of internal deployment, so I
guess we would need to run this pom2spec thing on our own applications.

But we also need all the "official" RHEL jars in a maven repository for
all of our developers (who might be on windows) to use directly from the
pom.xml files, with no mention of RPM.

So I think we need pom2spec on one side, but we also need "library of
all redhat jar file rpms" to "maven dependency repository " on the other
side.

pom2spec
rpms2mavenRepository



yours,

Julius


On Thu, 2006-26-10 at 09:24 -0700, Ole Ersoy wrote:
> Hi,
> 
> The JPackage team 
> 
> http://www.jpackage.org
> 
> and the Apache Directory team has been having
> discussions around creating a JPackage hosted maven
> mojo/plugin for creating RPM's according to JPackage
> standards (Really just the FHS standard).
> 
> http://www.pathname.com/fhs/
> 
> I thought it would be really great if members from the
> Codehaus team joined as well, since both Codehaus and
> the ApacheDS team have an rpm mojo.
> 
> Thoughts?
> 
> Cheers,
> - Ole
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> JPackage-discuss mailing list
> JPackage-discuss@zarb.org
> https://www.zarb.org/mailman/listinfo/jpackage-discuss
-- 
Julius Davies
Senior Application Developer, Technology Services
Credit Union Central of British Columbia
http://www.cucbc.com/
Tel: 416-652-0183
Cel: 647-232-7571

1441 Creekside Drive
Vancouver, BC
Canada
V6J 4S7