Commit 30f93907a494dfefdb23dfb3a70e52b39907ebc3

Authored by Dancovich
1 parent 5913b3da
Exists in master

-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
1 -frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JPATransaction  
2 -#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JTATransaction 1 +#Enables JPA transaction strategy, automatically detected in most cases, use only if you need to overwrite the default behaviour
  2 +#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JPATransaction
  3 +
  4 +#Enables JTA transaction strategy, automatically detected if demoiselle-jta component is detected, use only if you need to overwrite the default behaviour
  5 +#frameworkdemoiselle.transaction.class=br.gov.frameworkdemoiselle.transaction.JTATransaction
3 \ No newline at end of file 6 \ No newline at end of file
documentation/quickstart/pom.xml
@@ -62,6 +62,42 @@ @@ -62,6 +62,42 @@
62 </configuration> 62 </configuration>
63 </plugin> 63 </plugin>
64 </plugins> 64 </plugins>
  65 + <pluginManagement>
  66 + <plugins>
  67 + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  68 + <plugin>
  69 + <groupId>org.eclipse.m2e</groupId>
  70 + <artifactId>lifecycle-mapping</artifactId>
  71 + <version>1.0.0</version>
  72 + <configuration>
  73 + <lifecycleMappingMetadata>
  74 + <pluginExecutions>
  75 + <pluginExecution>
  76 + <pluginExecutionFilter>
  77 + <groupId>
  78 + org.jboss.maven.plugins
  79 + </groupId>
  80 + <artifactId>
  81 + maven-jdocbook-plugin
  82 + </artifactId>
  83 + <versionRange>
  84 + [2.3.5,)
  85 + </versionRange>
  86 + <goals>
  87 + <goal>generate</goal>
  88 + <goal>resources</goal>
  89 + </goals>
  90 + </pluginExecutionFilter>
  91 + <action>
  92 + <ignore></ignore>
  93 + </action>
  94 + </pluginExecution>
  95 + </pluginExecutions>
  96 + </lifecycleMappingMetadata>
  97 + </configuration>
  98 + </plugin>
  99 + </plugins>
  100 + </pluginManagement>
65 </build> 101 </build>
66 102
67 <repositories> 103 <repositories>
documentation/reference/pom.xml
@@ -62,6 +62,42 @@ @@ -62,6 +62,42 @@
62 </configuration> 62 </configuration>
63 </plugin> 63 </plugin>
64 </plugins> 64 </plugins>
  65 + <pluginManagement>
  66 + <plugins>
  67 + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  68 + <plugin>
  69 + <groupId>org.eclipse.m2e</groupId>
  70 + <artifactId>lifecycle-mapping</artifactId>
  71 + <version>1.0.0</version>
  72 + <configuration>
  73 + <lifecycleMappingMetadata>
  74 + <pluginExecutions>
  75 + <pluginExecution>
  76 + <pluginExecutionFilter>
  77 + <groupId>
  78 + org.jboss.maven.plugins
  79 + </groupId>
  80 + <artifactId>
  81 + maven-jdocbook-plugin
  82 + </artifactId>
  83 + <versionRange>
  84 + [2.3.5,)
  85 + </versionRange>
  86 + <goals>
  87 + <goal>generate</goal>
  88 + <goal>resources</goal>
  89 + </goals>
  90 + </pluginExecutionFilter>
  91 + <action>
  92 + <ignore></ignore>
  93 + </action>
  94 + </pluginExecution>
  95 + </pluginExecutions>
  96 + </lifecycleMappingMetadata>
  97 + </configuration>
  98 + </plugin>
  99 + </plugins>
  100 + </pluginManagement>
65 </build> 101 </build>
66 102
67 <repositories> 103 <repositories>