Skip to content

Instantly share code, notes, and snippets.

@adam-vessey
Created June 25, 2015 14:29
Show Gist options
  • Save adam-vessey/495cab722de67d39c15a to your computer and use it in GitHub Desktop.
Save adam-vessey/495cab722de67d39c15a to your computer and use it in GitHub Desktop.
Build filter against 3.8.1
$ mvn package -Dfedora.version=3.8.1
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for ca.islandora:fcrepo-drupalauthfilter:jar:3.8.1
[WARNING] 'version' contains an expression but should be a constant. @ ca.islandora:fcrepo-drupalauthfilter:${fedora.version}, /home/whip/repos/islandora_drupal_filter/pom.xml, line 5, column 14
[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] ------------------------------------------------------------------------
[INFO] Building Islandora Drupal Servlet Filters 3.8.1
[INFO] ------------------------------------------------------------------------
[...]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.882s
[INFO] Finished at: Thu Jun 25 11:24:02 ADT 2015
[INFO] Final Memory: 11M/120M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fcrepo-drupalauthfilter: Could not resolve dependencies for project ca.islandora:fcrepo-drupalauthfilter:jar:3.8.1: Failed to collect dependencies for [org.fcrepo:fcrepo-common:pom:3.8.1 (provided), org.fcrepo:fcrepo-security-jaas:jar:3.8.1 (provided), com.cenqua.clover:clover:jar:1.3.12 (compile), maven:dom4j:jar:1.7-20060614 (compile), org.fcrepo:fcrepo-security:pom:3.8.1 (compile), org.fcrepo:fcrepo-server:jar:3.8.1 (provided), javax.servlet:servlet-api:jar:2.5 (provided), mysql:mysql-connector-java:jar:5.1.26 (test), postgresql:postgresql:jar:9.1-901.jdbc4 (test)]: Failed to read artifact descriptor for org.openrdf.sesame:sesame-model:jar:2.2.1: Could not find artifact org.openrdf.sesame:sesame-core:pom:2.2.1 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
[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/DependencyResolutionException
@DiegoPino
Copy link

Hi Adam, i don't see sesame-core 2.2.1 being available in http://repo.maven.apache.org/maven2 (anymore), so you would need a different source repo for that version org.openrdf.sesame or modify the version dependencies. 2.2.1 is from 2008!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment