We'll use the web application archetype to create a
barebones web application. We'll then package, deploy in Tomcat and access this
application.
Create a web application using maven
mvn archetype:generate
choose a number:269
Choose version-choose number: 4
groudId: org.yash.javajadhav
artifactid: mywebapp
version: 1.0-SNAPSHOT
package: org.yash.javajadhav
cd mywebapp
mvn compile
mvn package
Till now we have seen three types of scopes they are
1.
Test
2.
Compile
3.
Provided
No comments:
Post a Comment