I am not found of maven and I don t use this tool but I ve seen that section in the pom..I suspected a bug of this maven plugin... I used maben 3.04 is it a compatible version or do you use a 2.2 version? Regards Jerome ---- Envoyé avec BlackBerry® d'Orange ----
-----Original Message----- From: Michael Gentry <[email protected]> Date: Wed, 21 Mar 2012 09:00:34 To: <[email protected]> Reply-To: [email protected] Subject: Re: Problem with code repository Isn't this supposed to fix the compiler version to 1.5? <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> mrg On Wed, Mar 21, 2012 at 2:21 AM, Andrus Adamchik <[email protected]> wrote: > I think the problem is that you are compiling with Java 7. Try it with Java 6. > > Andrus > > On Mar 20, 2012, at 10:53 PM, jerome moliere wrote: > >> Hi all, >> I fetched the source code from git repo... >> It does not compile ..build failed with an exception coming from >> cayenne-jdk1.5-unpublished module... >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java:[333,10] >> error: DataNode.TransactionDataSource is not abstract and does not >> override abstract method getParentLogger() in CommonDataSource >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java:[41,7] >> error: PoolManager is not abstract and does not override abstract >> method getParentLogger() in CommonDataSource >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java:[48,0] >> error: TransactionConnectionDecorator is not abstract and does not >> override abstract method getNetworkTimeout() in Connection >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java:[38,7] >> error: DriverDataSource is not abstract and does not override abstract >> method getParentLogger() in CommonDataSource >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolDataSource.java:[39,7] >> error: PoolDataSource is not abstract and does not override abstract >> method getParentLogger() in CommonDataSource >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/ConnectionWrapper.java:[47,7] >> error: ConnectionWrapper is not abstract and does not override >> abstract method getNetworkTimeout() in Connection >> [ERROR] >> /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleSQLTemplateAction.java:[107,10] >> error: OracleSQLTemplateAction.OracleResultSetWrapper is not abstract >> and does not override abstract method <T>getObject(String,Class<T>) in >> ResultSet >> >> >> >> It seems that the documentation dealing with maintaining git local >> copy up to date with remote server contains different problems can >> someone fix that ? >> >> >> I was not able since saturday to get a valuable code copy and to >> advance on the osgi way to build cayenne...-( >> >> thanks for your help >> jerome >> J.MOLIERE - Mentor/J >> auteur Eyrolles >> blog: http://romjethoughts.blogspot.com >> OSGi book available now!!! >> >
