AppFuse and NetBeans: part 2
Some more tips about getting an AppFuse generated application into NetBeans.
- Pick archetype of choice, e.g.: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
- Run mvn
- Generate full sources: mvn appfuse:full-source
- Install the Maven plugin in NetBeans (Tools / Plugins / Search for Maven).
- Open the project (located the pom.xml file)
- Right-click the project name and select Properties
- In categories, select Run. Chose a server.
- In categories, select Actions. Check the box for Use external Maven for build execution.
- In main window, select Tools / Options / Miscellaneous / Maven 2.
- Now Run the project, and after a while a browser should open pointing you to the login screen.