Steven Boscarine wrote on Oct 10, 2009 15:04:
I am interested in testing out Weld for our next project. I am a longtime maven user and was wondering if there's a simpler procedure to getting started than using Ant to call Maven.
Then, you can install the update. The update script will use Maven to download the Web Beans and EJB3 automatically.
Would you be interested in simplifying the startup procedure so they can simply be run from maven?
Sure, if you want to convert this script to Maven, it would be good. Even just converting this to use antrun would be a start ;-)
svn co http://anonsvn.jboss.org/repos/weld/examples/trunk weld-examples cd weld-examples mvn clean install
Reason: Cannot find parent: org.jboss.weld:weld-version-matrix for project: org.jboss.weld.examples:weld-examples-parent:pom:1.0.0-SNAPSHOT for project org.jboss.weld.examples:weld-examples-parent:pom:1.0.0-SNAPSHOT
I didn't see weld-examples-parent in the repo. If you were willing to publish it to your repo (mvn deploy), I think that could fix this error and make getting started much easier for new users.
I think that having Weld be easy to get started with will help drive adoption significantly.
This is a temporary failure due to name changes and changing the repo in use (see http://oss.sonatype.org/content/groups/jboss/org/jboss/weld/ for the new artifacts)- I don't believe the examples have been updated to the new name and new repo yet. This will be fixed early next week, in time for our next release.
Again, we are still using ant scripts to provide jboss deployment, due to missing features in the JBoss Maven plugin. If you want to help here, adding exploded deployment features to this plugin would be great! At this point, the maven plugin would be enough to support the deployment requirements for the examples. And of course, converting the examples to use antrun would also be a good thing to do.
For both of the above enhancements, create a JIRA issue and attach a patch :-)
I tried your lastest release and the maven functionality is working great.