|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Development Open Discussion Anything else about the Phex development |
| LinkBack | Thread Tools | Display Modes |
| |||
I tried to build it but maven cant find some libs: buld-and-run [ERROR] Failed to execute goal on project Phex: Could not resolve dependencies for project org.phex:Phex:jar:3.4.2: Failed to collect dependencies at net.sourceforge.groboutils:groboutils-core:jar:5: Failed to read artifact descriptor for net.sourceforge.groboutils:groboutils-core:jar:5: Could not transfer artifact net.sourceforge.groboutils:groboutils-coreom:5 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [phex-repository (http://phex.sourceforge.net/mavenrepository, default, releases+snapshots), geotools-repository (http://download.osgeo.org/webdav/geotools/, default, releases+snapshots), teleal-repo (http://teleal.org/m2, default, releases)] -> [Help 1] [ERROR] |
| |||
I cant compile phex, maven has problem to download a jarfile: build-and-run Code: build-and-run [WARNING] Some problems were encountered while building the effective model for org.phex:Phex:jar:3.4.2 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 157, column 14 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 175, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------------< org.phex:Phex >---------------------------- [INFO] Building Phex 3.4.2 [INFO] --------------------------------[ jar ]--------------------------------- Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/groboutils/groboutils-core/5/groboutils-core-5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/cling/cling-support/1.0.5/cling-support-1.0.5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/teleal-common/1.0.13/teleal-common-1.0.13.pom Downloading from central: https://repo.maven.apache.org/maven2/net/roydesign/mrjadapter/1.1/mrjadapter-1.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.846 s [INFO] Finished at: 2023-06-02T10:28:40+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project Phex: Could not resolve dependencies for project org.phex:Phex:jar:3.4.2: Failed to collect dependencies at net.sourceforge.groboutils:groboutils-core:jar:5: Failed to read artifact descriptor for net.sourceforge.groboutils:groboutils-core:jar:5: Could not transfer artifact net.sourceforge.groboutils:groboutils-core:pom:5 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [phex-repository (http://phex.sourceforge.net/mavenrepository, default, releases+snapshots), geotools-repository (http://download.osgeo.org/webdav/geotools/, default, releases+snapshots), teleal-repo (http://teleal.org/m2, default, releases)] -> [Help 1] [ERROR] |
| |||
Quote:
I tried to compile phex but maven cant download a jar-file: Code: [WARNING] Some problems were encountered while building the effective model for org.phex:Phex:jar:3.4.2 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 157, column 14 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 175, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ---------------------------< org.phex:Phex >---------------------------- [INFO] Building Phex 3.4.2 [INFO] --------------------------------[ jar ]--------------------------------- Downloading from central: https://repo.maven.apache.org/maven2/net/sourceforge/groboutils/groboutils-core/5/groboutils-core-5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/cling/cling-core/1.0.5/cling-core-1.0.5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/cling/cling-support/1.0.5/cling-support-1.0.5.pom Downloading from central: https://repo.maven.apache.org/maven2/org/teleal/teleal-common/1.0.13/teleal-common-1.0.13.pom Downloading from central: https://repo.maven.apache.org/maven2/net/roydesign/mrjadapter/1.1/mrjadapter-1.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.846 s [INFO] Finished at: 2023-06-02T10:28:40+02:00 [INFO] ------------------------------------------------------------------------ |
| |||
I solved it later: 1. Downloaded the cling jars from another repo manually and put it to the local repo.Adding the other repo in the pom.xml didn't work. mrjdapter downloaded manaully too, from github, newer version. Update: This happend if maven blocks http, https-repos works. Default in maven is blocking http. You have to change settings.xml in your maven conf-dir or your .maven/settings.xml 2. Put comment tags to the grobo entry in the pom.xml, its only necessary for tests. Then Code: mvn package -Dmaven.test.skip Last edited by kermithermos; June 5th, 2023 at 02:09 AM. |
| |||
I'm not sure why but looks like someone moderated your posts. I can still see them and I can see no reason why the post would need to be moderated. So lets hope an admin can correct this soon. |
| |