Skip to content

Instantly share code, notes, and snippets.

@jdlich
Created December 14, 2012 17:15
Show Gist options
  • Save jdlich/4287066 to your computer and use it in GitHub Desktop.
Save jdlich/4287066 to your computer and use it in GitHub Desktop.
[INFO] Copying 17 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [sakai-authz-tool] in [/Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/target/sakai-authz-tool-2.8.2]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/src/webapp]
[INFO] Webapp assembled in [39 msecs]
[INFO] Building war: /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/target/sakai-authz-tool-2.8.2.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO] [install:install {execution: default-install}]
[INFO] Installing /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/target/sakai-authz-tool-2.8.2.war to /Users/jacoblichner/.m2/repository/org/sakaiproject/sakai-authz-tool/2.8.2/sakai-authz-tool-2.8.2.war
[INFO] ------------------------------------------------------------------------
[INFO] Building Blog Wow!
[INFO] task-segment: [clean, sakai:deploy, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [sakai:deploy {execution: default-cli}]
[INFO] No deployment specification -- skipping org.sakaiproject.blogwow:sakai-blogwow-base:pom:1.0.0
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/blogwow/pom.xml to /Users/jacoblichner/.m2/repository/org/sakaiproject/blogwow/sakai-blogwow-base/1.0.0/sakai-blogwow-base-1.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building BlogWoW API
[INFO] task-segment: [clean, sakai:deploy, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [sakai:deploy {execution: default-cli}]
[INFO] Found 0 artifacts
Downloading: http://source.sakaiproject.org/maven2/org/sakaiproject/blogwow/sakai-blogwow-api/1.0.0/sakai-blogwow-api-1.0.0.jar
[INFO] Unable to find resource 'org.sakaiproject.blogwow:sakai-blogwow-api:jar:1.0.0' in repository sakai-maven (http://source.sakaiproject.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/sakaiproject/blogwow/sakai-blogwow-api/1.0.0/sakai-blogwow-api-1.0.0.jar
[INFO] Unable to find resource 'org.sakaiproject.blogwow:sakai-blogwow-api:jar:1.0.0' in repository default (http://repo1.maven.org/maven2)
Downloading: http://source.sakaiproject.org/maven2/org/sakaiproject/blogwow/sakai-blogwow-api/1.0.0/sakai-blogwow-api-1.0.0.jar
[INFO] Unable to find resource 'org.sakaiproject.blogwow:sakai-blogwow-api:jar:1.0.0' in repository sakai-maven2 (http://source.sakaiproject.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/sakaiproject/blogwow/sakai-blogwow-api/1.0.0/sakai-blogwow-api-1.0.0.jar
[INFO] Unable to find resource 'org.sakaiproject.blogwow:sakai-blogwow-api:jar:1.0.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Fialed to deploy to container :Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.sakaiproject.blogwow -DartifactId=sakai-blogwow-api -Dversion=1.0.0 -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.sakaiproject.blogwow -DartifactId=sakai-blogwow-api -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.sakaiproject.blogwow:sakai-blogwow-api:jar:1.0.0
from the specified remote repositories:
default (http://repo1.maven.org/maven2),
sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
central (http://repo1.maven.org/maven2),
sakai-maven (http://source.sakaiproject.org/maven2),
sakai-maven2 (http://source.sakaiproject.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Fri Dec 14 10:09:04 MST 2012
[INFO] Final Memory: 115M/217M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment