...
- 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 Dependencyxml |
|---|
|
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.7</version>
</dependency> |
You can also use Struts Archetype Catalog like below
| Code Block |
|---|
| none |
|---|
| none |
|---|
| title | Struts Archetype Catalognone |
|---|
|
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.7/
|
| Code Block |
|---|
| xml |
|---|
| xml |
|---|
| title | Staging Repositoryxml |
|---|
|
<repositories>
<repository>
<id>apache.nexus</id>
<name>ASF Nexus Staging</name>
<url>https://repository.apache.org/content/groups/staging/</url>
</repository>
</repositories> |
...