Hi All,
This is to discuss how to update/change artifacts of the 4.0.0 Branch after
the C4 release.
The C4 Branch tag was created from revision - 136270. All artifacts
(kernel, platform) from this revision number are considered released and
deployed to nexus.
Any commit after -r136270 will not be included in the released artifacts
and those commits should go to relevant 4.0.1 artifacts as a patch release
version.
So for all artifacts that need to be changed/updated, we need to create a
4.0.1 version of it, include it in the relevant patch release pom.
We also need to check what are the artifacts depending on the above 4.0.1
artifact and create 4.0.1s for those dependant artifacts.
eg: If we need to update
components/webapp-mgt/org.wso2.carbon.webapp.mgt/4.0.0 module
1. Create components/webapp-mgt/org.wso2.carbon.webapp.mgt/4.0.1
2. Copy the src and pom.xml of the org.wso2.carbon.webapp.mgt module to
/4.0.1 and set the artifact version as 4.0.1
Note: if you have used ${project.version} for some of the dependencies in
the pom it will now be 4.0.1, so if you need to use 4.0.0 dependencies
below propety in the parent/pom.xml will be useful.
<carbon.platform.version>4.0.0</carbon.platform.version>
3. Add the org.wso2.carbon.webapp.mgt:4.0.1 to
/patch-releases/4.0.1/components/pom.xml as below;
<module>../../../components/webapp-mgt/org.wso2.carbon.webapp.mgt/4.0.1</module>
4. You then have to check the other components/features that depend on your
new 4.0.1 artifact and create 4.0.1 artifacts for them too.
Since org.wso2.carbon.webapp.mgt.server.feature depends on
org.wso2.carbon.webapp.mgt you need to create a 4.0.1 of thst feature and
add it in the /patch-releases/4.0.1/features/pom.xml as below;
<module>../../../features/webapp-mgt/org.wso2.carbon.webapp.mgt.server.feature/4.0.1</module>
@Pradeep, please add anything if I have missed.
Thanks,
Dileepa
--
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware
Mobile : +94777-857616
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev