On Tue, May 31, 2011 at 7:13 PM, Samisa Abeysinghe <[email protected]> wrote:

>
>
> On Tue, May 31, 2011 at 5:01 PM, Asela Pathberiya <[email protected]> wrote:
>
>> The reason for build failure was discuss under mail thread  "Building
>> Apache Axis2 - Kernel - is failing on trunk" [1]. The issue is that in
>> trunk, still has the 3.2.0 branched axis2.
>>
>
> Is the Carbon 3.2.0 branch build OK?
>

Yes


>
> If so, use the branch like setting on trunk. Note that the trunk is not
> supposed to break.
>

In trunk, axis2 , synapse , wss4j... etc  are pointed to 3.2.0 branch.
these projects have dependencies to WS-commons projects (caching, secure
vault) which are in 3.2.0 branch. But in trunk we have SNAPSHOT versions
WS-commons projects. Therefore when we are building axis2 in trunk , it
searches for secure vault version which is in 3.2.0 branch.  We can just
avoid the build break by changing versions (or pointing to 3.2.0 branch) of
WS-commons projects. If we do that , we need to change these versions across
hole carbon trunk.  AFAIK,  axis2 , synapse ... must be merge with the
external trunk.



>
>>
>> [1] http://markmail.org/message/ezjycorq52ums3u5
>>
>> Thanks,
>> Asela.
>>
>>
>> On Tue, May 31, 2011 at 11:49 AM, WSO2 Carbon Builder (US1) <
>> [email protected]> wrote:
>>
>>> Repository Root: https://svn.wso2.org/repos/wso2
>>> Repository UUID: a5903396-d722-0410-b921-86c7d4935375
>>> Revision: 106605
>>> Node Kind: directory
>>> Schedule: normal
>>> Last Changed Author: senaka
>>> Last Changed Rev: 106605
>>> Last Changed Date: 2011-05-31 06:43:57 -0400 (Tue, 31 May 2011) [INFO]
>>> Deleting /home/carbontrunk/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/carbontrunk/carbon/dependencies/commons/securevault/src/main/resources
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> Compiling 57 source files to
>>> /home/carbontrunk/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/carbontrunk/carbon/dependencies/commons/securevault/src/test/resources
>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>> [INFO] No sources to compile
>>> [INFO] [surefire:test {execution: default-test}]
>>> [INFO] No tests to run.
>>> [INFO] [bundle:bundle {execution: default-bundle}]
>>> [INFO] [install:install {execution: default-install}]
>>> [INFO] Installing
>>> /home/carbontrunk/carbon/dependencies/commons/securevault/target/org.wso2.securevault-1.0.0-SNAPSHOT.jar
>>> to
>>> /home/carbontrunk/.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/carbontrunk/.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: 11 minutes 48 seconds
>>> [INFO] Finished at: Tue May 31 02:19:30 EDT 2011
>>> [INFO] Final Memory: 623M/1064M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> 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,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> _______________________________________________
> 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