I'm geting rid of the files from being build by adding exludes to
pom.xml before building the project.for example adding this to
configuration section prevents one of the files to be included in the
final
build:                    <overlays>                        <overlay> 
                           <groupId>org.apereo.cas</groupId>           
                 <artifactId>cas-server-
webapp</artifactId>                            <excludes>              
                  <exclude>WEB-INF/classes/services/Apereo-
10000002.json</exclude>                            </excludes>         
               </overlay>                    </overlays>HTH.
W dniu 24.05.2017, śro o godzinie 09∶17 +0100, użytkownik Ben Howell-
Thomas napisał:
> Don't know if it's the best solution but we've created blank (ie
> empty file) versions of those files in our project so the originals
> get overridden.
> 
> On 24 May 2017 at 07:14, Petr Gašparík - AMI Praha a.s. <petr.gaspari
> [email protected]> wrote:
> > That's exactly my question, that is not covered by docs, AFAIK.
> > Misagh or Dima, please, let us know how to turn off creation of
> > these files.
> > 
> > So far we use this workaround: on overlay, create empty files in
> > this location:
> > src\main\resources\services\HTTPSandIMAPS-10000001.json
> > src\main\resources\services\Apereo-10000002.json
> > 
> > 
> > --
> > s pozdravem
> > Petr Gašparík
> > solution architect
> > 
> > gsm: [+420] 603 523 860
> > e-mail: [email protected]      AMI Praha a.s.
> > Pláničkova 11
> > 162 00 Praha 6
> > tel.: [+420] 274 783 239
> > web: www.ami.cz      
> > 
> > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá
> > za společnost AMI Praha a.s.
> > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít
> > výhradně písemnou formu.
> > 
> > 
> > 
> > 
> > 2017-05-24 0:45 GMT+02:00 RJ <[email protected]>:
> > > Guys,
> > > 
> > > In the latest version 5.0.5 or 5.1.0-RC4, the default
> > > service,HTTPSandIMAPS-10000001.json, gets auto created during the
> > > startup. We kept deleting it but it comes back. It wasn't the
> > > case in the past. How to turn the auto creation off ?
> > > 
> > > HTTPSandIMAPS-10000001.json
> > > Apereo-10000002.json
> > > 
> > > Thanks
> > > 
> > > 
> > > 
> > > 
> > > -- 
> > > 
> > > - CAS gitter chatroom: https://gitter.im/apereo/cas
> > > 
> > > - CAS mailing list guidelines: https://apereo.github.io/cas/Maili
> > > ng-Lists.html
> > > 
> > > - CAS documentation website: https://apereo.github.io/cas
> > > 
> > > - CAS project website: https://github.com/apereo/cas
> > > 
> > > --- 
> > > 
> > > 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.co
> > > m/a/apereo.org/d/msgid/cas-
> > > user/CACNfiM%2BaigyqPB30YPwM6OaYtw9jdr4UX9%2BFgFatThyRx4E%2BmQ%40
> > > mail.gmail.com.
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
-- 
Andrzej Kardaś - Solution Architect @ Linux Polska Sp. z o. o. 
Red Hat Certified Engineer ( # 160-118-352 )
mobile: +48784492627
---------------------------------------------------------------------
---------------------------
Linux Polska Sp. z o. o. Al. Jerozolimskie 123A (piętro 26); 02-017
Warszawa; tel. (+48) 222139571; fax (+48) 222139671
KRS - 0000326158 Sąd Rejonowy dla M. St. Warszawy w Warszawie, XII
Wydział Gospodarczy KRS

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/1495618958.3579.1.camel%40linuxpolska.pl.

Reply via email to