Hi,

DSpace-Manual.pdf on the page 50 says

7. Build the Installation Package: As the dspace UNIX user,
generate the DSpace installation package.
cd [dspace-source]/dspace/
mvn package


Doing so leads to error:

dspace@dspace4-test:~/DSpace-dspace-4.0/dspace$ mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] DSpace Addon Modules
[INFO] DSpace Kernel :: Additions and Local Customizations
[INFO] DSpace XML-UI (Manakin) :: Local Customizations
[INFO] DSpace LNI :: Local Customizations
[INFO] DSpace JSP-UI :: Local Customizations
[INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations
[INFO] DSpace SWORD :: Local Customizations
[INFO] DSpace SWORD v2 :: Local Customizations
[INFO] DSpace SOLR :: Local Customizations
[INFO] DSpace OAI 2.0 :: Local Customizations
[INFO] DSpace Assembly and Configuration
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Addon Modules 4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ modules ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ modules ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Kernel :: Additions and Local Customizations 4.0
[INFO] ------------------------------------------------------------------------
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0/dspace-api-4.0.pom
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0/dspace-api-4.0.pom
(20 KB at 38.2 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-parent/4.0/dspace-parent-4.0.pom
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-parent/4.0/dspace-parent-4.0.pom
(47 KB at 185.1 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-services/4.0/dspace-services-4.0.pom
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-services/4.0/dspace-services-4.0.pom
(5 KB at 26.8 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api-lang/maven-metadata.xml
Downloading: 
http://repo.maven.apache.org/maven2/org/dspace/dspace-api-lang/maven-metadata.xml
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api-lang/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/dspace/dspace-api-lang/maven-metadata.xml
(885 B at 8.1 KB/sec)
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api-lang/maven-metadata.xml
(885 B at 5.4 KB/sec)
Downloaded: 
https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api-lang/maven-metadata.xml
(325 B at 0.3 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0/dspace-api-4.0.jar
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-services/4.0/dspace-services-4.0.jar
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-services/4.0/dspace-services-4.0.jar
(127 KB at 373.1 KB/sec)
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0/dspace-api-4.0.jar
(1766 KB at 1972.8 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ additions ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ additions ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
additions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ additions ---
[INFO] Compiling 2 source files to
/home/dspace/DSpace-dspace-4.0/dspace/modules/additions/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources
(default-testResources) @ additions ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/dspace/DSpace-dspace-4.0/dspace/modules/additions/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @ additions ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @ additions ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ additions ---
[INFO] Building jar:
/home/dspace/DSpace-dspace-4.0/dspace/modules/additions/target/additions-4.0.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace XML-UI (Manakin) :: Local Customizations 4.0
[INFO] ------------------------------------------------------------------------
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui-lang/maven-metadata.xml
Downloading: 
http://repo.maven.apache.org/maven2/org/dspace/dspace-xmlui-lang/maven-metadata.xml
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-xmlui-lang/maven-metadata.xml
Downloaded: 
http://repo.maven.apache.org/maven2/org/dspace/dspace-xmlui-lang/maven-metadata.xml
(918 B at 10.1 KB/sec)
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui-lang/maven-metadata.xml
(918 B at 5.4 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0.pom
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0.pom
(9 KB at 46.9 KB/sec)
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0.war
Downloading: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0-classes.jar
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0.war
(2464 KB at 2311.4 KB/sec)
Downloaded: 
http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui/4.0/dspace-xmlui-4.0-classes.jar
(1221 KB at 998.9 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ xmlui ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ xmlui ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ xmlui ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .............................. SUCCESS [2.087s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [8.475s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... FAILURE [3.203s]
[INFO] DSpace LNI :: Local Customizations ................ SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
[INFO] DSpace REST (JAX RS 1 - Jersey) :: 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 2.0 :: Local Customizations ............ SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.646s
[INFO] Finished at: Tue Jan 14 11:23:40 EST 2014
[INFO] Final Memory: 32M/173M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:2.3:resources
(default-resources) on project xmlui: Error loading property file
'/home/dspace/DSpace-dspace-4.0/dspace/modules/xmlui/../../../target/build.properties'
-> [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 :xmlui



On the other hand doing this leads to success:

cd [dspace-source]/
mvn package

[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [6.847s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [3.229s]
[INFO] DSpace Kernel :: API and Implementation ........... SUCCESS [16.664s]
[INFO] DSpace Addon Modules .............................. SUCCESS [0.255s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [0.394s]
[INFO] DSpace XML-UI (Manakin) ........................... SUCCESS [12.262s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SUCCESS [8.310s]
[INFO] DSpace LNI ........................................ SUCCESS [3.121s]
[INFO] DSpace LNI :: Local Customizations ................ SUCCESS [3.987s]
[INFO] DSpace JSP-UI ..................................... SUCCESS [5.506s]
[INFO] DSpace JSP-UI :: Local Customizations ............. SUCCESS [4.523s]
[INFO] DSpace RESTful web services API ................... SUCCESS [5.613s]
[INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations  SUCCESS [4.915s]
[INFO] DSpace SWORD ...................................... SUCCESS [3.538s]
[INFO] DSpace SWORD :: Local Customizations .............. SUCCESS [4.214s]
[INFO] DSpace SWORD v2 ................................... SUCCESS [3.415s]
[INFO] DSpace SWORD v2 :: Local Customizations ........... SUCCESS [4.409s]
[INFO] Apache Solr Webapp ................................ SUCCESS [7.897s]
[INFO] DSpace SOLR :: Local Customizations ............... SUCCESS [4.499s]
[INFO] DSpace OAI 2.0 .................................... SUCCESS [3.643s]
[INFO] DSpace OAI 2.0 :: Local Customizations ............ SUCCESS [5.452s]
[INFO] DSpace Assembly and Configuration ................. SUCCESS [42.074s]
[INFO] DSpace LNI :: CLI Client Application .............. SUCCESS [30.423s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:06.398s
[INFO] Finished at: Tue Jan 14 11:42:37 EST 2014
[INFO] Final Memory: 147M/341M
[INFO] ------------------------------------------------------------------------
dspace@dspace4-test:~/dspace-4.0-src-release$

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to