Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Error while building current version #30

Closed
janschulte opened this issue Feb 13, 2015 · 3 comments
Closed

Error while building current version #30

janschulte opened this issue Feb 13, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@janschulte
Copy link
Member

Failed to execute goal on project 52n-sos-importer-core: Could not resolve dependencies for project org.n52.sensorweb:52n-sos-importer-core:jar:0.4.0-SNAPSHOT: The following artifacts could not be resolved: org.geotools:gt-swing:jar:9.5, org.geotools:gt-wms:jar:9.5, org.geotools:gt-epsg-hsql:jar:9.5

@EHJ-52n
Copy link
Member

EHJ-52n commented Feb 13, 2015

The build problem is fixed on our build server. The geotools part is still open.

@EHJ-52n EHJ-52n added this to the 0.4.0 milestone Feb 13, 2015
@johnjohndoe
Copy link

This actually just happens on the master branch. If you build develop before, all dependencies will be in ~/.m2/repository/. Which means you can easily reproduce the issue by simply emptying your local Maven repository and then build master.

For completeness, here is the console output of maven clean install executed on master:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.geotools:gt-swing:jar:9.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-swing -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-swing -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) org.n52.sensorweb:52n-sos-importer-core:jar:0.4.0-SNAPSHOT
    2) org.geotools:gt-swing:jar:9.5

2) org.geotools:gt-wms:jar:9.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-wms -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-wms -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) org.n52.sensorweb:52n-sos-importer-core:jar:0.4.0-SNAPSHOT
    2) org.geotools:gt-wms:jar:9.5

3) org.geotools:gt-epsg-hsql:jar:9.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-epsg-hsql -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-epsg-hsql -Dversion=9.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) org.n52.sensorweb:52n-sos-importer-core:jar:0.4.0-SNAPSHOT
    2) org.geotools:gt-epsg-hsql:jar:9.5

----------
3 required artifacts are missing.

for artifact: 
  org.n52.sensorweb:52n-sos-importer-core:jar:0.4.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  geotools-new (http://repo.opengeo.org/),
  n52-snapshots (http://52north.org/maven/repo/snapshots/),
  n52-releases (http://52north.org/maven/repo/releases/)

@EHJ-52n
Copy link
Member

EHJ-52n commented Apr 24, 2015

This problem is fixed with be927ba. Please verify with:

git clone https://github.com/52North/sos-importer.git
cd sos-importer
mvn clean install -Dmaven.repo.local=/tmp/repo-$(date +”%Y%m%d-%H%M%S”)

You might adjust the last line if working on windows.

@EHJ-52n EHJ-52n closed this as completed Apr 24, 2015
EHJ-52n added a commit that referenced this issue Jan 29, 2017
* Update to latest 52N maven parent

- dependency managements updated:
  - remove outdated
  - add used and undeclared
  - add runtime scope if required
- fix javadoc
  - become compliant with HTML 4.0
  - add missing information

* Document version requirements for developers
* Minor updates
* Switch to Java 8
* Remove duplicate line from .travis.yml
* Minor layout change: \t -> '    '
* Checkstyle #1
* Checkstyle #2
* Checkstyle #3
* Checkstyle #4
* Checkstyle #4
* Checkstyle #5
* Checkstyle #6
* Checkstyle #7
* Checkstyle #8
* Checkstyle #9
* Checkstyle #10
* Checkstyle #11
* Checkstyle #12
* Checkstyle #13
* Checkstyle #14
* Checkstyle #15
* Checkstyle #16
* Checkstyle #17
* Checkstyle #18
* Checkstyle #19
* Checkstyle #20
* Checkstyle #21
* Checkstyle #22
* Checkstyle #23
* Checkstyle #24
* Checkstyle #25
* Checkstyle #26
* Checkstyle #27
* Checkstyle #28
* Checkstyle #29
* Remove not available jdk "openjdk8"
* Checkstyle #30
* Checkstyle #31
* Checkstyle #32
* Fix findbugs issues
* Fix findbugs issues #2
* Disable checkstyle for codeless module
* Add repos again and allow them
* Add 52n repositories
* Fix findbugs issues #3
* Findbugs #4
* Findbugs #5
* Findbugs #6
* Findbugs #7
* Findbugs #8
* Add missing dependencies
* Findbugs #9 && Checkstyle #33
* Findbugs #10
* Checkstyle #34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants