On Thu, May 26, 2011 at 11:42 PM, Fazlan Sabar <[email protected]> wrote:

> Thanks Asela, but I now continue to get the following error, again it's
> with regards to the versioning,


I think you need to follow the same process again ...  Please note that in
trunk, still has the 3.2.0 branched synapse version. therefore you need to
build the branched caching Module [1]

[1]
https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons/caching


>
> [INFO]   WSO2 Caching Module - Core
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building WSO2 Caching Module - Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target
> [INFO] [incremental-build:incremental-build {execution: default}]
> [INFO] Verifying module descriptor ...
> [INFO] Pom descriptor modification detected.
> [INFO] Deleting
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 0 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 16 source files to
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/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] [antrun:run {execution: mar}]
> [INFO] Executing tasks
>      [copy] Copying 1 file to
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target
> [INFO] Executed tasks
> [INFO] [build-helper:attach-artifact {execution: mar}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target/wso2caching-core-3.5.0-SNAPSHOT.jar
> to
> /home/fazlan/.m2/repository/org/wso2/caching/wso2caching-core/3.5.0-SNAPSHOT/wso2caching-core-3.5.0-SNAPSHOT.jar
> [INFO] Installing
> /home/fazlan/svn/carbon/dependencies/commons/caching/modules/core/target/wso2caching-3.5.0-SNAPSHOT.mar
> to
> /home/fazlan/.m2/repository/org/wso2/caching/wso2caching-core/3.5.0-SNAPSHOT/wso2caching-core-3.5.0-SNAPSHOT.mar
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/fazlan/.m2/repository/repository.xml
> [INFO] *Installing
> org/wso2/caching/wso2caching-core/3.5.0-SNAPSHOT/wso2caching-core-3.5.0-SNAPSHOT.jar
> *
> *
> *
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Synapse
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> Downloading:
> http://dist.wso2.org/maven2//java-cup/java-cup/0.0/java-cup-0.0.pom
> [INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
> wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/java-cup/java-cup/0.0/java-cup-0.0.pom
> [INFO] Unable to find resource 'java-cup:java-cup:pom:0.0' in repository
> central (http://repo1.maven.org/maven2)
> Downloading: http://dist.wso2.org/maven2//JLex/JLex/0.0/JLex-0.0.pom
> [INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository wso2-m2 (
> http://dist.wso2.org/maven2/)
> Downloading: http://repo1.maven.org/maven2/JLex/JLex/0.0/JLex-0.0.pom
> [INFO] Unable to find resource 'JLex:JLex:pom:0.0' in repository central (
> http://repo1.maven.org/maven2)
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon/8.9/saxon-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon:pom:8.9' in repository
> wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon/8.9/saxon-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon:pom:8.9' in repository
> central (http://repo1.maven.org/maven2)
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-dom:pom:8.9' in
> repository wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon-dom/8.9/saxon-dom-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-dom:pom:8.9' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://dist.wso2.org/maven2//net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-xqj:pom:8.9' in
> repository wso2-m2 (http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/net/sf/saxon/saxon-xqj/8.9/saxon-xqj-8.9.pom
> [INFO] Unable to find resource 'net.sf.saxon:saxon-xqj:pom:8.9' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://dist.wso2.org/maven2//org/wso2/caching/wso2caching-core/3.5.0/wso2caching-core-3.5.0.pom
> [INFO] Unable to find resource
> 'org.wso2.caching:wso2caching-core:pom:3.5.0' in repository wso2-m2 (
> http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/org/wso2/caching/wso2caching-core/3.5.0/wso2caching-core-3.5.0.pom
> [INFO] Unable to find resource
> 'org.wso2.caching:wso2caching-core:pom:3.5.0' in repository central (
> http://repo1.maven.org/maven2)
> Downloading:
> http://dist.wso2.org/maven2//org/wso2/caching/wso2caching-core/3.5.0/wso2caching-core-3.5.0.jar
> [INFO] Unable to find resource
> 'org.wso2.caching:wso2caching-core:jar:3.5.0' in repository wso2-m2 (
> http://dist.wso2.org/maven2/)
> Downloading:
> http://repo1.maven.org/maven2/org/wso2/caching/wso2caching-core/3.5.0/wso2caching-core-3.5.0.jar
> [INFO] Unable to find resource
> 'org.wso2.caching:wso2caching-core:jar:3.5.0' in repository central (
> http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.wso2.caching:wso2caching-core:jar:3.5.0
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.wso2.caching
> -DartifactId=wso2caching-core -Dversion=3.5.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.caching
> -DartifactId=wso2caching-core -Dversion=3.5.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>   1) org.apache.synapse:Apache-Synapse:pom:2.1.0-wso2v2
>   2) *org.wso2.caching:wso2caching-core:jar:3.5.0*
>
>
> On Thu, May 26, 2011 at 11:34 PM, Asela Pathberiya <[email protected]> wrote:
>
>> Hi Fazlan,
>>
>> In trunk, still has the 3.2.0 branched axis2 [1]. AFAIK, actually now it
>> should be merged with the axis2 trunk.  However , you can avoid this error
>> by building the 3.2.0 branched secure vault [2].
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/axis2
>>
>> [2]
>> https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/dependencies/commons/securevault
>>
>> Thanks,
>> Asela.
>>
>> On Thu, May 26, 2011 at 11:00 PM, Fazlan Sabar <[email protected]> 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
>>> [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
>>
>>
>
>
> --
> Thanks,
> Fazlan
>
>
> _______________________________________________
> 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

Reply via email to