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

Re: Next Maven problem (Was: Medical device support for GNUmed)



I am also finding java packaging frustrating. I;'ve hit the problem that maven-ant-tasks needed upgraded. Then I hit the problem that maven-invoker-plugin. Now I am stuck.

On 20/04/11 22:08, Andreas Tille wrote:
Hi Jeff,

thanks for pushing me a bit - I did not forgot your request, but somehow
there are several tasks at the same time.  As far as I understood the
build process in Debian using maven and maven-debian-helper there is a
chance to avoid the "nasty habit of requiring access to the outside
world".  This can be approached by using mh_make and thus I tried

   mh_make --from-svn=http://svn.freemedsoftware.org/freemed-utilities/shim/tags/0.1.0/

which unfortunately failed with

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: generate. It requires a project with an existing pom.xml, but the build is not using one.

I have no idea what this might mean.

My second approach was to start with your preparation and enhance the
debian/dir a bit.  I used the orig.tar.gz tarball[1] and committed the
packaging directory to Debian Med SVN[2]

[1] http://people.debian.org/~tille/packages/shim/shim_0.1.1.orig.tar.gz
[2] svn://svn.debian.org/svn/debian-med/trunk/packages/shim/trunk

While this build process does not need network access it is missing
some preconditions:

0) POM 'org.mortbay.jetty:maven-jetty-plugin' not found in repository: System is offline.

1) com.google.code.gson:gson:jar:debian
2) org.rxtx:rxtx:jar:debian
    (which is a bit strange because I added librxtx-java)
3) org.tmatesoft.sqljet:sqljet:jar:debian
4) org.reflections:reflections:jar:debian

I did not further investigations so far but it seems we might need some
extra prerequisites packaged for Debian first.

Any help to proceed from here is welcome.

Kind regards

      Andreas.

On Wed, Apr 20, 2011 at 02:01:59PM -0400, Jeff Buchbinder wrote:

Following up, I'm attaching basic packaging for FreeSHIM. I split out
the proprietary driver, for which I can create a separate package, but
for now, here's the GPL-only code and packaging information.

I had tried to create a version for Ubuntu's "launchpad" PPAs, but as
Maven has a nasty habit of requiring access to the outside world, it
would require me quite messily including *every dependent package*
locally to work, so I have shelved that effort temporarily.

If this looks good, I can do the same for REMITT.

--
Thanks,
Jeff
(jeff@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://freemedsoftware.org/









Reply to: