Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11447

Re: Packaging from Maven repo

From Felix Natter <fnatter@gmx.net>
Newsgroups linux.debian.maint.java
Subject Re: Packaging from Maven repo
Date 2019-10-19 10:30 +0200
Message-ID <ySShz-4pq-5@gated-at.bofh.it> (permalink)
References <yQs7U-1Be-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Mechtilde Stehmann <mechtilde@debian.org> writes:

> Hello,

hello Mechthilde,

I am answering because it seems like none of the experts answers.

> I try to package xmlunit-core which I need as a dependency.
>
> I get it from
> https://repo1.maven.org/maven2/org/xmlunit/xmlunit-core/2.6.3/xmlunit-core-2.6.3-sources.jar

I think you should package from the source repository:
  https://github.com/xmlunit/xmlunit

(https://github.com/xmlunit/xmlunit/releases)

because it contains a complete build system (should be easier).

I couldn't immediately make it work with mh_make either. There are many
maven modules involved.

> the pom.xml isn't in the root directory. It is in
> META-INF/maven/org.xmlunit/xmlunit-core/
>
> I used mh_make in that directory. When I used mh_make in the root
> directory mh_make couldn't find the POM file.
>
> Then I copied the directory
> META-INF/maven/org.xmlunit/xmlunit-core/debian/* to debian/* and changed
> the entry into debian/<package name>.poms into the whole path.
>
> when I run gbp-buildpackage I get the message: can't find
> debian/<packagename.poms
>
> There must be something wrong when I copied it. But what is wrong?

When using the github release, pom.xml already is on toplevel, so you
won't have this problem.

Which package needs xmlunit-core? Are you sure it isn't a test
dependency that can be ignored?

Cheers and Best Regards,
--
Felix Natter
debian/rules!

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Packaging from Maven repo Mechtilde Stehmann <mechtilde@debian.org> - 2019-10-12 18:10 +0200
  Re: Packaging from Maven repo Felix Natter <fnatter@gmx.net> - 2019-10-19 10:30 +0200
    Re: Packaging from Maven repo Mechtilde Stehmann <mechtilde@debian.org> - 2019-10-19 12:50 +0200

csiph-web