Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven Build #55

Closed
SomeUserName1 opened this issue May 13, 2018 · 3 comments
Closed

Maven Build #55

SomeUserName1 opened this issue May 13, 2018 · 3 comments

Comments

@SomeUserName1
Copy link

SomeUserName1 commented May 13, 2018

Hi,

ich weiß nicht ob's an IntelliJ liegt, an meinem nicht vorhandenen wissen über Maven oder an den pom.xml s, aber bei mir sind ca. 1/3 der Dependencies nicht aufgelöst.
mvn -U @ Ubuntu 16.04 gibt folgendes:

mvn -U [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/de/tor/dswb/dsworkbench/3.61/dsworkbench-3.61.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for de.tor.dswb:Core:[unknown-version]: Could not find artifact de.tor.dswb:dsworkbench:pom:3.61 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 [FATAL] Non-resolvable parent POM for de.tor.dswb:parserplugin:[unknown-version]: Failure to find de.tor.dswb:dsworkbench:pom:3.61 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 13 @ [ERROR] The build could not read 2 projects -> [Help 1] [ERROR] [ERROR] The project de.tor.dswb:Core:[unknown-version] (/home/fabian/DSWorkbench/src/Core/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for de.tor.dswb:Core:[unknown-version]: Could not find artifact de.tor.dswb:dsworkbench:pom:3.61 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help 2] [ERROR] [ERROR] The project de.tor.dswb:parserplugin:[unknown-version] (/home/fabian/DSWorkbench/src/ParserPlugin/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for de.tor.dswb:parserplugin:[unknown-version]: Failure to find de.tor.dswb:dsworkbench:pom:3.61 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [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

Weiß jemand spontane abhilfe die nicht beinahaltet alles von Hand aufzulösen?

Ansonsten würde ich gerne am Farmmanager rumbasteln damit er alle Dörfer mit minimaler Laufzeit einließt (BFS auf nem B-Baum mit Wurzel beim zentralsten Dorf), sodass man InGame nur statisch pro Dorf losschickt + Auto-Safe & revisioning, ... wenn ich dazu komme

_________ Output von maven install assembly und maven --version (DSWorkbench enthält das release, unter src ist das repository gecloned)

fabian@somenotebook:~/DSWorkbench/src$ mvn install assembly:assembly [INFO] Scanning for projects... Downloading: https://repo.maven.apache.org/maven2/de/tor/dswb/dsworkbench/3.61/dsworkbench-3.61.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for de.tor.dswb:Core:[unknown-version]: Could not find artifact de.tor.dswb:dsworkbench:pom:3.61 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 [FATAL] Non-resolvable parent POM for de.tor.dswb:parserplugin:[unknown-version]: Failure to find de.tor.dswb:dsworkbench:pom:3.61 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 13 @ [ERROR] The build could not read 2 projects -> [Help 1] [ERROR] [ERROR] The project de.tor.dswb:Core:[unknown-version] (/home/fabian/DSWorkbench/src/Core/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for de.tor.dswb:Core:[unknown-version]: Could not find artifact de.tor.dswb:dsworkbench:pom:3.61 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [Help 2] [ERROR] [ERROR] The project de.tor.dswb:parserplugin:[unknown-version] (/home/fabian/DSWorkbench/src/ParserPlugin/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for de.tor.dswb:parserplugin:[unknown-version]: Failure to find de.tor.dswb:dsworkbench:pom:3.61 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 13 -> [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 fabian@somenotebook:~/DSWorkbench/src$ mvn --version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_162, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "linux", version: "4.13.0-40-generic", arch: "amd64", family: "unix"


@Patschke
Copy link

Patschke commented May 13, 2018

Hallo Fabian,

die pom.xml im Hauptverzeichnis ist auf version 3.62, im Core/pom.xml wird aber 3.61 als Abhängigkeit angegeben. Selbiges gilt für ParserPlugin/pom.xml. Findet er sie, wenn du das entsprechend auf 3.62 änderst?

@SomeUserName1
Copy link
Author

SomeUserName1 commented May 13, 2018

So einfach kann das Leben sein 👍
Dankeschön

@extremeCrazyCoder
Copy link
Contributor

extremeCrazyCoder commented May 13, 2018

Am Farmmanager rumbasteln ist grad nicht so gut :) da es für diesen noch changes gibt die noch nicht im offiziellen Repro sind.
Solange du an der UI nicht rumbastelst sondern nur an den Algorithmen sollte das mergen aber kein großes Problem werden
dein Problem ist das gleiche wie in #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants