Hi Markus,

On Sun, Apr 10, 2016 at 06:52:41PM +0200, Markus Koschany wrote:
> 
> The problem is that some modules build-depend on other modules from the
> same package but libnetlib-java is not a build-dependency and the
> current version in contrib doesn't provide Maven artifacts either.
> 
> No idea if you will need the generator and legacy modules later but I
> would investigate if it makes sense to ship Maven artifacts with the old
> package and build-depend on libnetlib-java or if you can avoid the
> dependency on

Hmmm, seems I forgot the second part of your message to include the
Maven artifacts in the old libnetlib-java and checking now[1] these do
not seem to exist for 0.9.3 at all (and I have no idea how to create
these).  At least I have now uploaded libnetlib-java 0.9.3-2 and added
libnetlib-java to Build-Depends.  This does not really help to finally
solve my problem:


...
        /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
 -Dmaven.home=/usr/share/maven 
-Dmaven.multiModuleProjectDirectory=/build/netlib-java-1.1.2 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/build/netlib-java-1.1.2/debian 
-Dmaven.repo.local=/build/netlib-java-1.1.2/debian/maven-repo install 
-DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM com.github.fommil.netlib:generator:1.1.1 
(/build/netlib-java-1.1.2/generator/pom.xml) points at 
com.github.fommil.netlib:parent instead of org.sonatype.oss:oss-parent, please 
verify your project structure @ line 8, column 10
[FATAL] Non-resolvable parent POM for com.github.fommil.netlib:generator:1.1.1: 
Cannot access sonatype-releases 
(https://oss.sonatype.org/content/repositories/releases/) in offline mode and 
the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it 
before. and 'parent.relativePath' points at wrong local POM @ line 8, column 10
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.github.fommil.netlib:generator:1.1.1 
(/build/netlib-java-1.1.2/generator/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for 
com.github.fommil.netlib:generator:1.1.1: Cannot access sonatype-releases 
(https://oss.sonatype.org/content/repositories/releases/) in offline mode and 
the artifact org.sonatype.oss:oss-parent:pom:7 has not been downloaded from it 
before. and 'parent.relativePath' points at wrong local POM @ line 8, column 10 
-> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
 -Dmaven.home=/usr/share/maven 
-Dmaven.multiModuleProjectDirectory=/build/netlib-java-1.1.2 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/build/netlib-java-1.1.2/debian 
-Dmaven.repo.local=/build/netlib-java-1.1.2/debian/maven-repo install 
-DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:11: recipe for target 'override_dh_auto_build' failed
...


Any further hint?

Kind regards

       Andreas.


[1] https://repo1.maven.org/maven2/com/github/fommil/netlib/core/

-- 
http://fam-tille.de

Reply via email to