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

mh_lspoms: Small problem



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


Reply to: