+1. It might be able to complement Idea 1 on the GSoC 2009 list. [1] http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Google+Summer+of+Code+2009
Thanks, Raymond From: Simon Laws Sent: Friday, February 27, 2009 8:36 AM To: [email protected] ; [email protected] Subject: Re: Tuscany maven archetypes On Fri, Feb 27, 2009 at 3:40 PM, ant elder <[email protected]> wrote: On Fri, Feb 27, 2009 at 1:21 PM, ant elder <[email protected]> wrote: How about we create some Maven archetypes to help users getting started with projects using Tuscany? Maven archetypes can generate customized ready to build projects so you don't need to download or install or manually setup dependencies or anything (see [1] for more info). To show what thats like I've created a very simple one at archetypes/quickstart which creates a simple SCA webapp project. To try it you need to build the archetypes/quickstart module (if we'd released it to the public maven repository you wouldn't need to build it), and then from an empty folder run this command: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -U -DarchetypeGroupId=org.apache.tuscany.sca -DarchetypeArtifactId=tuscany-archetype-quickstart -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myproject That creates a new SCA project, building it with mvn should create a ready to use war file. The command is a bit of a mouthful as its currently using an old version of the archetype plugin. It looks like it has potential to me, we could create variations on that for the different Tuscany environments and extensions, or perhaps even customize the plugin so you can specify the extensions you want to include in the project on the command line. What do you think, worth exploring, interested in helping? ...ant [1] http://maven.apache.org/guides/introduction/introduction-to-archetypes.html Having read a bit more about these you can specify the repository with a property so you don't need to build it first you can just use the command: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create -U -DarchetypeGroupId=org.apache.tuscany.sca -DarchetypeArtifactId=tuscany-archetype-quickstart -DarchetypeVersion=2.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myproject -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ ...ant +1. I don't see a downside. Could be another GSoC project in terms of extending the possibilities. What others would be useful in the first instance jse launcher based project? osgi launcher based project? We'd need test/distribution support to test them. Simon
