Versions Compared

Key

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

...

  • 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
titleMaven Dependencyxml
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>2.3.1.1</version>
</dependency>

You can also use Struts Archetype Catalog like below

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

...