It seems MSF4J archetype is not listed in Maven central archetype-catalog file [1], this leads few major usability issues.
1. ) Most popular approach to use an archetype is, run archetype:generate goal with -Dfilter option to get interactive mode, this is not supported for MSF4J due to above issue. e.g : "mvn archetype:generate -Dfilter=org.wso2.msf4j" is not working. 2.) Also if someone run archetype:generate goal only, he should have provided a list of archetypes to pick a specific one interactively, due to same issue above list does not contains an entry for MSF4J. e.g : "mvn archetype:generate " is not working. 3.) ATM only way to use above archetype is, provide all 8 inputs as options for archetype:generate goal (non- interactive mode), that is not widely used and personally I never tend to use that option. e.g : mvn archetype:generate -DarchetypeGroupId=org.wso2.msf4j \ -DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0 \ -DgroupId=org.example -DartifactId=Hello-Service -Dversion=1.0.0-SNAPSHOT \ -Dpackage=org.example.service -DserviceClass=HelloService In the meantime I noticed archetypes we provided for Carbon kernel 5 is listed in archetype-catalog.xml[1] file and support for all 3 modes (e.g - mvn archetype:generate -Dfilter=org.wso2.carbon ) I guess we are missing something in MSF4J archetype, can someone look into this please ? [1] - http://repo1.maven.org/maven2/archetype-catalog.xml Thanks ! -- Sagara Gunathunga Architect; WSO2, Inc.; http://wso2.com V.P Apache Web Services; http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
