Re: Frustration with trying to build Debian packages from Maven-based sources
- To: debian-java@lists.debian.org
- Subject: Re: Frustration with trying to build Debian packages from Maven-based sources
- From: Emmanuel Bourg <ebourg@apache.org>
- Date: Fri, 22 Mar 2013 11:05:11 +0100
- Message-id: <[π] 514C2CD7.6000909@apache.org>
- In-reply-to: <[π] 201303220922.55025.thomas@koch.ro>
- References: <[π] 87boaiav0d.fsf@msgid.hilluzination.de> <[π] 201303181924.59958.thomas@koch.ro> <[π] 42e65c03160afadb77a45d78c8a83897.squirrel@www.mosabuam.com> <[π] 201303220922.55025.thomas@koch.ro>
Le 22/03/2013 09:22, Thomas Koch a Γ©crit : > However I'm not sure whether a source.jar produced by maven can be used to > build a Debian package. I assume that generated java code from tools like > protobuf or jflex is included in the source.jar? We don't want generated > source code but the "real" source files written by humans. Are those files, > the protobuf and jflex definition files included in a source.jar? That's correct. Commons Configuration generates a parser with JavaCC and the grammar files aren't included in the source jar published in the Maven repository. http://search.maven.org/remotecontent?filepath=commons-configuration/commons-configuration/1.9/commons-configuration-1.9-sources.jar Currently the main usage of the source artifacts is to let you see in your IDE the code of the dependencies you imported into your project. Maybe a new type of artifact should be invented to let anyone build the project, something like a *-build.jar containing the complete project structure. That would unify the debian/watch files of all the Maven based packages. Emmanuel Bourg
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
Reply to:
- References:
- Frustration with trying to build Debian packages from Maven-based sources
- From: Hilko Bengen <bengen@debian.org>
- Re: Frustration with trying to build Debian packages from Maven-based sources
- From: Thomas Koch <thomas@koch.ro>
- Re: Frustration with trying to build Debian packages from Maven-based sources
- From: "Manfred Moser" <manfred@mosabuam.com>
- Re: Frustration with trying to build Debian packages from Maven-based sources
- From: Thomas Koch <thomas@koch.ro>
- Frustration with trying to build Debian packages from Maven-based sources
- Prev by Date: Re: Cannot build Commons Configuration
- Next by Date: Maven debian helper improvements
- Previous by thread: Re: Frustration with trying to build Debian packages from Maven-based sources
- Next by thread: Re: Frustration with trying to build Debian packages from Maven-based sources
- Index(es):