PPA - Unable to use maven to build package

Asked by Simon Guerard on 2008-08-05

Hello,

I try to build a package in my PPA, but I've got this trace

    "Unable to download the artifact from any repository"

Is it possible to use maven to build package and lets it download libraries from external repositories ?

If not, how can I get all the libraries I need without to load them into my sources package ?

Simon

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Ludovic Claude
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Christian Reis (kiko) said :
#2

It's not possible; the buildds don't contact external sources for security reasons. You will need to package the dependencies themselves and change the build process.

Revision history for this message
Christian Reis (kiko) said :
#3

Christian Reis suggests this article as an answer to your question:
FAQ #167: “My build fails because it can't connect or download from an external URL”.

Revision history for this message
Best Ludovic Claude (ludovicc) said :
#4

Hello,

Work is under way with Debian to allow building Debian/Ubuntu packages using Maven. Please check http://wiki.debian.org/Java/MavenBuilder. It's still early days, but if you are ready to jump into packaging, send me an email (ludovic.claude /at/ laposte.net)

Revision history for this message
Simon Guerard (simon-guerard) said :
#5

Thanks Ludovic Claude, that solved my question.

Revision history for this message
Boris Rybalkin (ribalkin) said :
#6

Hi,

I've red some wiki pages on building debian packages with maven and prepared my packaging branch, but I still have some issues as there is no consistent info/demo project. Is there any project on launchpad which successfully uses maven to build binary package?

my project https://code.launchpad.net/~ribalkin/ucloud/v0.1
using maven with this packaging branch https://code.launchpad.net/~ribalkin/ucloud/debian

Thanks for any info!