Sorry by the inconvenience, but, no tips?

Daniel

---------- Forwarded message ----------
From: Daniel Shin <[email protected]>
Date: 2012/1/11
Subject: Problem with Maven
To: [email protected]


Hi,

I have 2 Dspace 1.7.x installations on the same server.
DSpace1 no problems to compile, but in DSpace2 I received the error message:

[INFO]
------------------------------------------------------------------------
[INFO] Building Cover Page module
[INFO]    task-segment: [package]
[INFO]
------------------------------------------------------------------------
[...]

/home/dspaceTeste/dspace/modules/cover/src/main/java/jp/zuki_ebetsu/dspace/util/CoverPage.java:[159,17]
generics are not supported in -source 1.3
(use -source 5 or higher to enable generics)
        ArrayList<String> clist = new ArrayList<String>();

/home/dspaceTeste/dspace/modules/cover/src/main/java/jp/zuki_ebetsu/dspace/util/CoverPage.java:[340,37]
for-each loops are not supported in -source 1.3
(use -source 5 or higher to enable for-each loops)
                    for (PdfName key : refs.getKeys())


I compared pom.xml in both installations, with no differences.
Any suggestions?

Where I should use "-source 5" indicated on the message?

Thanks in advance,
RepoTeam
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to