Hi all,

I get an FATAL ERROR (syntax error) for source code files that use enum's like 
this:

public interface MyTest {

    /** more error codes may be added */
    enum Result {
        OK, UNKNOWN, ERROR, DENIED
    }

    /** @return the result */
    public void getResult(); 
 }

This Error is during maven-scr-plugin is working:

[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] syntax error @[25,29] in 
file:/D:/prototype/src/main/java/de/prototype/MyTest.java
[INFO] ------------------------------------------------------------------------
[INFO] Trace


When I deactivate the maven-scr-plugin maven runs successful.

Currently I exclude all files with enum's but this workaround is not a final 
solution.

Any information's are welcome.

Best Regards
Niklas

-- 
T DD SW 4 Crypto&Security
Raum 29-428
Phone: + 49 (0) 30 - 2598-3374
http://www.bundesdruckerei.de/

Sitz der Gesellschaft: Berlin
Handelsregister: AG Berlin-Charlottenburg HRB 51900. Ust.-IdNr.:DE 165893405
Aufsichtsratsvorsitzender: Heinz-Günter Gondert
Geschäftsführer: Ulrich Hamann (Vorsitzender), Joachim Eilert

This message is intended only for the use of the individual or entity to which 
it is addressed, and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If the reader of this message 
is not the intended recipient, or the employee or agent responsible for 
delivering the message to the intended recipient, we hereby give notice that 
any dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this message in error, please delete the 
message and notify us immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to