[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [GSoC] Status Reoprt: Java Project Dependency Builder

On Mon, Jun 9, 2014 at 3:54 AM, Matthew Vernon <matthew@debian.org> wrote:
> Daniel Pocock <daniel@pocock.com.au> writes:
>> On 07/06/14 09:33, Andrew Schurman wrote:
>> > I recall reading that packaging a maven project for debian requires
>> > maven to be in offline mode during the build. I can try to emulate
>> > that by dumping artifacts into a built artifact repository and use
>> > that as the only repository during the build. You are still kind of
>> This is a perfectly valid strategy.
>> > cheating because you need an online repository to get the artifact
>> > metadata in the first place, but since I've opted to fork off a maven
>> > process for building, we can force offline mode there. This will
>> I really feel this may need a two-phase workflow (e.g. scan deps in one
>> phase, build in a second phase) and that it may be asynchronous (the
>> build will not always happen immediately after the scan)
>> A very simplistic strategy would involve creating some output file,
>> maybe just a CSV file, listing each dependency that was not found.  This
>> data could also go into SQL or MongoDB or something.
> Would there be value in checking of dependencies that are already
> packages in Debian, and/or aiming to include more of the
> more-commonly-used java libs in the distribution?

Using dependencies that are already packaged in debian would just be a
configuration step. I'm expecting the final and intermediate artifacts
to be placed in maven repository (folder in maven repository format).
Since some java libraries are installed on the local filesystem in
maven repository format already (/usr/share/maven-repo), we could
simply copy that to a temporary location and point to it as the built
repository. There are a few details to work out yet, but I wouldn't
expect it to too far from this.

> Regards,
> Matthew
> --
> "At least you know where you are with Microsoft."
> "True. I just wish I'd brought a paddle."
> http://www.debian.org
> --
> To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 5bk38qqroj.fsf@chiark.greenend.org.uk">https://lists.debian.org/[🔎] 5bk38qqroj.fsf@chiark.greenend.org.uk

Reply to: