You want to make sure your pom matches this tree:
https://github.com/apereo/cas-overlay-template/tree/5.0

If you want to jump on Gitter, we can chat there in real time in the CAS room. 

-- 
Misagh

From: Jérôme LELEU <[email protected]>
Reply: Jérôme LELEU <[email protected]>
Date: August 1, 2016 at 3:03:31 AM
To: Misagh Moayyed <[email protected]>
Cc: CAS Developer <[email protected]>
Subject:  Re: [cas-dev] Re: Dependency issue for 5.0.0.M3  

Hi,

I guess so. Here is my configuration:

<properties>
   <cas.version>5.0.0.M3</cas.version>
   <java.version>1.8</java.version>
</properties>

<dependencies>
   <dependency>
      <groupId>org.apereo.cas</groupId>
      <artifactId>cas-server-webapp</artifactId>
      <version>${cas.version}</version>
      <type>war</type>
   </dependency>
   <dependency>
      <groupId>org.apereo.cas</groupId>
      <artifactId>cas-server-support-rest</artifactId>
      <version>${cas.version}</version>
   </dependency>
   <dependency>
      <groupId>org.apereo.cas</groupId>
      <artifactId>cas-server-support-oauth</artifactId>
      <version>${cas.version}</version>
   </dependency>
</dependencies>

<build>
   <plugins>
      <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>
                       <manifestEntries>
                           
<Start-Class>org.apereo.cas.web.CasWebApplication</Start-Class>
                           
<Main-Class>org.springframework.boot.loader.WarLauncher</Main-Class>
                       </manifestEntries>
            </archive>
            <overlays>
               <overlay>
                  <groupId>org.apereo.cas</groupId>
                  <artifactId>cas-server-webapp</artifactId>
               </overlay>
            </overlays>
         </configuration>
      </plugin>
      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
            <source>${java.version}</source>
            <target>${java.version}</target>
         </configuration>
      </plugin>
   </plugins>
   <finalName>cas</finalName>
</build>

Thanks.
Best regards,
Jérôme


2016-08-01 11:22 GMT+02:00 Misagh Moayyed <[email protected]>:
Are you running this via the overlay? 

-- 
Misagh

From: Jérôme LELEU <[email protected]>
Reply: Jérôme LELEU <[email protected]>
Date: August 1, 2016 at 2:16:11 AM
To: CAS Developer <[email protected]>
Subject:  [cas-dev] Re: Dependency issue for 5.0.0.M3

Hi,

The 5.0.0.RC1-SNAPSHOT seems to have a default MANIFEST and does not seem to 
support the use: org.springframework.boot.loader.WarLauncher (while M3 does).

Reverting to 5.0.0.M3, can we run it on HTTP or HTTPS is mandatory?

Thanks.
Best regards,
Jérôme


2016-08-01 10:40 GMT+02:00 Jérôme LELEU <[email protected]>:
Hi,

CAS 5.0.0.M3 relies on person-directory-impl version 1.8.2-SNAPSHOT. Though, it 
seems it has been released and thus the SNAPSHOT is not available anymore (only 
the release) and I get the error:

[ERROR] Failed to execute goal on project casserverpac4j: Could not resolve 
dependencies for project org.pac4j.demos:casserverpac4j:war:5.0.0-SNAPSHOT: 
Could not find artifact 
org.apereo.service.persondir:person-directory-impl:jar:1.8.2-SNAPSHOT in 
sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]

Moving to RC1-SNAPSHOT...

Thanks.
Best regards,
Jérôme


--
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
--
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

--
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.

Reply via email to