Hi Georg,

Do you remember how we actually publish a new archetype? It's been a LONG time and I am not sure how to go about doing it. I think this version is ready if you want to give it a try.

git clone https://github.com/apache/turbine-archetypes


I also have a short shell script I use to setup a new app for testing if it helps:

painter@merlin:~/apache/build_app$ cat build_app.sh

##########################
# Build a turbine app from the archetype
##########################

export ORG=org.apache.turbine.example
export APP_NAME=testapp
export DB_NAME=testapp
export DB_USER=db_username
export DB_PASS=db_password

## Create the database
mysql -u ${DB_USER} -p${DB_PASS} -e "drop database ${DB_NAME}"
mysql -u ${DB_USER} -p${DB_PASS} -e "create database ${DB_NAME}"

## Generate the app
mvn archetype:generate \
    -DarchetypeGroupId=org.apache.turbine \
-DarchetypeArtifactId=turbine-webapp-6.0 \
    -DarchetypeVersion=3.0.0 \
    -DgroupId=${ORG}.${APP_NAME} \
    -DartifactId=${APP_NAME} \
    -Dversion=1.0 \
    -Dturbine_app_name=${APP_NAME} \
    -Dturbine_database_adapter=mysql \
    -Dturbine_database_user=${DB_USER} \
    -Dturbine_database_password=${DB_PASS} \
    -Dturbine_database_name=${DB_NAME} \
    -Dturbine_database_timezone=US/Eastern \
-Dturbine_database_url=jdbc:mysql://localhost:3306/ \
-Dgoals=generate-sources,pre-integration-test


My sample app builds with no errors now, and I can import into Eclipse without any problems.  I also updated the jetty plugin and verified the sample app runs from CLI using the command "mvn jetty:run"


Thanks,

Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org

Reply via email to