Hi, I use Netbeans to develop DSpace. I integrated DSpace in Netbeans as described in the wiki (https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace+and+NetBeans). Today I noticed that I can't deploy the XMLUI out of Netbeans anymore. Investigating the problem I noticed that it is currently impossible to build the XMLUI.
I cloned the DSpace repository: git clone git://github.com/DSpace/DSpace.git dspace-src Changed into it: cd dspace-src Builded it: mvn package Changed into the XMLUI folder: cd dspace-xmlui And tried to build dspace-xmlui: mvn package I got the following dependency problem (full output below this mail): ============== [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT' in repository sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.dspace:dspace-api:jar:4.0-SNAPSHOT ============== Can anyone confirm this? Why doesn't Maven recognize how to build dspace-api? Regards, Pascal P.S. The full maven output was: ============== [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace XML-UI (Manakin) [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ Downloading: http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT' in repository sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT' in repository sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) Downloading: http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT' in repository sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT' in repository sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.dspace:dspace-api:jar:4.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-api -Dversion=4.0-SNAPSHOT -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.dspace -DartifactId=dspace-api -Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.dspace:dspace-xmlui:war:4.0-SNAPSHOT 2) org.dspace:dspace-api:jar:4.0-SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.dspace:dspace-xmlui:war:4.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots), sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon Jan 21 17:36:34 CET 2013 [INFO] Final Memory: 24M/300M [INFO] ------------------------------------------------------------------------ ============== ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
