Hi Luigi I download Dspace-dspace-6_x_x-cris and run "mvn clean -U package" . I get the following screen:
C:\dspace>cd DSpace-dspace-6_x_x-cris C:\dspace\DSpace-dspace-6_x_x-cris>mvn clean -U package [INFO] Scanning for projects... [WARNING] The project org.dspace:dspace-parent:pom:CRIS-6.3.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMa venVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] DSpace Parent Project [INFO] DSpace Services Framework :: API and Implementation [INFO] DSpace Kernel :: API and Implementation [INFO] Article Metrics :: Modules [INFO] Article Metrics :: All [INFO] Article Metrics :: All :: Retrieve API [INFO] DSpace JSP-UI [INFO] DSpace CRIS [INFO] DSpace CRIS :: API [INFO] Article Metrics :: All :: Lookup API [INFO] Article Metrics :: PubMed :: Lookup JSP Web [INFO] DSpace Addon Modules [INFO] DSpace Kernel :: Additions and Local Customizations [INFO] DSpace XML-UI (Manakin) [INFO] DSpace CRIS :: Web Application Resources [INFO] DSpace CRIS :: JSPUI API [INFO] DSpace CRIS :: API [INFO] CRIS :: WS API [INFO] CRIS Webservices Webapp [INFO] DSpace XML-UI (Manakin) :: Local Customizations [INFO] DSpace JSP-UI :: Local Customizations [INFO] DSpace RDF [INFO] DSpace RDF :: Local Customizations [INFO] DSpace REST :: API and Implementation [INFO] DSpace REST :: Local Customizations [INFO] DSpace SWORD [INFO] DSpace SWORD :: Local Customizations [INFO] DSpace SWORD v2 [INFO] DSpace SWORD v2 :: Local Customizations [INFO] Apache Solr Webapp [INFO] DSpace SOLR :: Local Customizations [INFO] DSpace OAI-PMH [INFO] DSpace OAI-PMH :: Local Customizations [INFO] DSpace Assembly and Configuration [INFO] DSpace XML-UI Mirage2 Theme [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace Parent Project CRIS-6.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dspace-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ dspace-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ dspace-parent --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace Services Framework :: API and Implementation CRIS-6.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dspace-services --- [INFO] Deleting C:\dspace\DSpace-dspace-6_x_x-cris\dspace-services\target [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ dspace-services --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ dspace-services --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ dspace-services --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ dspace-services --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 87 source files to C:\dspace\DSpace-dspace-6_x_x-cris\dspace-services\target\classes [INFO] /C:/dspace/DSpace-dspace-6_x_x-cris/dspace-services/src/main/java/org/dspace/services/sessions/model/SessionImpl.java: Some input files use or override a deprecated API. [INFO] /C:/dspace/DSpace-dspace-6_x_x-cris/dspace-services/src/main/java/org/dspace/services/sessions/model/SessionImpl.java: Recompile with -Xlint:deprecation for details. [INFO] /C:/dspace/DSpace-dspace-6_x_x-cris/dspace-services/src/main/java/org/dspace/servicemanager/config/DSpaceConfigurationService.java: Some input files use unchecked or unsafe operations. [INFO] /C:/dspace/DSpace-dspace-6_x_x-cris/dspace-services/src/main/java/org/dspace/servicemanager/config/DSpaceConfigurationService.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ dspace-services --- [INFO] Not copying test resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ dspace-services --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ dspace-services --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ dspace-services --- [INFO] Building jar: C:\dspace\DSpace-dspace-6_x_x-cris\dspace-services\target\dspace-services-CRIS-6.3.0-SNAPSHOT.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DSpace Kernel :: API and Implementation CRIS-6.3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/elasticsearch/elasticsearch/1.4.5/elasticsearch-1.4.5.jar Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/glassfish/jersey/connectors/jersey-apache-connector/2.22.1/jersey-apache-connector-2.22.1.jar Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar Downloading: http://oss.sonatype.org/content/repositories/releases/org/elasticsearch/elasticsearch/1.4.5/elasticsearch-1.4.5.jar Downloading: http://oss.sonatype.org/content/repositories/releases/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar Downloading: http://oss.sonatype.org/content/repositories/releases/org/glassfish/jersey/connectors/jersey-apache-connector/2.22.1/jersey-apache-connector-2.22.1.jar Downloaded: http://oss.sonatype.org/content/repositories/releases/org/elasticsearch/elasticsearch/1.4.5/elasticsearch-1.4.5.jar (14 MB at 333 kB/s) Downloading: https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar Downloading: https://repo.maven.apache.org/maven2/org/glassfish/jersey/connectors/jersey-apache-connector/2.22.1/jersey-apache-connector-2.22.1.jar Downloaded: https://repo.maven.apache.org/maven2/org/glassfish/jersey/connectors/jersey-apache-connector/2.22.1/jersey-apache-connector-2.22.1.jar (24 kB at 42 kB/s) Downloaded: https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/4.10.4/lucene-sandbox-4.10.4.jar (119 kB at 134 kB/s) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dspace-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ dspace-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ dspace-api --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:maven-version (default) @ dspace-api --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ dspace-api --- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD" [INFO] Working directory: C:\dspace\DSpace-dspace-6_x_x-cris\dspace-api [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] DSpace Parent Project .............................. SUCCESS [ 0.456 s] [INFO] DSpace Services Framework :: API and Implementation SUCCESS [ 2.387 s] [INFO] DSpace Kernel :: API and Implementation ............ FAILURE [ 47.777 s] [INFO] Article Metrics :: Modules ......................... SKIPPED [INFO] Article Metrics :: All ............................. SKIPPED [INFO] Article Metrics :: All :: Retrieve API ............. SKIPPED [INFO] DSpace JSP-UI ...................................... SKIPPED [INFO] DSpace CRIS ........................................ SKIPPED [INFO] DSpace CRIS :: API ................................. SKIPPED [INFO] Article Metrics :: All :: Lookup API ............... SKIPPED [INFO] Article Metrics :: PubMed :: Lookup JSP Web ........ SKIPPED [INFO] DSpace Addon Modules ............................... SKIPPED [INFO] DSpace Kernel :: Additions and Local Customizations SKIPPED [INFO] DSpace XML-UI (Manakin) ............................ SKIPPED [INFO] DSpace CRIS :: Web Application Resources ........... SKIPPED [INFO] DSpace CRIS :: JSPUI API ........................... SKIPPED [INFO] DSpace CRIS :: API ................................. SKIPPED [INFO] CRIS :: WS API ..................................... SKIPPED [INFO] CRIS Webservices Webapp ............................ SKIPPED [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED [INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED [INFO] DSpace RDF ......................................... SKIPPED [INFO] DSpace RDF :: Local Customizations ................. SKIPPED [INFO] DSpace REST :: API and Implementation .............. SKIPPED [INFO] DSpace REST :: Local Customizations ................ SKIPPED [INFO] DSpace SWORD ....................................... SKIPPED [INFO] DSpace SWORD :: Local Customizations ............... SKIPPED [INFO] DSpace SWORD v2 .................................... SKIPPED [INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED [INFO] Apache Solr Webapp ................................. SKIPPED [INFO] DSpace SOLR :: Local Customizations ................ SKIPPED [INFO] DSpace OAI-PMH ..................................... SKIPPED [INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED [INFO] DSpace Assembly and Configuration .................. SKIPPED [INFO] DSpace XML-UI Mirage2 Theme ........................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 51.378 s [INFO] Finished at: 2018-01-03T19:47:37Z [INFO] Final Memory: 37M/88M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project dspace-api: Cannot get the revision information from the scm repository : [ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git" (in directory "C:\dspace\DSpace-dspace-6_x_x-cris\dspace-api"): CreateProcess error=2, El sistema no puede encontrar el archivo especificado [ERROR] -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :dspace-api Regards Gonzalo El miércoles, 3 de enero de 2018, 13:49:08 (UTC), Pascarelli Luigi Andrea escribió: > > Hi Gonzalo, > > from the Reactor Summary I think that you have a modified POM of > DSpace-CRIS or 'mvn' command has launched in a wrong folder. > > Try to clone the branch using "git clone -b dspace-6_x_x-cris > https://github.com/4Science/DSpace.git dspace-parent/" and from > "dspace-parent" folder run "mvn clean -U package". > > Let me known. > > Luigi Andrea > > > Il 03/01/2018 11:09, gonzalo perl ha scritto: > > Hello everybody > > I am trying to install Dspace-CRIS-6 (RC2), writing mvn -U clean package, > but i get the following error: > > INFO] DSpace Addon Modules ............................... SUCCESS [ > 0.358 s] > [INFO] DSpace Kernel :: Additions and Local Customizations FAILURE [ > 18.284 s] > [INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED > [INFO] DSpace JSP-UI :: Local Customizations .............. SKIPPED > [INFO] DSpace RDF :: Local Customizations ................. SKIPPED > [INFO] DSpace REST :: Local Customizations ................ SKIPPED > [INFO] DSpace SWORD :: Local Customizations ............... SKIPPED > [INFO] DSpace SWORD v2 :: Local Customizations ............ SKIPPED > [INFO] DSpace SOLR :: Local Customizations ................ SKIPPED > [INFO] DSpace OAI-PMH :: Local Customizations ............. SKIPPED > [INFO] DSpace Assembly and Configuration .................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 18.969 s > [INFO] Finished at: 2018-01-03T10:01:44Z > [INFO] Final Memory: 13M/31M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project additions: Could not resolve > dependencies for project > org.dspace.modules:additions:jar:CRIS-6.1.0-SNAPSHOT: The following > artifacts could not be resolved: > org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT, > org.dspace:dspace-cris-api:jar:CRIS-6.1.0-SNAPSHOT: Coul > d not find artifact org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT in > 4science-repo-snapshot ( > https://github.com/4Science/mvn-repo/raw/master/snapshots) -> [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 > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :additions > > Any idea? > > Regards > Gonzalo > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/dspace-tech > <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech&e=8ef37f15&h=f69ab701&f=n&p=y> > . > For more options, visit https://groups.google.com/d/optout > <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&e=8ef37f15&h=9ae39a8b&f=n&p=y> > . > > > -- > Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non > infetto. > Clicca qui per segnalarlo come spam. > <http://esva1.business-e.it/cgi-bin/learn-msg.cgi?id=B91C2400D8.AF74D> > > > -- > Luigi Andrea Pascarelli > > DSpace and DSpace-CRIS Committer > > 4Science, www.4science.it > > office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy > tel: +39 333 934 1782 > skype: l_a_p82 > linkedin: luigiandreapascarelli > > an Itway Group Company > Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates > > ==================================== > Save a tree. Don't print this e-mail unless it's really necessary. > > DISCLAIMER: The information contained in this message is confidential, can be > legally protected by local Laws, > and must be exclusively used by the recipient. The publication, use, > distribution, printing or unauthorized copy > of the content of this message is strictly forbidden and it can be illegal. > If you received this message by mistake, > please destroy it and notify it to the sender. > > -- > This message has been checked by Libra ESVA and is believed to be clean. > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
