On Thu, May 26, 2011 at 11:17 PM, Amila Suriarachchi <am...@wso2.com> wrote:

> you need to build the secure vault. it is a commons project.
>
Yep, but versions are different. I guess in axis2 kernel it should be *
org.wso2.securevault-1.0.0-SNAPSHOT.jar
*
Thank you.

>
> thanks,
> Amila.
>
> On Thu, May 26, 2011 at 11:00 PM, Fazlan Sabar <faz...@wso2.com> wrote:
>
>> Hi,
>>
>> I am getting the following error when trying to build trunk,
>>
>> [INFO] Writing OBR metadata
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building WSO2 Secure Vault
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] [incremental-build:incremental-build {execution: default}]
>> [INFO] Verifying module descriptor ...
>> [INFO] Pom descriptor modification detected.
>> [INFO] Deleting
>> /home/fazlan/svn/carbon/dependencies/commons/securevault/target
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/fazlan/svn/carbon/dependencies/commons/securevault/src/main/resources
>> [INFO] [compiler:compile {execution: default-compile}]
>> Compiling 57 source files to
>> /home/fazlan/svn/carbon/dependencies/commons/securevault/target/classes
>> [INFO] [resources:testResources {execution: default-testResources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/fazlan/svn/carbon/dependencies/commons/securevault/src/test/resources
>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>> [INFO] Not compiling test sources
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] Tests are skipped.
>> [INFO] [bundle:bundle {execution: default-bundle}]
>> [INFO] [install:install {execution: default-install}]
>>  [INFO] Installing
>> /home/fazlan/svn/carbon/dependencies/commons/securevault/target/org.wso2.securevault-1.0.0-SNAPSHOT.jar
>> to
>> /home/fazlan/.m2/repository/org/wso2/securevault/org.wso2.securevault/1.0.0-SNAPSHOT/org.wso2.securevault-1.0.0-SNAPSHOT.jar
>> [INFO] [bundle:install {execution: default-install}]
>> [INFO] Parsing file:/home/fazlan/.m2/repository/repository.xml
>> [INFO] *Installing
>> org/wso2/securevault/org.wso2.securevault/1.0.0-SNAPSHOT/org.wso2.securevault-1.0.0-SNAPSHOT.jar
>> *
>> [INFO] Writing OBR metadata
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Axis2 - Kernel
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> Downloading:
>> http://repo1.maven.org/maven2/org/wso2/securevault/org.wso2.securevault/1.0.0/org.wso2.securevault-1.0.0.pom
>> [INFO] Unable to find resource
>> 'org.wso2.securevault:org.wso2.securevault:pom:1.0.0' in repository central
>> (http://repo1.maven.org/maven2)
>> Downloading:
>> http://repo1.maven.org/maven2/org/wso2/securevault/org.wso2.securevault/1.0.0/org.wso2.securevault-1.0.0.jar
>> [INFO] Unable to find resource
>> 'org.wso2.securevault:org.wso2.securevault:jar:1.0.0' in repository central
>> (http://repo1.maven.org/maven2)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>>  1) org.wso2.securevault:org.wso2.securevault:jar:1.0.0
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=org.wso2.securevault
>> -DartifactId=org.wso2.securevault -Dversion=1.0.0 -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.securevault
>> -DartifactId=org.wso2.securevault -Dversion=1.0.0 -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>   Path to dependency:
>>    1) org.apache.axis2:axis2-kernel:jar:1.6.1-wso2v1
>>    2) *org.wso2.securevault:org.wso2.securevault:jar:1.0.0*
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>   org.apache.axis2:axis2-kernel:jar:1.6.1-wso2v1
>>
>> from the specified remote repositories:
>>   apache.snapshots (http://repository.apache.org/snapshots),
>>   central (http://repo1.maven.org/maven2)
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 15 minutes 7 seconds
>> [INFO] Finished at: Thu May 26 22:33:59 IST 2011
>> [INFO] Final Memory: 259M/938M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> --
>> Thanks,
>> Fazlan
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to