Try change the line from file [dspace-source]/pom.xml:

from
<target name="Encode any UTF-8 chars in [src]/*.properties">

to
<target name="Encode any UTF-8 chars in properties">

Regards



On Sat, Aug 23, 2014 at 12:48 PM, Hamad Dafallah <hamad4a@gmail.com> wrote:
Thank you man indeed,
I changed the target name as this: <target name="native2ascii-utf8"> but the problem still  found and no progress, any suggestions.
best wishes 


On Sat, Aug 23, 2014 at 6:10 PM, royopa <royopa@gmail.com> wrote:
Hi

See how correct the error here:


Regards

Royopa


On Sat, Aug 23, 2014 at 11:03 AM, Hamad Dafallah <hamad4a@gmail.com> wrote:

C:\dspace\dspace-4.2-src-release\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.2
[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

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DSpace Kernel :: Additions and Local Customizations 4.2
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.restlet.jee:org.restlet:jar:2.1.1 is invalid, transiti
ve dependencies (if any) will not be available, enable debug logging for more de
tails
[WARNING] The POM for org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1 is inval
id, transitive dependencies (if any) will not be available, enable debug logging
 for more details
[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

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6: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 C:\dspace\dspace-4.2-src-release\dspace\modul
es\additions\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet\2.1.1\org.restlet-2.1.1.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.jar; error in opening
 zip file
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules ............................... SUCCESS [  2.290 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [  2.589 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
[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: 5.357 s
[INFO] Finished at: 2014-08-23T17:00:40+03:00
[INFO] Final Memory: 15M/37M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project additions: Compilation failure: Compila
tion failure:
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet\2.1.1\org.restlet-2.1.1.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.jar; error in opening
 zip file
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :additions
C:\dspace\dspace-4.2-src-release\dspace>

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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



--




--
Rodrigo Prado de Jesus
http://about.me/royopa
royopa@gmail.com