The first path is the correct one. You should make sure that the required 
dependencies are scoped to "compile". possibly both the ldap module and the 
core module should have their scope flag in your pom to be compile. 




Misagh 


----- Original Message -----

From: "Andres" <afolg...@gmail.com> 
To: cas-dev@lists.jasig.org 
Sent: Friday, December 13, 2013 3:50:55 AM 
Subject: Re:[cas-dev] LPPE in CAS 4-RC2 with OpenLDAP 

Thank you for your answers and for submitting the bug, and sorry for my 
inexperience in maven projects. 

I've copied the .java file in these two paths: 

src/main/java/org/jasig/cas/adaptors/ldap/lppe 
src/org/jasig/cas/adaptors/ldap/lppe 

The first one triggers lots of errors in the Eclipse IDE because of unsatisfied 
dependencies (the class must be in the org.jasig.cas.adaptors.ldap.lppe package 
to access protected methods of other classes in the same package). The second 
one is OK for the IDE. 

But in both cases Maven won't process it. It says: Nothing to compile - all 
classes are up to date. No class files are copied to the target directory. I 
have added this configuration to the pom.xml but still won't work: 

<plugin> 
<groupId>org.apache.maven.plugins</groupId> 
<artifactId>maven-compiler-plugin</artifactId> 
<version>3.1</version> 
<configuration> 
<includes> 
<include>src/**/*.java</include> 
</includes> 
</configuration> 
</plugin> 


-- 
You are currently subscribed to cas-dev@lists.jasig.org as: mmoay...@unicon.net 
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev 


-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to