Are there any Wildfly 8 / Java EE 7 quick-launch archetypes?

I remember that Jboss AS 7 and earlier had accessible maven archetypes that would install maven projects with the appropriate dependencies and specifications, but I cannot find them for Wildfly / Java EE 7.

I found the specifications and instructions on how to manually add them to the project, but I'm wondering if I miss the pre-configured archetypes that exist somewhere.

Also, if there really are no updated archetypes: why not?

+4
source share
4 answers

WildFly Java EE 7 archetypes are available at:

http://mvnrepository.com/artifact/org.wildfly.archetype

Is this what you are looking for?

+8

, webapp-javaee7, :

mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes   \
    -DarchetypeArtifactId=webapp-javaee7              \
    -DarchetypeVersion=0.1-SNAPSHOT                   \
    -DarchetypeRepository=https://nexus.codehaus.org/content/repositories/snapshots/ \
    -DgroupId=com.sample                              \
    -DartifactId=javaee7-sample                       \
    -Dversion=1.0-SNAPSHOT                            \
    -Dpackage=com.sample                              \
    -Darchetype.interactive=false                     \
    --batch-mode --update-snapshots archetype:generate

pom.xml, WildFly. Maven .

+6

Java EE 7 Maven Archetype - org.codehaus.mojo.archetypes:webapp-javaee7 (http://repo.maven.apache.org/maven2) maven .

mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes   \
    -DarchetypeArtifactId=webapp-javaee7              \
    -DarchetypeVersion=1.1                            \
    -DgroupId=com.sample                              \
    -DartifactId=javaee7-sample                       \
    -Dversion=1.0-SNAPSHOT                            \
    -Dpackage=com.sample                              \
    -Darchetype.interactive=false                     \
    --batch-mode --update-snapshots archetype:generate
+2

maven Java EE 7 - maven-archetype-javaee7-micro. Arquillian 2 4.1 wildfly 8.2 .

In addition, there is a sample application (JPA, JAX-RS) created using this archetype - the blog service microphone

0
source

Source: https://habr.com/ru/post/1547198/


All Articles