Hi All, As discussed in [1], there was a requirement to not to build the initial artifact and keep the already built artifact and directly upload it to Stators git. This is how it has achieved. If there will be new archetypes added to App Factory in future, they should contain these changes too.
There are 2 cases: [1] Buildable app types: This has done by modifying the existing maven archetypes as depicted below: 1. Add a folder called "built_artifact" under "archetype-resources" folder and copy all the deployable artifacts there. 2. Copy assembly.xml and bin.xml. You might need to modify value defined for "format" tag in bin.xml based on the app type. 3. Change the archetype-metadata.xml and archetype.xml by adding the new files and folders. Note:Refer the already modified arche types for more information [2] Rest of the required changes are done in code level. [2] Non buildable uploadable app types This doesn't require any changes with the arche types and all required changes are done in code level. [1] [Architecture] [AppFactory] Scalable Jenkins deployment for App Facroty [2]https://github.com/wso2/product-af/tree/master/modules/maven-archetype -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com <http://wso2> Blog: http://hi-my-world.blogspot.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 <http://lalajisureshika.blogspot.com/>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
