>Actually I would rather suggest looking into either
apache-commons-X
>packages or some of the new maven-XX-plugin packages. They are
>new, recently reviewed so should be following guidelines. Current
>plexus-ant-factory has a lot of packaging guidelines violations
>(including parent directories in %files, define instead of global
>and that's just from first look)
Stanislav:
Is there a specific small, Maven2 package that has passed Fedora QA
that I could use as a model?
If the package is really helpful in getting me off the ground and producing
a good package I could also document my process and contribute it to the
fedora-java-maven2 documentation.
Thank you
On Fri, Sep 10, 2010 at 3:58 PM, Deepak Bhole <dbhole(a)redhat.com> wrote:
* Edmon Begoli <ebegoli(a)gmail.com> [2010-09-10 15:49]:
> I am learning to develop Java source packages for F13/14 that are using Maven 2.
>
> Is there an example of a .spec file that anyone could recommend as
> well as the tutorial how
> to develop a spec file for SRPM for small Java package that uses Maven 2?
>
> On %build step I am getting non-descriptive errors that may simple be
> result of some
> beginners error with Java+rpmbuild but I would like to get some good
> learning example
> and a tutorial so that I can continue make progress and contribute packages.
>
plexus-ant-factory is a good example of a simple rpm with a single
jar/pom.
maven-scm is a good example of a complex rpm in that it is small
and clean and installs many jars and poms.
Additionally, if you haven't already, check out:
http://fedoraproject.org/wiki/Java/JPPMavenReadme
Cheers,
Deepak
> Otherwise, I may remain stuck.
>
> Thanks.
> --
> java-devel mailing list
> java-devel(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/java-devel