...
- If you are a Maven user, you might want to get started using the Maven Archetype.
- Another quick-start entry point is the blank application. Rename and deploy the WAR as a starting point for your own development.
Code Block |
---|
| xml | xml |
---|
title | Maven Dependency |
---|
| xml |
---|
|
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.8</version>
</dependency> |
You can also use Struts Archetype Catalog like below
Code Block |
none |
---|
| none |
---|
title | Struts Archetype Catalog |
---|
| none |
---|
|
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.8/
|
Code Block |
xml |
---|
| xml |
---|
title | Staging Repository |
---|
| xml |
---|
|
<repositories>
<repository>
<id>apache.nexus</id>
<name>ASF Nexus Staging</name>
<url>https://repository.apache.org/content/groups/staging/</url>
</repository>
</repositories> |
...