Hi Laurent I just compiled the code on an external server after deleting the caching JAR (which appears on your log) and Maven was able to get it correctly from the wso2 repository.. do you know if your environment has direct internet access to http://dist.wso2.org/maven2
Also, can you confirm that you are using maven 2.0.6 or later and the JDK and OS as well just to ask all questions upfront :) asankha Laurent CHARTIER wrote: > Hi all, > I'm trying to make synapse jar with Maven. > So I downloaded sources, install them in a folder and run mvn compile. > The module Synapse-Core doesn't compile: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Synapse - Core > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > Compiling 94 source files to > D:\Interops-WKSPC\Interops\Apache-Synapse\modules\core\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > D:\Interops-WKSPC\Interops\Apache-Synapse\modules\core\src\main\java\org\apa > che\synapse\mediators\builtin\CacheMediator.java:[151,25] > setResponseEnvelope(byte[]) in org.wso2.caching.CachedObject cannot be > applied to (org.apache.axiom.soap.SOAPEnvelope) > > D:\Interops-WKSPC\Interops\Apache-Synapse\modules\core\src\main\java\org\apa > che\synapse\mediators\builtin\CacheMediator.java:[212,26] > setEnvelope(org.apache.axiom.soap.SOAPEnvelope) in > org.apache.synapse.MessageContext cannot be applied to (byte[]) > > D:\Interops-WKSPC\Interops\Apache-Synapse\modules\core\src\main\java\org\apa > che\synapse\mediators\builtin\CacheMediator.java:[283,17] > setRequestEnvelope(byte[]) in org.wso2.caching.CachedObject cannot be > applied to (org.apache.axiom.soap.SOAPEnvelope) > > D:\Interops-WKSPC\Interops\Apache-Synapse\modules\core\src\main\java\org\apa > che\synapse\mediators\builtin\CacheMediator.java:[284,17] > setRequestHash(java.lang.String) in org.wso2.caching.CachedObject cannot be > applied to (java.lang.Object) > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 8 seconds > [INFO] Finished at: Mon Jan 07 10:10:15 CET 2008 > [INFO] Final Memory: 10M/29M > [INFO] > ------------------------------------------------------------------------ > > Can someone help me? > > Thank you. > > > > Ce message est protégé par les règles relatives au secret des > correspondances. Il est donc établi à destination exclusive de son > destinataire. Celui-ci peut donc contenir des informations confidentielles. > La divulgation de ces informations est à ce titre rigoureusement interdite. > Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur > dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que > toute pièce jointe. > > This message is protected by the secrecy of correspondence rules. Therefore, > this message is intended solely for the attention of the addressee. This > message may contain privileged or confidential information, as such the > disclosure of these informations is strictly forbidden. If, by mistake, you > have received this message, please return this message to the addressser > whose e-mail address is written above and destroy this message and all files > attached. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
