You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jeremias Maerki <de...@jeremias-maerki.ch> on 2007/05/17 11:15:15 UTC
FOP and XML Graphics Commons Maven artifacts
Dear Maven-users,
I've had enough. I've lost enough time on something I don't need. I've
prepared Maven bundles as per
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html and tried
to submit them. Carlos closes those requests [1][2] with a pointer to
the ASF's repository FAQ. I guess that's fine for projects using Maven.
We are not. At any rate, it looks like the layout of the staging
directory is totally different to what I prepared in the bundle. So I'd
have to start all over and have to adjust the build scripts again. I
have no time for that.
You have the bundles. Do with them as you please. If anyone wants to
send patches to Batik, FOP and XML Graphics Commons for producing Maven
artifacts, feel welcome to do so.
[1] http://jira.codehaus.org/browse/MAVENUPLOAD-1518
[2] http://jira.codehaus.org/browse/MAVENUPLOAD-1517
Jeremias Maerki
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
As long as JARs are published that are part of an official release,
there's certainly no problem. One thing that happened, though, was that
publishing FOP over iBiblio got rejected because the maintainers thought
it should happen over ASF infrastructure. But I couldn't figure out how
to publish a Maven artifact over ASF infrastructure from a non-Maven
build so essentially I left it for anyone who actually uses Maven. I
wasted too much time on the topic.
On 05.12.2007 03:31:10 Cameron McCormack wrote:
> Hi Max.
>
> Max Berger:
> > Jeremias,
> > Jason,
> >
> > it looks like the only way to properly deploy maven bundles is to
> > actually use maven. I have finally managed to install the bundles
> > into a local directory for JEuclid, but the same process should apply
> > for the apache rsync-repository [1].
> >
> > The results can be seen at
> > http://jeuclid.sourceforge.net/m2/
> >
> > in particular
> > http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/fop/
> > and
> > http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/xmlgraphics-
> > commons/
> >
> > you may just be able to take the files from there and copy then to
> > the apache rsync-repository.
> >
> > How this was done? If you use maven, you need to create setting for
> > the repository in your .m2/settings.xml and then you can deploy using
> > the maven-deploy-plugin. I have documented the whole process in [2].
>
> It looks like you have taken the fop-0.94.jar from inside the
> fop-0.94-bin-jdk1.4.zip distribution, and the
> xmlgraphics-commons-1.2.jar from inside the
> xmlgraphics-commons-1.2-bin-jdk1.3.zip distribution. Any reason for
> mixing the compiled versions?
>
> That’s promising though that it’s as easy as taking the jar as already
> produced by the build script and slapping a .pom file together with it.
>
> Anybody here against me publishing the artifacts (after Max’s answer to
> my question above)?
>
> Thanks,
>
> Cameron
>
> --
> Cameron McCormack, http://mcc.id.au/
> xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Jeremias Maerki
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Max Berger <ma...@berger.name>.
Cameron,
On Fre, 2007-12-07 at 08:14 +1100, Cameron McCormack wrote:
> > Letting the maven deploy plugin create the correct directory structure
> > and needed files is MUCH easier than trying to do this yourself in ant.
> > I would therefore recommend the use of maven to deploy the maven
> > artifacts.
>
> Understood. BTW, I see that
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/xmlgraphics/fop/maven-metadata.xml
> doesn’t mention the 0.93 release in the <versions> element (and the same
> for XML Graphics Commons 1.1). Is that a problem?
I am not sure, but I've fixed it for both of them.
> > For the -jdk1.3 versions, i propose to add -jdk13 to the version, e.g.
> >
> > <groupId>org.apache.xmlgraphics</groupId>
> > <artifactId>xmlgraphics-commons</artifactId>
> > <version>1.2-jdk13</version>
> >
> > and respective for fop.
> OK. I will do the same for Batik then.
one slight caveat:
* the -jdk13 artifacts should be submitted first, otherwise the
maven-metadata has to be edited to use the version without -jdk13 as the
latest (and then the checksums have to be updated as well)
The real question is whether 1.3 maven artifacts need to be submitted,
as maven itself requires 1.4 to work?
Max
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Max.
Max Berger:
> ok. I've deployed the artifacts from the -jdk1.4 binary release, and
> provided instructions at:
>
> http://wiki.apache.org/xmlgraphics/Maven
>
> The directory there is synched with the main maven repository, so the
> artifacts should show up within the next 24 hrs.
Cool!
> Letting the maven deploy plugin create the correct directory structure
> and needed files is MUCH easier than trying to do this yourself in ant.
> I would therefore recommend the use of maven to deploy the maven
> artifacts.
Understood. BTW, I see that
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/xmlgraphics/fop/maven-metadata.xml
doesn’t mention the 0.93 release in the <versions> element (and the same
for XML Graphics Commons 1.1). Is that a problem?
> For the -jdk1.3 versions, i propose to add -jdk13 to the version, e.g.
>
> <groupId>org.apache.xmlgraphics</groupId>
> <artifactId>xmlgraphics-commons</artifactId>
> <version>1.2-jdk13</version>
>
> and respective for fop.
OK. I will do the same for Batik then.
--
Cameron McCormack, http://mcc.id.au/
xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Max Berger <ma...@berger.name>.
Cameron,
ok. I've deployed the artifacts from the -jdk1.4 binary release, and
provided instructions at:
http://wiki.apache.org/xmlgraphics/Maven
The directory there is synched with the main maven repository, so the
artifacts should show up within the next 24 hrs.
Letting the maven deploy plugin create the correct directory structure
and needed files is MUCH easier than trying to do this yourself in ant.
I would therefore recommend the use of maven to deploy the maven
artifacts.
For the -jdk1.3 versions, i propose to add -jdk13 to the version, e.g.
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>xmlgraphics-commons</artifactId>
<version>1.2-jdk13</version>
and respective for fop.
Max
On Don, 2007-12-06 at 10:29 +1100, Cameron McCormack wrote:
> Hi Max.
>
> Max Berger:
> > actually, this could be a very fun experiment to see if my new fop
> > account is working. It should (theoretically) give me access to the
> > people.apache.org server mentioned in the howto. So yes, I am
> > volunteering to do it. (And provide a how-to afterwards)
>
> Great! Since we’re not using maven for building, do you want to have a
> go at modifying fop’s and commons’ maven-artifacts ant build target to
> generate the right files?
>
> > There is no particular reason why I mixed the two compiled versions
> > other than pure coincidence. Would it be reasonable to upload the 1.4
> > artifacts only? Or should the 1.3 jars should also be uploaded (probly
> > with something like -1.3 in the name)?
>
> I’m no maven when it comes to maven, so I’m not sure how different Java
> versions are catered for in the repository. I’ve asked on repository@
> but no reply yet:
>
> http://markmail.org/message/xun2cpohbevhothw
>
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Max.
Max Berger:
> actually, this could be a very fun experiment to see if my new fop
> account is working. It should (theoretically) give me access to the
> people.apache.org server mentioned in the howto. So yes, I am
> volunteering to do it. (And provide a how-to afterwards)
Great! Since we’re not using maven for building, do you want to have a
go at modifying fop’s and commons’ maven-artifacts ant build target to
generate the right files?
> There is no particular reason why I mixed the two compiled versions
> other than pure coincidence. Would it be reasonable to upload the 1.4
> artifacts only? Or should the 1.3 jars should also be uploaded (probly
> with something like -1.3 in the name)?
I’m no maven when it comes to maven, so I’m not sure how different Java
versions are catered for in the repository. I’ve asked on repository@
but no reply yet:
http://markmail.org/message/xun2cpohbevhothw
--
Cameron McCormack, http://mcc.id.au/
xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Max Berger <ma...@berger.name>.
Dear Fop-Devs,
actually, this could be a very fun experiment to see if my new fop
account is working. It should (theoretically) give me access to the
people.apache.org server mentioned in the howto. So yes, I am
volunteering to do it. (And provide a how-to afterwards)
There is no particular reason why I mixed the two compiled versions
other than pure coincidence. Would it be reasonable to upload the 1.4
artifacts only? Or should the 1.3 jars should also be uploaded (probly
with something like -1.3 in the name)?
Max
Am Mittwoch, den 05.12.2007, 13:31 +1100 schrieb Cameron McCormack:
> Hi Max.
>
> Max Berger:
> > Jeremias,
> > Jason,
> >
> > it looks like the only way to properly deploy maven bundles is to
> > actually use maven. I have finally managed to install the bundles
> > into a local directory for JEuclid, but the same process should apply
> > for the apache rsync-repository [1].
> >
> > The results can be seen at
> > http://jeuclid.sourceforge.net/m2/
> >
> > in particular
> > http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/fop/
> > and
> > http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/xmlgraphics-
> > commons/
> >
> > you may just be able to take the files from there and copy then to
> > the apache rsync-repository.
> >
> > How this was done? If you use maven, you need to create setting for
> > the repository in your .m2/settings.xml and then you can deploy using
> > the maven-deploy-plugin. I have documented the whole process in [2].
>
> It looks like you have taken the fop-0.94.jar from inside the
> fop-0.94-bin-jdk1.4.zip distribution, and the
> xmlgraphics-commons-1.2.jar from inside the
> xmlgraphics-commons-1.2-bin-jdk1.3.zip distribution. Any reason for
> mixing the compiled versions?
>
> That’s promising though that it’s as easy as taking the jar as already
> produced by the build script and slapping a .pom file together with it.
>
> Anybody here against me publishing the artifacts (after Max’s answer to
> my question above)?
>
> Thanks,
>
> Cameron
>
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Max.
Max Berger:
> Jeremias,
> Jason,
>
> it looks like the only way to properly deploy maven bundles is to
> actually use maven. I have finally managed to install the bundles
> into a local directory for JEuclid, but the same process should apply
> for the apache rsync-repository [1].
>
> The results can be seen at
> http://jeuclid.sourceforge.net/m2/
>
> in particular
> http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/fop/
> and
> http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/xmlgraphics-
> commons/
>
> you may just be able to take the files from there and copy then to
> the apache rsync-repository.
>
> How this was done? If you use maven, you need to create setting for
> the repository in your .m2/settings.xml and then you can deploy using
> the maven-deploy-plugin. I have documented the whole process in [2].
It looks like you have taken the fop-0.94.jar from inside the
fop-0.94-bin-jdk1.4.zip distribution, and the
xmlgraphics-commons-1.2.jar from inside the
xmlgraphics-commons-1.2-bin-jdk1.3.zip distribution. Any reason for
mixing the compiled versions?
That’s promising though that it’s as easy as taking the jar as already
produced by the build script and slapping a .pom file together with it.
Anybody here against me publishing the artifacts (after Max’s answer to
my question above)?
Thanks,
Cameron
--
Cameron McCormack, http://mcc.id.au/
xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Max Berger <ma...@berger.name>.
Jeremias,
Jason,
it looks like the only way to properly deploy maven bundles is to
actually use maven. I have finally managed to install the bundles
into a local directory for JEuclid, but the same process should apply
for the apache rsync-repository [1].
The results can be seen at
http://jeuclid.sourceforge.net/m2/
in particular
http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/fop/
and
http://jeuclid.sourceforge.net/m2/org/apache/xmlgraphics/xmlgraphics-
commons/
you may just be able to take the files from there and copy then to
the apache rsync-repository.
How this was done? If you use maven, you need to create setting for
the repository in your .m2/settings.xml and then you can deploy using
the maven-deploy-plugin. I have documented the whole process in [2].
In the hope that this helps.
[1] http://www.apache.org/dev/repository-faq.html
[2] http://jeuclid.svn.sourceforge.net/svnroot/jeuclid/trunk/jeuclid-
fop/README
Max Berger
e-mail: max@berger.name
--
PGP/GnuPG ID: E81592BC Print: F489F8759D4132923EC4
BC7E072AB73AE81592BC
For information about me or my projects please see http://
max.berger.name
Am 18.05.2007 um 02:28 schrieb Jason Johnston:
> Jeremias Maerki wrote:
>> Dear Maven-users,
>> I've had enough. I've lost enough time on something I don't need.
>
> I'm sorry for your frustration, and want you to know that I greatly
> appreciate the work you've put in. I'm sure many others do as
> well. So thank you!
>
>> I've prepared Maven bundles as per
>> http://maven.apache.org/guides/mini/guide-ibiblio-upload.html and
>> tried
>> to submit them. Carlos closes those requests [1][2] with a pointer to
>> the ASF's repository FAQ. I guess that's fine for projects using
>> Maven.
>> We are not.
> >
>> At any rate, it looks like the layout of the staging
>> directory is totally different to what I prepared in the bundle.
>> So I'd
>> have to start all over and have to adjust the build scripts again. I
>> have no time for that.
>> You have the bundles. Do with them as you please. If anyone wants to
>> send patches to Batik, FOP and XML Graphics Commons for producing
>> Maven
>> artifacts, feel welcome to do so.
>
> I'll take a crack at it. It doesn't look like it's very far off.
>
> --Jason
Re: FOP and XML Graphics Commons Maven artifacts
Posted by Jason Johnston <jj...@apache.org>.
Jeremias Maerki wrote:
> Dear Maven-users,
>
> I've had enough. I've lost enough time on something I don't need.
I'm sorry for your frustration, and want you to know that I greatly
appreciate the work you've put in. I'm sure many others do as well. So
thank you!
> I've prepared Maven bundles as per
> http://maven.apache.org/guides/mini/guide-ibiblio-upload.html and tried
> to submit them. Carlos closes those requests [1][2] with a pointer to
> the ASF's repository FAQ. I guess that's fine for projects using Maven.
> We are not.
>
> At any rate, it looks like the layout of the staging
> directory is totally different to what I prepared in the bundle. So I'd
> have to start all over and have to adjust the build scripts again. I
> have no time for that.
>
> You have the bundles. Do with them as you please. If anyone wants to
> send patches to Batik, FOP and XML Graphics Commons for producing Maven
> artifacts, feel welcome to do so.
I'll take a crack at it. It doesn't look like it's very far off.
--Jason