Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  • 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
xmlxml
titleMaven Dependency
xml
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>2.3.14.1</version>
</dependency>

You can also use Struts Archetype Catalog like below

none
Code Block
none
titleStruts Archetype Catalog
none
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
xml
Code Block
xml
titleStaging Repository
xml
<repositories>
  <repository>
    <id>apache.nexus</id>
    <name>ASF Nexus Staging</name>
    <url>https://repository.apache.org/content/groups/staging/</url>
  </repository>
</repositories>

...