I created src/main/java foder inside cas-overlay project. I used 2 java file as explained in https://apereo.github.io/cas/5.2.x/installation/Configuring-Custom-Authentication.html. I have also registered using spring.factories.
When i run mvn clean package from terminal it says [*INFO*] *Building cas-overlay 1.0* [*INFO*] *------------------------------------------------------------------------* [*INFO*] *------------------------------------------------------------------------* [*INFO*] *BUILD FAILURE* [*INFO*] *------------------------------------------------------------------------* [*INFO*] Total time: 1.873 s [*INFO*] Finished at: 2018-02-02T18:57:52+05:30 [*INFO*] Final Memory: 29M/309M [*INFO*] *------------------------------------------------------------------------* [*ERROR*] Failed to execute goal on project cas-overlay: *Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* -> *[Help 1]* *org.apache.maven.lifecycle.LifecycleExecutionException*: *Failed to execute goal on project **cas-overlay*: *Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (*LifecycleDependencyResolver.java:249*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (*LifecycleDependencyResolver.java:145*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (*MojoExecutor.java:246*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:200*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:154*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:146*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:117*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:81*) *at* org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*) *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute ( *LifecycleStarter.java:128*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*) *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*) *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*) *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*) *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*) *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*) *at* sun.reflect.NativeMethodAccessorImpl.invoke ( *NativeMethodAccessorImpl.java:62*) *at* sun.reflect.DelegatingMethodAccessorImpl.invoke ( *DelegatingMethodAccessorImpl.java:43*) *at* java.lang.reflect.Method.invoke (*Method.java:498*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced ( *Launcher.java:289*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch ( *Launcher.java:229*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.main ( *Launcher.java:356*) *Caused by*: org.apache.maven.project.DependencyResolutionException: *Could not resolve dependencies for project org.apereo.cas:cas-overlay:war:1.0: Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* *at* org.apache.maven.project.DefaultProjectDependenciesResolver.resolve ( *DefaultProjectDependenciesResolver.java:209*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (*LifecycleDependencyResolver.java:223*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (*LifecycleDependencyResolver.java:145*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (*MojoExecutor.java:246*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:200*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:154*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:146*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:117*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:81*) *at* org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*) *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute ( *LifecycleStarter.java:128*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*) *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*) *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*) *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*) *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*) *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*) *at* sun.reflect.NativeMethodAccessorImpl.invoke ( *NativeMethodAccessorImpl.java:62*) *at* sun.reflect.DelegatingMethodAccessorImpl.invoke ( *DelegatingMethodAccessorImpl.java:43*) *at* java.lang.reflect.Method.invoke (*Method.java:498*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced ( *Launcher.java:289*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch ( *Launcher.java:229*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.main ( *Launcher.java:356*) *Caused by*: org.eclipse.aether.resolution.DependencyResolutionException: *Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* *at* org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (*DefaultRepositorySystem.java:355*) *at* org.apache.maven.project.DefaultProjectDependenciesResolver.resolve ( *DefaultProjectDependenciesResolver.java:202*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (*LifecycleDependencyResolver.java:223*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (*LifecycleDependencyResolver.java:145*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (*MojoExecutor.java:246*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:200*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:154*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:146*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:117*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:81*) *at* org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*) *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute ( *LifecycleStarter.java:128*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*) *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*) *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*) *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*) *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*) *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*) *at* sun.reflect.NativeMethodAccessorImpl.invoke ( *NativeMethodAccessorImpl.java:62*) *at* sun.reflect.DelegatingMethodAccessorImpl.invoke ( *DelegatingMethodAccessorImpl.java:43*) *at* java.lang.reflect.Method.invoke (*Method.java:498*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced ( *Launcher.java:289*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch ( *Launcher.java:229*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.main ( *Launcher.java:356*) *Caused by*: org.eclipse.aether.resolution.ArtifactResolutionException: *Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* *at* org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve ( *DefaultArtifactResolver.java:422*) *at* org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts ( *DefaultArtifactResolver.java:224*) *at* org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (*DefaultRepositorySystem.java:338*) *at* org.apache.maven.project.DefaultProjectDependenciesResolver.resolve ( *DefaultProjectDependenciesResolver.java:202*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (*LifecycleDependencyResolver.java:223*) *at* org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (*LifecycleDependencyResolver.java:145*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (*MojoExecutor.java:246*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:200*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:154*) *at* org.apache.maven.lifecycle.internal.MojoExecutor.execute ( *MojoExecutor.java:146*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:117*) *at* org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject ( *LifecycleModuleBuilder.java:81*) *at* org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (*SingleThreadedBuilder.java:51*) *at* org.apache.maven.lifecycle.internal.LifecycleStarter.execute ( *LifecycleStarter.java:128*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:309*) *at* org.apache.maven.DefaultMaven.doExecute (*DefaultMaven.java:194*) *at* org.apache.maven.DefaultMaven.execute (*DefaultMaven.java:107*) *at* org.apache.maven.cli.MavenCli.execute (*MavenCli.java:955*) *at* org.apache.maven.cli.MavenCli.doMain (*MavenCli.java:290*) *at* org.apache.maven.cli.MavenCli.main (*MavenCli.java:194*) *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*) *at* sun.reflect.NativeMethodAccessorImpl.invoke ( *NativeMethodAccessorImpl.java:62*) *at* sun.reflect.DelegatingMethodAccessorImpl.invoke ( *DelegatingMethodAccessorImpl.java:43*) *at* java.lang.reflect.Method.invoke (*Method.java:498*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced ( *Launcher.java:289*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.launch ( *Launcher.java:229*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (*Launcher.java:415*) *at* org.codehaus.plexus.classworlds.launcher.Launcher.main ( *Launcher.java:356*) *Caused by*: org.eclipse.aether.transfer.ArtifactNotFoundException: *Failure to find org.apereo.cas:cas-server-webapp:jar:5.2.1 in http://oss.sonatype.org/content/repositories/releases/ <http://oss.sonatype.org/content/repositories/releases/> was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced* How do i fix this issue? On Thu, Feb 1, 2018 at 1:28 AM, Ray Bon <[email protected]> wrote: > Try these for web flow and configuration: > <AsyncLogger name="org.apereo.cas.web.flow" level="debug" > includeLocation="true"/> > <AsyncLogger name="org.apereo.cas.config" level="debug" > includeLocation="true"/> > > You can also put logging into your file MyAuthenticationEventExecution > PlanConfiguration. > > Ray > > On Wed, 2018-01-31 at 09:30 -0800, Ramakrishna G wrote: > > It is resources only. My typo mistake. > > No logs as well related to this. Can you send me a sample or GitHub > project link which works with custom authentication handler? > > On Wed, Jan 31, 2018 at 8:47 AM, Ray Bon <[email protected]> wrote: > > Ramakrishna, > > The path should be src/main/resources/META-INF (resources with an 's'). > You could also put some logging in your Configuration file to make sure it > is being called and the properties are being set correctly. > > Ray > > On Wed, 2018-01-31 at 15:45 +0530, Ramakrishna G wrote: > > Hi Robert, > > I am using cas-overlay. I have the below 2 files under src/main/resource > folder and package name com.example.cas > > I have also spring.factories file inside src/main/resource/META-INF. > > org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ > > com.example.cas.MyAuthenticationEventExecutionPlanConfiguration > > > What am I missing? When I enter my username and password this handler is > never called. > > > On Wed, Jan 31, 2018 at 3:12 PM, Oschwald Robert <[email protected] > > wrote: > > Have you registered your handler config bean in spring.factories? > See https://apereo.github.io/cas/5.1.x/installation/Configur > ing-Custom-Authentication.html > or https://apereo.github.io/cas/5.2.x/installation/Configuring > -Custom-Authentication.html > > depending on your CAS Server version. > > > > > > Am 31.01.2018 um 10:10 schrieb Ramakrishna G <[email protected]>: > > I tried following this https://apereo.github.io/ > 2017/02/02/cas51-authn-handlers/ for Custom Authentication Handler but > MyAuthenticationHandler is never called or registered. > > On Wed, Jan 31, 2018 at 11:16 AM, Ramakrishna G <[email protected]> wrote: > > Ignore previous mail. > > I need to write a for Custom Authentication Handler for CAS which takes > userId, password and pancard number. All 3 parameters will be sent to > custom server(My other server, Not in CAS) and validated and response is > returned back. > > How can I achieve this is CAS overlay? > > > Thanks > Ramakrishna G > > > > > -- > - 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/ap > ereo.org/d/msgid/cas-user/CAGST5P-5ev_yAxFhJT7deCipsM%3DK9ii > 16tT1Fdtt7KfLu8qKBQ%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGST5P-5ev_yAxFhJT7deCipsM%3DK9ii16tT1Fdtt7KfLu8qKBQ%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/ap > ereo.org/d/msgid/cas-user/57276E93-FBD8-4F9D-B0FE-3E48794EF6B9%40gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/57276E93-FBD8-4F9D-B0FE-3E48794EF6B9%40gmail.com?utm_medium=email&utm_source=footer> > . > > > -- > Ray Bon > Programmer analyst > Development Services, University Systems > 2507218831 | CLE 019 | [email protected] > > -- > - 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/ap > ereo.org/d/msgid/cas-user/1517417266.1782.64.camel%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1517417266.1782.64.camel%40uvic.ca?utm_medium=email&utm_source=footer> > . > > > -- > Ray Bon > Programmer analyst > Development Services, University Systems > 2507218831 | CLE 019 | [email protected] > > -- > - 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/1517428687.1782.70.camel%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1517428687.1782.70.camel%40uvic.ca?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/CAGST5P_NZHTrkE9jJcNZM%2BoQPa651NGJ2FNbe4mD2U2L_VJVKw%40mail.gmail.com.
MyAuthenticationEventExecutionPlanConfiguration.java
Description: Binary data
MyAuthenticationHandler.java
Description: Binary data
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd "> <modelVersion>4.0.0</modelVersion> <groupId>org.apereo.cas</groupId> <artifactId>cas-overlay</artifactId> <packaging>war</packaging> <version>1.0</version> <build> <plugins> <plugin> <groupId>com.rimerosolutions.maven.plugins</groupId> <artifactId>wrapper-maven-plugin</artifactId> <version>0.0.4</version> <configuration> <verifyDownload>true</verifyDownload> <checksumAlgorithm>MD5</checksumAlgorithm> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${springboot.version}</version> <configuration> <mainClass>${mainClassName}</mainClass> <addResources>true</addResources> <executable>${isExecutable}</executable> <layout>WAR</layout> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> <configuration> <warName>cas</warName> <failOnMissingWebXml>false</failOnMissingWebXml> <recompressZippedFiles>false</recompressZippedFiles> <archive> <compress>false</compress> <manifestFile>${manifestFileToUse}</manifestFile> </archive> <overlays> <overlay> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp${app.server}</artifactId> </overlay> </overlays> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.8</source> <target>1.8</target> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <verbose>true</verbose> <scope>compile</scope> </configuration> </plugin> </plugins> <finalName>cas</finalName> </build> <dependencies> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp${app.server}</artifactId> <version>${cas.version}</version> <type>war</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-support-generic</artifactId> <version>${cas.version}</version> <type>jar</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-core-authentication</artifactId> <version>${cas.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apereo.cas</groupId> <artifactId>cas-server-webapp</artifactId> <version>${cas.version}</version> <scope>runtime</scope> </dependency> </dependencies> <properties> <cas.version>5.2.1</cas.version> <springboot.version>1.5.8.RELEASE</springboot.version> <!-- app.server could be -jetty, -undertow, -tomcat, or blank if you plan to provide appserver --> <app.server>-tomcat</app.server> <mainClassName>org.springframework.boot.loader.WarLauncher</mainClassName> <isExecutable>false</isExecutable> <manifestFileToUse>${project.build.directory}/war/work/org.apereo.cas/cas-server-webapp${app.server}/META-INF/MANIFEST.MF</manifestFileToUse> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>sonatype-releases</id> <url>http://oss.sonatype.org/content/repositories/releases/</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository> <repository> <id>sonatype-snapshots</id> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </repository> <repository> <id>shibboleth-releases</id> <url>https://build.shibboleth.net/nexus/content/repositories/releases</url> </repository> </repositories> <profiles> <profile> <activation> <activeByDefault>true</activeByDefault> </activation> <id>exec</id> <properties> <mainClassName>org.apereo.cas.web.CasWebApplication</mainClassName> <isExecutable>true</isExecutable> <manifestFileToUse></manifestFileToUse> </properties> <build> <plugins> <plugin> <groupId>com.soebes.maven.plugins</groupId> <artifactId>echo-maven-plugin</artifactId> <version>0.3.0</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>echo</goal> </goals> </execution> </executions> <configuration> <echos> <echo>Executable profile to make the generated CAS web application executable.</echo></echos> </configuration> </plugin> </plugins> </build> </profile> <profile> <activation> <activeByDefault>false</activeByDefault> </activation> <id>pgp</id> <build> <plugins> <plugin> <groupId>com.github.s4u.plugins</groupId> <artifactId>pgpverify-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <pgpKeyServer>hkp://pool.sks-keyservers.net</pgpKeyServer> <pgpKeysCachePath>${settings.localRepository}/pgpkeys-cache</pgpKeysCachePath> <scope>test</scope> <verifyPomFiles>true</verifyPomFiles> <failNoSignature>false</failNoSignature> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>
application.properties
Description: Binary data
