<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi.  I’m just starting to look into midPoint.  We got a server up and running, and I want to try out the web service interface using the sample program mentioned on <a href="https://wiki.evolveum.com/display/midPoint/Model+Web+Service+Client+Sample">https://wiki.evolveum.com/display/midPoint/Model+Web+Service+Client+Sample</a> so
 I got the source code from Git.</div>
<div><br>
</div>
<div>I had troubles building part of it:</div>
<div>
<div>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project test-ng: Compilation failure</div>
<div>[ERROR] Failure executing javac,  but could not parse the error:</div>
<div>[ERROR] javac: invalid target release: 1.7</div>
<div>[ERROR] Usage: javac <options> <source files></div>
<div>[ERROR] use -help for a list of possible options</div>
<div>[ERROR] -> [Help 1]</div>
</div>
<div><br>
</div>
<div>I <span style="font-weight: bold;">think</span> the problem is caused by testing/systest/pom.xml</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                               <groupId>org.apache.maven.plugins</groupId></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                <artifactId>maven-compiler-plugin</artifactId></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                <version>2.3.2</version></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                <configuration></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <source>1.7</source></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <target>1.7</target></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <fork>true</fork></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <meminitial>128m</meminitial></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <maxmem>768m</maxmem></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <showDeprecation>true</showDeprecation></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                        <showWarnings>true</showWarnings></p>
<p style="margin: 0px; font-size: 12px; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);">
                                                </configuration></p>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I’m running 1.7.0_51.  Is it really customary to hard-code Java versions in this way?</div>
<div>Is that the source of the problem?</div>
<div>Can I  just change the target?</div>
<div><br>
</div>
<div>Full mvn clean compile output attached.</div>
<div><br>
</div>
<div>Thanks.</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If
 the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have
 received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. McGraw-Hill Education reserves the right, subject to applicable local law, to monitor, review and process the content of any electronic
 message or information sent to or from McGraw-Hill Education e-mail addresses without informing the sender or recipient of the message. By sending electronic message or information to McGraw-Hill Education e-mail addresses you, as the sender, are consenting
 to McGraw-Hill Education processing any of your personal data therein.<br>
</font>
</body>
</html>