On Wed, Aug 8, 2012 at 10:38 PM, Suresh Attanayaka <sur...@wso2.com> wrote:

> Hi Isuru,
>
> Take a svn up at the openid4java dependency and build both the dependency
> and orbit.
>
>
Hi Suresh ,

You have committed to org.wso2.carbon.identity.provider/4.0.0 (r136764)
after the AM release.
That is wrong and should be revert. And i'm getting following error while
building  openid4java in a clean repo.
Please fix this  compilation error ASAP.



[INFO]
------------------------------------------------------------------------
[INFO] Building openid4java.wso2 ${orbit.version.openid4java}
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
openid4java-nodeps ---
[INFO] Deleting
/home/ajithn/wso2/build/branches/release/platform/4.0.0/dependencies/orbit/openid4java/0.9.6.wso2v2/target
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
openid4java-nodeps ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/ajithn/wso2/build/branches/release/platform/4.0.0/dependencies/orbit/openid4java/0.9.6.wso2v2/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
openid4java-nodeps ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ajithn/wso2/build/branches/release/platform/4.0.0/dependencies/orbit/openid4java/0.9.6.wso2v2/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
openid4java-nodeps ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ openid4java-nodeps ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ajithn/wso2/build/branches/release/platform/4.0.0/dependencies/orbit/openid4java/0.9.6.wso2v2/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @
openid4java-nodeps ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.1:test (default-test) @
openid4java-nodeps ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/home/ajithn/wso2/build/branches/release/platform/4.0.0/dependencies/orbit/openid4java/0.9.6.wso2v2/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-bundle-plugin:1.4.0:bundle (default-bundle) @
openid4java-nodeps ---
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: orbit.version.openid4java
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: htmlparser.version
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: There are split packages, use directive
-split-package:=(merge-first|merge-last) on instruction to get rid of this
warning: org.openxri, classpath: [Jar:openid4java-nodeps,
Jar:openxri-client, Jar:openxri-syntax, Jar:nekohtml] from:
/home/ajithn/.m2/repository/org/openxri/openxri-syntax/1.2.0/openxri-syntax-1.2.0.jar
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: Instructions for Export-Package that are never used:
org\.htmlparser\..*|org\.htmlparser
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: orbit.version.openid4java
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: htmlparser.version
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: Superfluous export-package instructions: [org.htmlparser.*]
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: orbit.version.openid4java
[WARNING] Warning building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: No translation found for macro: orbit.version.openid4java
[ERROR] Error building bundle
org.openid4java.wso2:openid4java-nodeps:bundle:${orbit.version.openid4java}
: Invalid value for Bundle-Version, ${orbit.version.openid4java} does not
match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?
[ERROR] Error(s) found in bundle configuration
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE



Thanks,
> -Suresh
>
>
> On Wed, Aug 8, 2012 at 8:50 PM, Isuru Wimalasundera <isu...@wso2.com>wrote:
>
>> Hi
>>
>> I am getting the following compilation error while building the
>> platform/branch/4.0.0.
>>
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>> /home/isuruw/builderTrunk/carbon/platform/branches/4.0.0/components/identity/org.wso2.carbon.identity.provider/4.0.0/src/main/java/org/wso2/carbon/identity/provider/openid/cache/AssociationCache.java:[91,46]
>> cannot find symbol
>> symbol  : constructor
>> Association(java.lang.String,java.lang.String,javax.crypto.SecretKey,java.util.Date)
>> location: class org.openid4java.association.Association
>> [INFO] 1 error
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 5.919s
>> [INFO] Finished at: Wed Aug 08 20:45:51 IST 2012
>> [INFO] Final Memory: 29M/981M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> (default-compile) on project org.wso2.carbon.identity.provider: Compilation
>> failure
>> [ERROR]
>> /home/isuruw/builderTrunk/carbon/platform/branches/4.0.0/components/identity/org.wso2.carbon.identity.provider/4.0.0/src/main/java/org/wso2/carbon/identity/provider/openid/cache/AssociationCache.java:[91,46]
>> cannot find symbol
>> [ERROR] symbol  : constructor
>> Association(java.lang.String,java.lang.String,javax.crypto.SecretKey,java.util.Date)
>> [ERROR] location: class org.openid4java.association.Association
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> Thanks
>> Isuruw
>>
>> --
>> *Isuru Wimalasundera*
>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>  mobile: +94 77 920 5641
>>
>>
>
>
> --
> Suresh Attanayake
> Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060,+94770419136,+94710467976
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94714631794
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to