genivi-ipc@lists.genivi.org

Development list for inter process communication (IPC) related topics

View all threads

Problem building Franca from Source with maven

MB
Manfred.Bathelt@bmw.de
Wed, May 24, 2017 12:57 PM

Hi,

i´m trying to follow the guide to build Franca from source as described here (https://github.com/franca/franca/wiki/Franca-Install-Sources-For-Dev ), but with maven I am not yet successful.
Maven got its settings.xml with web proxy for http and https so far, target platform is set up as well.
Each time I run maven build clean install from eclipse using some pom.xml, I get an error like:
[INFO] Scanning for projects...
[INFO] Downloading: https://builds.itemis.de/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.franca:org.franca.parent:0.11.1-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to builds.itemis.de (https://builds.itemis.de/nexus/content/groups/public/): handshake alert:  unrecognized_name and 'parent.relativePath' points at wrong local POM @ org.franca:org.franca.parent:0.11.1-SNAPSHOT, C:\work\EEA-Next\git\ascgit312.franca-plus\releng\org.franca.parent\pom.xml, line 14, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]  The project org.franca:org.franca.core.dsl:[unknown-version] (C:\work\EEA-Next\git\ascgit312.franca-plus\plugins\org.franca.core.dsl\pom.xml) has 1 error
[ERROR]    Non-resolvable parent POM for org.franca:org.franca.parent:0.11.1-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to builds.itemis.de (https://builds.itemis.de/nexus/content/groups/public/): handshake alert:  unrecognized_name and 'parent.relativePath' points at wrong local POM @ org.franca:org.franca.parent:0.11.1-SNAPSHOT, C:\work\EEA-Next\git\ascgit312.franca-plus\releng\org.franca.parent\pom.xml, line 14, 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

With maven debug logs it drills down to:
[INFO] Downloading: https://builds.itemis.de/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[DEBUG] Writing tracking file C:\work\EEA-next\maven_repository\org\sonatype\oss\oss-parent\7\oss-parent-7.pom.lastUpdated
[DEBUG] Could not obtain connector factory for xdoc (http://franca.github.io/franca/update_site/thirdparty, p2, releases+snapshots)
org.eclipse.aether.transfer.NoRepositoryConnectorException: No connector available to access repository xdoc (http://franca.github.io/franca/update_site/thirdparty) of type p2

Any hints what is wrong?

Best regards

Manfred

BMW Group
Manfred Bathelt
Elektrik/Elektronik und Fahrerlebnisplatz
Produktdefinition und Architektur ConnectedDrive, IuK-Systeme (EE-600)
Max-Diamand-Strasse 25
80937 München

Postanschrift:
80788 München

Tel: +49-89-382-10718
Mobil: +49 151 601 10718
Mail: manfred.bathelt@bmw.demailto:manfred.bathelt@bmw.de
Web: http://www.bmwgroup.com/

Bayerische Motoren Werke Aktiengesellschaft
Vorstand: Harald Krüger (Vorsitzender),
Harald Krüger, Ian Robertson, Klaus Fröhlich,
Nicolas Peter, Markus Duesmann,
Milagros Caiña Carreiro-Andree,
Peter Schwarzenbauer, Oliver Zipse.
Vorsitzender des Aufsichtsrats: Norbert Reithofer
Sitz und Registergericht: München HRB 42243

Hi, i´m trying to follow the guide to build Franca from source as described here (https://github.com/franca/franca/wiki/Franca-Install-Sources-For-Dev ), but with maven I am not yet successful. Maven got its settings.xml with web proxy for http and https so far, target platform is set up as well. Each time I run maven build clean install from eclipse using some pom.xml, I get an error like: [INFO] Scanning for projects... [INFO] Downloading: https://builds.itemis.de/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.franca:org.franca.parent:0.11.1-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to builds.itemis.de (https://builds.itemis.de/nexus/content/groups/public/): handshake alert: unrecognized_name and 'parent.relativePath' points at wrong local POM @ org.franca:org.franca.parent:0.11.1-SNAPSHOT, C:\work\EEA-Next\git\ascgit312.franca-plus\releng\org.franca.parent\pom.xml, line 14, column 10 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.franca:org.franca.core.dsl:[unknown-version] (C:\work\EEA-Next\git\ascgit312.franca-plus\plugins\org.franca.core.dsl\pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.franca:org.franca.parent:0.11.1-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to builds.itemis.de (https://builds.itemis.de/nexus/content/groups/public/): handshake alert: unrecognized_name and 'parent.relativePath' points at wrong local POM @ org.franca:org.franca.parent:0.11.1-SNAPSHOT, C:\work\EEA-Next\git\ascgit312.franca-plus\releng\org.franca.parent\pom.xml, line 14, 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 With maven debug logs it drills down to: [INFO] Downloading: https://builds.itemis.de/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom [DEBUG] Writing tracking file C:\work\EEA-next\maven_repository\org\sonatype\oss\oss-parent\7\oss-parent-7.pom.lastUpdated [DEBUG] Could not obtain connector factory for xdoc (http://franca.github.io/franca/update_site/thirdparty, p2, releases+snapshots) org.eclipse.aether.transfer.NoRepositoryConnectorException: No connector available to access repository xdoc (http://franca.github.io/franca/update_site/thirdparty) of type p2 Any hints what is wrong? Best regards Manfred -- BMW Group Manfred Bathelt Elektrik/Elektronik und Fahrerlebnisplatz Produktdefinition und Architektur ConnectedDrive, IuK-Systeme (EE-600) Max-Diamand-Strasse 25 80937 München Postanschrift: 80788 München Tel: +49-89-382-10718 Mobil: +49 151 601 10718 Mail: manfred.bathelt@bmw.de<mailto:manfred.bathelt@bmw.de> Web: http://www.bmwgroup.com/ -------------------------------------------------------------------- Bayerische Motoren Werke Aktiengesellschaft Vorstand: Harald Krüger (Vorsitzender), Harald Krüger, Ian Robertson, Klaus Fröhlich, Nicolas Peter, Markus Duesmann, Milagros Caiña Carreiro-Andree, Peter Schwarzenbauer, Oliver Zipse. Vorsitzender des Aufsichtsrats: Norbert Reithofer Sitz und Registergericht: München HRB 42243 --------------------------------------------------------------------