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


Groups > linux.debian.maint.java > #9026 > unrolled thread

mh_lspoms: Small problem

Started byFelix Natter <fnatter@gmx.net>
First post2016-04-13 12:30 +0200
Last post2016-04-15 18:10 +0200
Articles 3 — 1 participant

Back to article view | Back to linux.debian.maint.java


Contents

  mh_lspoms: Small problem Felix Natter <fnatter@gmx.net> - 2016-04-13 12:30 +0200
    Re: mh_lspoms: Small problem Felix Natter <fnatter@gmx.net> - 2016-04-13 13:10 +0200
      Re: mh_lspoms: Small problem Felix Natter <fnatter@gmx.net> - 2016-04-15 18:10 +0200

#9026 — mh_lspoms: Small problem

FromFelix Natter <fnatter@gmx.net>
Date2016-04-13 12:30 +0200
Subjectmh_lspoms: Small problem
Message-ID<rnqdz-8e7-5@gated-at.bofh.it>
hi debian-java,

here is a small problem in mh_lspoms:

felix@debianunstable:~/simplyhtml-stable/simplyhtml(master u=)$ mh_lspoms 
Analysing pom.xml...
Enter the upstream version for the package.
[0.16.15] > 

Version of com.lightdev.app.shtm.simplyhtml:SimplyHTML is 0.16.15
Choose how the version will be transformed:
 0  - Replace all versions starting by 0. with 0.x
[1] - Change the version to the symbolic 'debian' version
 2  - Keep the version
 3  - Custom rule
> 
Apr 13, 2016 12:14:35 PM org.debian.maven.packager.DependenciesSolver$ToResolve resolve
SEVERE: Cannot resolve dependencies in ./pom.xml: null
java.lang.NullPointerException
	at org.debian.maven.packager.util.IgnoreDependencyQuestions.containsPlugin(IgnoreDependencyQuestions.java:149)
	at org.debian.maven.packager.util.IgnoreDependencyQuestions.askIgnoreUnnecessaryDependency(IgnoreDependencyQuestions.java:178)
	at org.debian.maven.packager.DependenciesSolver.resolveDependency(DependenciesSolver.java:553)
	at org.debian.maven.packager.DependenciesSolver.access$100(DependenciesSolver.java:62)
	at org.debian.maven.packager.DependenciesSolver$ToResolve.resolve(DependenciesSolver.java:183)
	at org.debian.maven.packager.DependenciesSolver.solveDependencies(DependenciesSolver.java:275)
	at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:960)

The list of POM files is now in debian/simplyhtml.poms

Here is the pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.lightdev.app.shtm.simplyhtml</groupId>
  <artifactId>SimplyHTML</artifactId>
  <version>0.16.15</version>
  <inceptionYear>2011</inceptionYear>
  <licenses>
    <license>
      <name>GNU General Public License, Version 2</name>
      <url>http://www.gnu.org/licenses/gpl-2.0.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <artifactId>gnu-regexp</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.dpolivaev.mnemonicsetter</groupId>
      <artifactId>mnemonicsetter</artifactId>
      <version>0.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>javax.help</groupId>
      <artifactId>javahelp</artifactId>
      <version>2.0.05</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

(the pom was generated using maven plugin from the gradle build system)

I guess the problem is the "gnu-regexp" dependency without groupId,
which I pulled using repository:
   flatDir name: '/usr/share/java', dir: '/usr/share/java'
and
   compile ':gnu-regexp'

(libgnu-regexp-java installs directly to /usr/share/java,
has no POM)

It compiles fine with this dependency. But will freeplane (r-dep)
be able to pull gnu-regexp when I pull simplyhtml via
compile  'com.lightdev.app.shtm.simplyhtml:SimplyHTML:0.16.15'
?

Thanks and Best Regards,
-- 
Felix Natter

[toc] | [next] | [standalone]


#9027

FromFelix Natter <fnatter@gmx.net>
Date2016-04-13 13:10 +0200
Message-ID<rnqQi-jn-13@gated-at.bofh.it>
In reply to#9026
You can reproduce this by checking out:
  http://anonscm.debian.org/cgit/pkg-java/simplyhtml.git

and running:
$ mh_lspoms -f

Thanks and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [next] | [standalone]


#9031

FromFelix Natter <fnatter@gmx.net>
Date2016-04-15 18:10 +0200
Message-ID<roetH-5Ly-3@gated-at.bofh.it>
In reply to#9027
Felix Natter <fnatter@gmx.net> writes:

> You can reproduce this by checking out:
>   http://anonscm.debian.org/cgit/pkg-java/simplyhtml.git
>
> and running:
> $ mh_lspoms -f

I fixed this now by removing the dependency on gnu-regexp.

Shall I file a bug against maven-debian-helper,
asking for a error message ("Artifact without groupId") instead of the NPE?

Cheers and Best Regards,
-- 
Felix Natter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web