The build is now compiling for me.
I had to update maven-surefire-plugin to 2.14 as version 2.12.1 was
throwing this error ( see also https://jira.codehaus.org/browse/SUREFIRE-896):
[INFO] Surefire report directory:
/home/smore/wip/git/unicon/cas-java-clients-addons/target/surefire-reports
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to locate surefire-booter in the list of plugin artifacts
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: Unable to locate surefire-booter in the list of
plugin artifacts
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.getForkConfiguration(AbstractSurefireMojo.java:1152)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:655)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:647)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:606)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:569)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Wed Apr 17 11:05:28 EDT 2013
[INFO] Final Memory: 54M/661M
[INFO]
------------------------------------------------------------------------
On Sat, Apr 13, 2013 at 11:04 AM, Dmitriy Kopylenko
<[email protected]>wrote:
> Stephen,
>
> I've committed the initial refactoring to be built on top of CAS Java
> Client 3.3. Try to build cas-java-clients-addons from source again.
>
> Cheers,
> Dmitriy.
>
> On Apr 10, 2013, at 5:49 PM, Dmitriy Kopylenko <[email protected]>
> wrote:
>
> In this case, the current source for cas-java-clients-addons would need to
> be refactored to work well with the latest cas java client. I will take a
> look at it (when time permits).
>
> D.
>
> On Apr 10, 2013, at 5:20 PM, Stephen More <[email protected]> wrote:
>
> Yes, I am trying to build cas-java-clients-addons from source against the
> latest 3.3 (cas java client) snapshot.
>
> Yes, the snapshot has multiple new features in it that I am currently
> using. No I can not use 3.2.1.
>
>
> On Wed, Apr 10, 2013 at 4:23 PM, Dmitriy Kopylenko
> <[email protected]>wrote:
>
>> Stephen,
>>
>> can you explain a little bit more - are you trying to build
>> cas-java-clients-addons from source against the latest 3.3 (cas java
>> client) snapshot? Is there a particular reason for that? Can you just use
>> the current version of java-cas-clients-addons which depends on 3.2.1?
>>
>> But in any case, it looks like CAS java client makes some breaking
>> changes to its public API e.g. marking number of methods final, etc. which
>> definitely breaks cas-java-clients-addons
>>
>> Dmitriy.
>>
>> On Apr 10, 2013, at 3:56 PM, Stephen More <[email protected]> wrote:
>>
>> Ok, I have a testing version of 3.5.2 server. Now I am working on the
>> client side....
>>
>> cas-java-clients-addons: I need to build against cas.client 3.3-SNAPSHOT
>> not 3.2.1.
>>
>> I can easily update log to logger, but how should the following get
>> addressed ?
>>
>> /home/smore/wip/git/unicon/cas-java-clients-addons/src/main/java/net/unicon/casclients/addons/jasig/validation/Cas20ServiceTicketJsonValidator.java:[40,21]
>> validate(java.lang.String,java.lang.String) in
>> net.unicon.casclients.addons.jasig.validation.Cas20ServiceTicketJsonValidator
>> cannot override validate(java.lang.String,java.lang.String) in
>> org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator; overridden
>> method is final
>>
>> /home/smore/wip/git/unicon/cas-java-clients-addons/src/main/java/net/unicon/casclients/addons/jasig/validation/ClearPassProxyTicketValidator.java:[29,14]
>> setAcceptAnyProxy(boolean) in
>> net.unicon.casclients.addons.jasig.validation.ClearPassProxyTicketValidator
>> cannot override setAcceptAnyProxy(boolean) in
>> org.jasig.cas.client.validation.Cas20ProxyTicketValidator; overridden
>> method is final
>>
>>
>> -Stephen More
>>
>>
>>
>> On Wed, Apr 10, 2013 at 11:53 AM, Misagh Moayyed <[email protected]>wrote:
>>
>>> The minimum supported version is 3.5.1:****
>>>
>>> https://github.com/Unicon/cas-addons/blob/master/README.md ****
>>>
>>> ** **
>>>
>>> *From:* Stephen More [mailto:[email protected]]
>>> *Sent:* Wednesday, April 10, 2013 7:01 AM
>>> *To:* [email protected]
>>> *Subject:* Re: [cas-user] Attributes via CAS 2.0 protocol****
>>>
>>> ** **
>>>
>>> I am trying to get the unicon addon to work..the first thing I am
>>> struggling with is version compatibility. What version of the addon is
>>> compatible with what version of cas ?****
>>>
>>> I am currently running 3.4.12. I added cas-addons 1.2 now I have
>>> conflicting jars in my lib dir:
>>> spring-security-core-3.0.5.RELEASE.jar
>>> spring-security-core-3.1.0.RELEASE.jar
>>> person-directory-api-1.5.0-RC6.jar
>>> person-directory-api-1.5.1.jar****
>>>
>>> -Thanks****
>>>
>>> Stephen More****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> On Wed, Mar 27, 2013 at 12:44 PM, Dmitriy Kopylenko <
>>> [email protected]> wrote:****
>>>
>>> There is one other option that would eliminate the need to "hack"
>>> casServiceValidationSuccess.jsp:
>>> https://github.com/Unicon/cas-addons/wiki/Configuring-JSON-Validation-Response
>>> ****
>>>
>>> ** **
>>>
>>> Cheers,****
>>>
>>> Dmitriy.****
>>>
>>> ** **
>>>
>>> On Mar 27, 2013, at 12:23 PM, Robert Oschwald <
>>> [email protected]> wrote:****
>>>
>>> ** **
>>>
>>> See
>>> https://wiki.jasig.org/display/CASUM/Attributes#Attributes-AccessingattributesusingtheCASclientforjavahow
>>> to release attributes to the client.
>>> If you use the SAML ticket validator, it works out of the box.
>>>
>>> If you want to release the attributes using the /serviceValidate url,
>>> you must add attributes to the casServiceValidationSuccess.jsp.
>>>
>>> Robert
>>>
>>> Am 27.03.2013 um 16:50 schrieb Stephen More <[email protected]>:
>>>
>>>
>>> ****
>>>
>>> According to the Client Feature Matrix (
>>> https://wiki.jasig.org/display/CASC/Client+Feature+Matrix ) Attributes
>>> are available by using either protocol SAML1.1 or CAS 2.0 support via
>>> known server sided extension point.
>>>
>>> I see the SAML1.1 example here:
>>> https://wiki.jasig.org/display/CASC/Saml11TicketValidationFilter+Example
>>>
>>> What is the CAS 2.0 server side extension that supports attributes and
>>> is there an example ?
>>>
>>>
>>> -Stephen More
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user****
>>>
>>>
>>>
>>> -- ****
>>>
>>> You are currently subscribed to [email protected] as:
>>> [email protected]****
>>>
>>>
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user****
>>>
>>> ** **
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>>
>>>
>>> ****
>>>
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user****
>>>
>>> ** **
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>>
>>>
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user****
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>>
>>>
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>
>>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>>
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user