Thanks a lot, it solved current issue, but while building carbon/core
another build error appeared:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.wso2.carbon:org.wso2.carbon.authenticator.stub:jar:3.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.authenticator.stub -Dversion=3.2.0-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.authenticator.stub -Dversion=3.2.0-SNAPSHOT -D
packaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:bundle:3.2.0-SNAPSHOT
2)
org.wso2.carbon:org.wso2.carbon.authenticator.stub:jar:3.2.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.wso2.carbon:org.wso2.carbon.authenticator.proxy:bundle:3.2.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
On Tue, May 3, 2011 at 7:45 AM, Amila Maha Arachchi <[email protected]> wrote:
> Hi,
>
> You can get the build done as follows.
>
> Build dependencies/commons-vfs with tests.
> Then build others without tests.
>
> Regards,
> Amila.
>
>
> On Tue, May 3, 2011 at 10:07 AM, stoil valchkov <[email protected]>wrote:
>
>> I've tried it, but got test failures:
>>
>> testEncryptionDecryptionRSA15(wssec.TestWSSecurityNew2) Time elapsed:
>> 0.283 sec <<< ERROR!
>> org.apache.ws.security.WSSecurityException: Cannot encrypt data; nested
>> exception is:
>> org.apache.xml.security.encryption.XMLEncryptionException: Illegal
>> key size or default parameters
>> Original Exception was java.security.InvalidKeyException: Illegal key size
>> or default parameters
>> at
>> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:608)
>> at
>> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:461)
>> at
>> org.apache.ws.security.message.WSSecEncrypt.encryptForInternalRef(WSSecEncrypt.java:350)
>> at
>> org.apache.ws.security.message.WSSecEncrypt.build(WSSecEncrypt.java:311)
>> at
>> wssec.TestWSSecurityNew2.testEncryptionDecryptionRSA15(TestWSSecurityNew2.java:177)
>> Caused by: org.apache.xml.security.encryption.XMLEncryptionException:
>> Illegal key size or default parameters
>> Original Exception was java.security.InvalidKeyException: Illegal key size
>> or default parameters
>> at
>> org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source)
>> at
>> org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source)
>> at
>> org.apache.xml.security.encryption.XMLCipher.encryptElement(Unknown Source)
>> at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown
>> Source)
>> at
>> org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:602)
>> ... 32 more
>>
>> testSAMLUnsignedSenderVouches(wssec.TestWSSecurityNewST1) Time elapsed:
>> 0.01 sec <<< ERROR!
>> java.lang.NullPointerException
>> at
>> org.apache.ws.security.saml.SAMLIssuerImpl.newAssertion(SAMLIssuerImpl.java:145)
>> at
>> wssec.TestWSSecurityNewST1.testSAMLUnsignedSenderVouches(TestWSSecurityNewST1.java:121)
>>
>> testSAMLSignedSenderVouches(wssec.TestWSSecurityNewST2) Time elapsed:
>> 0.005 sec <<< ERROR!
>> java.lang.NullPointerException
>> at
>> org.apache.ws.security.saml.SAMLIssuerImpl.newAssertion(SAMLIssuerImpl.java:145)
>> at
>> wssec.TestWSSecurityNewST2.testSAMLSignedSenderVouches(TestWSSecurityNewST2.java:133)
>>
>>
>> On Mon, May 2, 2011 at 8:30 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> Do an online build with tests.
>>>
>>> On Mon, May 2, 2011 at 10:56 PM, stoil valchkov <[email protected]>wrote:
>>>
>>>> I've tried to build carbon trunk but faced some issues -
>>>> qpid failed to build due to missing
>>>> carbon\dependencies\qpid\java\management\build.xml ,
>>>>
>>>> missing dependency:
>>>> org.apache.commons:commons-vfs2:test-jar:tests:2.0-wso2v3
>>>> probably more.
>>>>
>>>> I followed http://engwar.com/post/378 , probably some more intermediate
>>>> steps are needed?
>>>>
>>>> Thanks,
>>>> Stoil
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation;
>>> **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev