From 30f93907a494dfefdb23dfb3a70e52b39907ebc3 Mon Sep 17 00:00:00 2001 From: Dancovich Date: Thu, 20 Sep 2012 15:45:17 -0300 Subject: [PATCH] -Removida do arquétipo jsf-jpa a instrução para usar JPATransaction no demoiselle.properties, isto deve ser autodetectado pelo demoiselle agora. -Incluído no pom dos projetos de documentação quickstart e reference uma instrução para serem ignorados pelo m2e (que não suporta os goals). Não afeta o build normal do Maven. --- archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/resources/demoiselle.properties | 7 +++++-- documentation/quickstart/pom.xml | 36 ++++++++++++++++++++++++++++++++++++ documentation/reference/pom.xml | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 2 deletions(-) diff --git a/archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/resources/demoiselle.properties b/archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/resources/demoiselle.properties index 25e7de3..afa8f05 100755 --- a/archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/resources/demoiselle.properties +++ b/archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/resources/demoiselle.properties @@ -1,2 +1,5 @@ -frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JPATransaction -#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JTATransaction +#Enables JPA transaction strategy, automatically detected in most cases, use only if you need to overwrite the default behaviour +#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JPATransaction + +#Enables JTA transaction strategy, automatically detected if demoiselle-jta component is detected, use only if you need to overwrite the default behaviour +#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JTATransaction \ No newline at end of file diff --git a/documentation/quickstart/pom.xml b/documentation/quickstart/pom.xml index 8d0e393..47d77d2 100755 --- a/documentation/quickstart/pom.xml +++ b/documentation/quickstart/pom.xml @@ -62,6 +62,42 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.jboss.maven.plugins + + + maven-jdocbook-plugin + + + [2.3.5,) + + + generate + resources + + + + + + + + + + + + diff --git a/documentation/reference/pom.xml b/documentation/reference/pom.xml index d044404..29e1f56 100755 --- a/documentation/reference/pom.xml +++ b/documentation/reference/pom.xml @@ -62,6 +62,42 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.jboss.maven.plugins + + + maven-jdocbook-plugin + + + [2.3.5,) + + + generate + resources + + + + + + + + + + + + -- libgit2 0.21.2