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


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

Re: maven-debian-helper & module inter-dependencies

From Sebastiaan Couwenberg <sebastic@xs4all.nl>
Newsgroups linux.debian.maint.java
Subject Re: maven-debian-helper & module inter-dependencies
Date 2017-12-16 14:10 +0100
Message-ID <uXko1-2ox-15@gated-at.bofh.it> (permalink)
References <uWUWB-2Xj-1@gated-at.bofh.it> <uWYGR-5iF-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/15/2017 02:51 PM, Emmanuel Bourg wrote:
> Le 15/12/2017 à 10:53, Sebastiaan Couwenberg a écrit :
>> How should maven-debian-helper be used in a package that builds modules
>> which depend on other jars in the project?
>>
>> The case in question is JTS 1.15 [0] which builds, among others,
>> jts-core.jar which is required by the jts-io module. While building the
>> latter the jts-core that was built earlier in the process cannot be
>> found (see attached build log).
>>
>> Should it be sufficient to have the correct maven.rules to have other
>> artefacts of the project be usable in the build? Or is a local
>> repository perhaps required to make these available later in the build?
> 
> Usually it just works, but there are some corner cases. We have several
> multi modules projects already packaged that you can use as examples
> (maven, javamail, activemq, jetty9, antlr4, wagon...). Sometimes when
> the packaging type is 'bundle' instead of 'jar' it's necessary to either
> patch the pom dependencies and specify explicitly the 'bundle' type, or
> patch the poms and change the type to 'jar'. Also some builds expect the
> artifacts of the other modules to be installed in the local repository
> (because they do obscure manipulations like injecting source files from
> another module into the current one), so in this case you have to
> override dh_auto_build and call the Maven 'install' phase (instead of
> 'package' by default).

Thanks for the feedback. Unfortunately I still cannot get the build to work.

I'm giving up on this package, and request the Debian Java Maintainers
to take over its maintenance since all reverse dependencies are
maintained within the Java team as well.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

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


Thread

Re: maven-debian-helper & module inter-dependencies Emmanuel Bourg <ebourg@apache.org> - 2017-12-15 15:00 +0100
  Re: maven-debian-helper & module inter-dependencies Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2017-12-16 14:10 +0100
    Re: maven-debian-helper & module inter-dependencies Markus Koschany <apo@debian.org> - 2017-12-16 15:50 +0100
      Re: maven-debian-helper & module inter-dependencies Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2017-12-16 16:10 +0100
        Re: maven-debian-helper & module inter-dependencies Markus Koschany <apo@debian.org> - 2017-12-16 16:40 +0100
          Re: maven-debian-helper & module inter-dependencies Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2017-12-16 17:10 +0100
            Re: maven-debian-helper & module inter-dependencies Markus Koschany <apo@debian.org> - 2017-12-16 17:30 +0100
          Re: maven-debian-helper & module inter-dependencies Thorsten Glaser <t.glaser@tarent.de> - 2017-12-18 16:40 +0100
            Re: maven-debian-helper & module inter-dependencies Emmanuel Bourg <ebourg@apache.org> - 2017-12-18 16:50 +0100
              Re: maven-debian-helper & module inter-dependencies Thorsten Glaser <t.glaser@tarent.de> - 2017-12-18 16:50 +0100
    Re: maven-debian-helper & module inter-dependencies Emmanuel Bourg <ebourg@apache.org> - 2017-12-16 18:10 +0100
      Re: maven-debian-helper & module inter-dependencies Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2017-12-16 18:20 +0100

csiph-web