smartweb archetype

View: New views
1 Messages — Rating Filter:   Alert me  

smartweb archetype

by Sébastien LE CALLONNEC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi All,


As a follow up to the email I sent earlier on to the user list, here is my modest contribution for an archetype.  I tested it locally by copying into an httpd server, and it seems to do the trick.

To install the archetype jar:
 mvn install && sudo cp /home/sebastien/.m2/repository/net/smartlab/web/smartweb-archetype-auth/1.0-SNAPSHOT/*.jar /var/www/repos/net/smartlab/web/smartweb-archetype-auth/1.0-SNAPSHOT/

Then, to use it:
mvn archetype:create -DarchetypeGroupId=net.smartlab.web -DarchetypeArtifactId=smartweb-archetype-auth -DremoteRepositories=http://localhost/repos -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mycompany.app -DartifactId=mystuff
mvn install
mvn jetty:run

Log on http://localhost:8080/mystuff/index.do

It assumes the db is already set up (mysql), but I'm sure the maven guru amongst you will be able to sort this out easily.


Hope this helps,
Sébastien.



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
smartweb-devel mailing list
smartweb-devel@...
https://lists.sourceforge.net/lists/listinfo/smartweb-devel

smartweb-archetype-auth.tar.bz2 (142K) Download Attachment