Commit c94c9706050b5f3cb9b3185ed33b63ac3e58cdb5
1 parent
f1f22cd1
Exists in
master
Criação do arquétipo local automaticamente com o install
Showing
4 changed files
with
51 additions
and
4 deletions
Show diff stats
archetype/html-rest/pom.xml
@@ -34,7 +34,8 @@ | @@ -34,7 +34,8 @@ | ||
34 | ou escreva para a Fundação do Software Livre (FSF) Inc., | 34 | ou escreva para a Fundação do Software Livre (FSF) Inc., |
35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | 35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
36 | --> | 36 | --> |
37 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 37 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
38 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
38 | 39 | ||
39 | <modelVersion>4.0.0</modelVersion> | 40 | <modelVersion>4.0.0</modelVersion> |
40 | 41 | ||
@@ -67,6 +68,15 @@ | @@ -67,6 +68,15 @@ | ||
67 | <url>http://www.serpro.gov.br</url> | 68 | <url>http://www.serpro.gov.br</url> |
68 | </organization> | 69 | </organization> |
69 | 70 | ||
71 | + <build> | ||
72 | + <plugins> | ||
73 | + <plugin> | ||
74 | + <groupId>org.apache.maven.plugins</groupId> | ||
75 | + <artifactId>maven-archetype-plugin</artifactId> | ||
76 | + </plugin> | ||
77 | + </plugins> | ||
78 | + </build> | ||
79 | + | ||
70 | <repositories> | 80 | <repositories> |
71 | <repository> | 81 | <repository> |
72 | <id>sonatype-nexus-snapshots</id> | 82 | <id>sonatype-nexus-snapshots</id> |
archetype/jsf-jpa/pom.xml
@@ -34,7 +34,8 @@ | @@ -34,7 +34,8 @@ | ||
34 | ou escreva para a Fundação do Software Livre (FSF) Inc., | 34 | ou escreva para a Fundação do Software Livre (FSF) Inc., |
35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | 35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
36 | --> | 36 | --> |
37 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 37 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
38 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
38 | 39 | ||
39 | <modelVersion>4.0.0</modelVersion> | 40 | <modelVersion>4.0.0</modelVersion> |
40 | 41 | ||
@@ -67,6 +68,15 @@ | @@ -67,6 +68,15 @@ | ||
67 | <url>http://www.serpro.gov.br</url> | 68 | <url>http://www.serpro.gov.br</url> |
68 | </organization> | 69 | </organization> |
69 | 70 | ||
71 | + <build> | ||
72 | + <plugins> | ||
73 | + <plugin> | ||
74 | + <groupId>org.apache.maven.plugins</groupId> | ||
75 | + <artifactId>maven-archetype-plugin</artifactId> | ||
76 | + </plugin> | ||
77 | + </plugins> | ||
78 | + </build> | ||
79 | + | ||
70 | <repositories> | 80 | <repositories> |
71 | <repository> | 81 | <repository> |
72 | <id>sonatype-nexus-snapshots</id> | 82 | <id>sonatype-nexus-snapshots</id> |
archetype/minimal/pom.xml
@@ -34,7 +34,8 @@ | @@ -34,7 +34,8 @@ | ||
34 | ou escreva para a Fundação do Software Livre (FSF) Inc., | 34 | ou escreva para a Fundação do Software Livre (FSF) Inc., |
35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | 35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
36 | --> | 36 | --> |
37 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 37 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
38 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
38 | 39 | ||
39 | <modelVersion>4.0.0</modelVersion> | 40 | <modelVersion>4.0.0</modelVersion> |
40 | 41 | ||
@@ -67,6 +68,15 @@ | @@ -67,6 +68,15 @@ | ||
67 | <url>http://www.serpro.gov.br</url> | 68 | <url>http://www.serpro.gov.br</url> |
68 | </organization> | 69 | </organization> |
69 | 70 | ||
71 | + <build> | ||
72 | + <plugins> | ||
73 | + <plugin> | ||
74 | + <groupId>org.apache.maven.plugins</groupId> | ||
75 | + <artifactId>maven-archetype-plugin</artifactId> | ||
76 | + </plugin> | ||
77 | + </plugins> | ||
78 | + </build> | ||
79 | + | ||
70 | <repositories> | 80 | <repositories> |
71 | <repository> | 81 | <repository> |
72 | <id>sonatype-nexus-snapshots</id> | 82 | <id>sonatype-nexus-snapshots</id> |
parent/archetype/pom.xml
@@ -34,7 +34,8 @@ | @@ -34,7 +34,8 @@ | ||
34 | ou escreva para a Fundação do Software Livre (FSF) Inc., | 34 | ou escreva para a Fundação do Software Livre (FSF) Inc., |
35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. | 35 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
36 | --> | 36 | --> |
37 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 37 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
38 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
38 | 39 | ||
39 | <modelVersion>4.0.0</modelVersion> | 40 | <modelVersion>4.0.0</modelVersion> |
40 | 41 | ||
@@ -83,6 +84,22 @@ | @@ -83,6 +84,22 @@ | ||
83 | </configuration> | 84 | </configuration> |
84 | </plugin> | 85 | </plugin> |
85 | </plugins> | 86 | </plugins> |
87 | + <pluginManagement> | ||
88 | + <plugins> | ||
89 | + <plugin> | ||
90 | + <groupId>org.apache.maven.plugins</groupId> | ||
91 | + <artifactId>maven-archetype-plugin</artifactId> | ||
92 | + <executions> | ||
93 | + <execution> | ||
94 | + <phase>install</phase> | ||
95 | + <goals> | ||
96 | + <goal>update-local-catalog</goal> | ||
97 | + </goals> | ||
98 | + </execution> | ||
99 | + </executions> | ||
100 | + </plugin> | ||
101 | + </plugins> | ||
102 | + </pluginManagement> | ||
86 | </build> | 103 | </build> |
87 | 104 | ||
88 | <repositories> | 105 | <repositories> |