Hi Travis,

The advantage to the overlay is that you don't have to clone the whole repo
and build from source.

I'm trying to build 5.3.0-RC2-SNAPSHOT because I'm working on fixing
MongoDbConnectionFactory.java to correctly handle client connection strings
(URIs), which is needed to support a MongoDb-based service registry (or
other registries, but those don't matter to the webapp).

But, although I'd personally like to see the overlay remain supported and
working, I can in the short term probably clone the repo and do it that way.

Thanks,
--Dave


--

DAVID A. CURRY, CISSP
*DIRECTOR OF INFORMATION SECURITY*
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728 • [email protected]

[image: The New School]

On Tue, Jan 23, 2018 at 2:15 PM, Travis Schmidt <[email protected]>
wrote:

> Hi David,
>   Not exactly sure what is going on, but I have to confess that I have not
> tried building the management app with the Maven overlay.
>
> I can say for sure that to be compatible with the last release of the
> management app that the cas.version needs to be 5.3.0-RC1, since that is
> what it is built against.
>
> Also I am not sure exactly what benefit the Maven overlay has for the
> management-app and maybe that it is a discussion we need to have with
> developers and the CAS community at large.
>
> if you do:
>
> git clone https://github.com/apereo/cas-management.git
> cd cas-manaagement
> ./gradlew build -x check -x javadoc
>
> This will build a war under cas-management/webapp-mgmt/
> cas-management-webapp/build/libs/ that can be deployed.
>
> Needless to say some time needs to be put into the documentation for the
> management app.
>
> Thanks
> Travis
>
>
>
> On Tue, Jan 23, 2018 at 10:11 AM David Curry <[email protected]>
> wrote:
>
>>
>> I am building the management webapp with the current Maven WAR overlay,
>> and <cas.version> set to either 5.3.0-RC1 or 5.3.0-RC2-SNAPSHOT. In both
>> cases, all of a sudden the webapp is unhappy with my
>> *management.properties* file that has been working just fine with 5.1.x
>> and 5.2.x. Specifically, I get:
>>
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>> creating bean with name 'casCoreWebConfiguration': Unsatisfied dependency
>> expressed through field 'casProperties'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'cas-org.apereo.cas.configuration.CasConfigurationProperties':
>> Could not bind properties to CasConfigurationProperties (prefix=cas,
>> ignoreInvalidFields=false, ignoreUnknownFields=false,
>> ignoreNestedProperties=false); nested exception is
>> org.springframework.beans.NotWritablePropertyException: Invalid property
>> 'mgmt[adminRoles][0]' of bean class 
>> [org.apereo.cas.configuration.CasConfigurationProperties]:
>> Cannot access indexed value in property referenced in indexed property path
>> 'mgmt[adminRoles][0]'; nested exception is 
>> org.springframework.beans.NotReadablePropertyException:
>> Invalid property 'mgmt[adminRoles][0]' of bean class
>> [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property
>> 'mgmt[adminRoles][0]' is not readable or has an invalid getter method: Does
>> the return type of the getter match the parameter type of the setter?
>>
>> and, if I delete "cas.mgmt.adminRoles[0]: ROLE_ADMIN" from the file, I
>> get basically the same error on the next property:
>>
>> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
>> creating bean with name 'casCoreWebConfiguration': Unsatisfied dependency
>> expressed through field 'casProperties'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'cas-org.apereo.cas.configuration.CasConfigurationProperties':
>> Could not bind properties to CasConfigurationProperties (prefix=cas,
>> ignoreInvalidFields=false, ignoreUnknownFields=false,
>> ignoreNestedProperties=false); nested exception is
>> org.springframework.beans.NotWritablePropertyException: Invalid property
>> 'mgmt[userPropertiesFile]' of bean class 
>> [org.apereo.cas.configuration.CasConfigurationProperties]:
>> Cannot access indexed value in property referenced in indexed property path
>> 'mgmt[userPropertiesFile]'; nested exception is 
>> org.springframework.beans.NotReadablePropertyException:
>> Invalid property 'mgmt[userPropertiesFile]' of bean class
>> [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property
>> 'mgmt[userPropertiesFile]' is not readable or has an invalid getter method:
>> Does the return type of the getter match the parameter type of the setter?
>>
>> It occurred to me that maybe the property name prefix ("cas.mgmt") might
>> have changed when the webapp was spun off into its own GitHub repository,
>> but unfortunately, when I try to check the documentation on this:
>>
>> https://apereo.github.io/cas-management/development/
>> installation/Configuration-Properties.html
>>
>> it results in a 404 error (as does Configuration-Management.html).
>>
>> Is this a bug, or am I doing something wrong?
>>
>> Thanks,
>> --Dave
>>
>>
>>
>>
>> --
>>
>> DAVID A. CURRY, CISSP
>> *DIRECTOR OF INFORMATION SECURITY*
>> INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
>> <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g>
>> +1 212 229-5300 x4728 <(212)%20229-5300> • [email protected]
>>
>> [image: The New School]
>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/a/
>> apereo.org/d/msgid/cas-user/CA%2Bd9XAMrHXz6FbjofrZj5G9Tk2rGGi
>> kP%2B15Q_v-ZJ_T8_%2B9Egg%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAMrHXz6FbjofrZj5G9Tk2rGGikP%2B15Q_v-ZJ_T8_%2B9Egg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAC_RtEbieC0Z_Av13bUPWdhpPK9NoRNOfjGWSTU7%
> 2BZFPQWyDwA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAC_RtEbieC0Z_Av13bUPWdhpPK9NoRNOfjGWSTU7%2BZFPQWyDwA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAOdB__CLmd2Qp4PzDwYRS%2Btq_4uJpcfa7j04x9eVF4sSA%40mail.gmail.com.

Reply via email to