There will not be major changes in the Carbon, because most of the time we
are not directly dealing with Neethi API. We are using PolicyEngine class in
Neethi inside security management module and service-client implementations
which use WS-Security. This class has been deprecated in Neethi 3.x. They
have introduced a new class called PolicyBuilder to be used instead of the
PolicyEngine. We can migrate to this new implementation if required.

According to the discussion in Axis2 list, there are no other changes
required at Carbon level. Almost all of the fixes has to be done in Axis2,
Rampart and Sandesha.

Thanks,
Thilina

On Sat, Feb 19, 2011 at 9:25 PM, Afkham Azeez <[email protected]> wrote:

> What will the implications of this be for Carbon? Our policy editor & some
> other components use the Neethi APIs right?
>
>
> On Sat, Feb 19, 2011 at 8:35 PM, Thilina Buddhika <[email protected]>wrote:
>
>>
>>
>> On Sat, Feb 19, 2011 at 7:52 PM, WSO2 Builder <[email protected]> wrote:
>>
>>> [INFO] No goals needed for project - skipping
>>> [INFO] [source:jar {execution: default}]
>>> [INFO] Building jar:
>>> /home/carbon/stratos/carbon/dependencies/commons/xkms/target/xkms-SNAPSHOT-sources.jar
>>> [INFO] [build-helper:attach-artifact {execution: aar}]
>>> [INFO] [install:install]
>>> [INFO] Installing
>>> /home/carbon/stratos/carbon/dependencies/commons/xkms/target/xkms-SNAPSHOT.jar
>>> to /home/carbon/.m2/repository/org/wso2/xkms/xkms/SNAPSHOT/xkms-SNAPSHOT.jar
>>> [INFO] Installing
>>> /home/carbon/stratos/carbon/dependencies/commons/xkms/target/xkms-SNAPSHOT-sources.jar
>>> to
>>> /home/carbon/.m2/repository/org/wso2/xkms/xkms/SNAPSHOT/xkms-SNAPSHOT-sources.jar
>>> [INFO] Installing
>>> /home/carbon/stratos/carbon/dependencies/commons/xkms/target/xkms.aar to
>>> /home/carbon/.m2/repository/org/wso2/xkms/xkms/SNAPSHOT/xkms-SNAPSHOT.aar
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESSFUL
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 8 seconds
>>> [INFO] Finished at: Sat Feb 19 19:35:17 IST 2011
>>> [INFO] Final Memory: 40M/1237M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>> your local
>>> repository will be inaccessible.
>>>
>>> [INFO] Scanning for projects...
>>> [INFO] Reactor build order:
>>> [INFO]   Apache Rampart
>>> [INFO]   Rampart - Policy
>>> [INFO]   Rampart - Trust
>>> [INFO]   Rampart - Core
>>> [INFO]   Rampart - Test Suite
>>> [INFO]   Rampart - Mar
>>> [INFO]   Rampart - Trust-Mar
>>> [INFO]   Rampart - Integration
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Error building POM (may not be this project's POM).
>>>
>>>
>>> Project ID: org.apache.axis2:axis2-mar-maven-plugin
>>>
>>> Reason: POM 'org.apache.axis2:axis2-mar-maven-plugin' not found in
>>> repository: System is offline.
>>>
>>>  org.apache.axis2:axis2-mar-maven-plugin:pom:1.5.4
>>>
>>>
>>>  for project org.apache.axis2:axis2-mar-maven-plugin
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: < 1 second
>>> [INFO] Finished at: Sat Feb 19 19:35:18 IST 2011
>>> [INFO] Final Memory: 9M/981M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>> your local
>>> repository will be inaccessible.
>>>
>>> [INFO] Scanning for projects...
>>> [INFO] Reactor build order:
>>> [INFO]   Apache Sandesha
>>> [INFO]   Sandesha2 - Resource bundle
>>> [INFO]   Sandesha2 - Core
>>> [INFO]   Sandesha2 - Mar
>>> [INFO]   Sandesha2 - Client
>>> [INFO]   Sandesha2 - Policy
>>> [INFO]   Sandesha2 - Rampart Integration
>>> [INFO]   Sandesha2 - Samples
>>> [INFO]   Sandesha2 - Test Suite
>>> [INFO]   Sandesha2 - Interop
>>> [INFO]   Sandesha2 - Persistent Storage
>>> [INFO]   Sandesha2 - Distribution
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> --
>>> [INFO] skip non existing resourceDirectory
>>> /home/carbon/stratos/carbon/orbit/abdera-extensions/src/main/resources
>>> [INFO] [compiler:compile]
>>> [INFO] No sources to compile
>>> [INFO] [resources:testResources]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] skip non existing resourceDirectory
>>> /home/carbon/stratos/carbon/orbit/abdera-extensions/src/test/resources
>>> [INFO] [compiler:testCompile]
>>> [INFO] Not compiling test sources
>>> [INFO] [surefire:test]
>>> [INFO] Tests are skipped.
>>> [INFO] [bundle:bundle]
>>> [WARNING] Warning building bundle
>>> org.apache.abdera.wso2:abdera-extensions:bundle:0.4.0.wso2v1 : Did not find
>>> matching referal for javax.xml.stream.*
>>> [INFO] [install:install]
>>> [INFO] Installing
>>> /home/carbon/stratos/carbon/orbit/abdera-extensions/target/abdera-extensions-0.4.0.wso2v1.jar
>>> to
>>> /home/carbon/.m2/repository/org/apache/abdera/wso2/abdera-extensions/0.4.0.wso2v1/abdera-extensions-0.4.0.wso2v1.jar
>>> [INFO] [bundle:install]
>>> [INFO] Parsing file:/home/carbon/.m2/repository/repository.xml
>>> [INFO] Installing
>>> org/apache/abdera/wso2/abdera-extensions/0.4.0.wso2v1/abdera-extensions-0.4.0.wso2v1.jar
>>> [INFO] Writing OBR metadata
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building axis2.wso2
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory /home/carbon/stratos/carbon/orbit/axis2/target
>>> [INFO] [resources:resources]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] skip non existing resourceDirectory
>>> /home/carbon/stratos/carbon/orbit/axis2/src/main/resources
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 1 source file to
>>> /home/carbon/stratos/carbon/orbit/axis2/target/classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>> /home/carbon/stratos/carbon/orbit/axis2/src/main/java/org/wso2/carbon/axis2/internal/Activator.java:[47,43]
>>> non-static method
>>> registerBuilder(javax.xml.namespace.QName,org.apache.neethi.builders.AssertionBuilder)
>>> cannot be referenced from a static context
>>>
>>>
>> Axis2 trunk is reverted back to Neethi trunk today. This may get correctly
>> built next time. I guess this build is online.
>>
>> Thanks,
>> Thilina
>>
>> --
>> Thilina Buddhika
>> Senior Software Engineer
>> WSO2 Inc. ; http://wso2.com
>> lean . enterprise . middleware
>>
>> phone : +94 77 44 88 727
>> blog : http://blog.thilinamb.com
>>
>> _______________________________________________
>> 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*
>
>


-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to