Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for wrong resource path in generated subsystem

  • Loading branch information...
commit 4a7b293fb6e2c0b37079a017d9524d7a7686c142 1 parent 9f01a20
Tomaz Cerar ctomc authored kabir committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 jboss-as-subsystem-archetype/create-archetype.sh
7 jboss-as-subsystem-archetype/create-archetype.sh
View
@@ -37,7 +37,7 @@ cp -f archetype-metadata.xml $ARCHETYPE_DIR/src/main/resources/META-INF/maven/ar
touch $ARCHETYPE_DIR/src/main/resources/META-INF/maven/archetype-metadata.xml
cp archetype-test.properties $ARCHETYPE_DIR/src/test/resources/projects/basic/archetype.properties
-mv $ARCHETYPE_RESOURCES_DIR/src/main/resources/com/mycompany/subsystem $ARCHETYPE_RESOURCES_DIR/src/main/resources/
+mv $ARCHETYPE_RESOURCES_DIR/src/main/resources/com/mycompany/subsystem/* $ARCHETYPE_RESOURCES_DIR/src/main/resources/
#rsync -az --exclude .svn eclipse-dot-files/ $ARCHETYPE_RESOURCES_DIR/
# fix the archetype plugin being an idiot
@@ -56,6 +56,7 @@ if [ ! -z $1 ] && [ "$1" = "generate" ]; then
echo Generating project from archetype...
cd target
mvn archetype:generate -B -DarchetypeCatalog=local \
- -DarchetypeArtifactId=jboss-javaee6-webapp -DarchetypeGroupId=org.jboss.spec.archetypes -DarchetypeVersion=7.1.1.Final \
- -DartifactId=example-project -DgroupId=com.acme -Dpackage=com.acme.example -Dversion=1.0.0-SNAPSHOT -Dname="Java EE 6 subsystem project"
+ -DarchetypeArtifactId=jboss-as-subsystem -DarchetypeGroupId=org.jboss.as.archetypes -DarchetypeVersion=7.1.1.Final \
+ -DartifactId=example-project -DgroupId=com.acme -Dpackage=com.acme.example -Dversion=1.0.0-SNAPSHOT -Dname="Java EE 6 subsystem project" \
+ -Dmodule=org.test.subsystem
fi
Please sign in to comment.
Something went wrong with that request. Please try again.