|
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 | <groupId>org.javaee7.sample</groupId> |
5 | 5 | <artifactId>javaee7-simple-sample</artifactId> |
6 | | - <version>1.5-SNAPSHOT</version> |
| 6 | + <version>1.8-SNAPSHOT</version> |
7 | 7 | <packaging>war</packaging> |
8 | 8 | <name>javaee7-simple-sample</name> |
9 | 9 | <properties> |
|
21 | 21 | <connection>scm:git:https://github.com/javaee-samples/javaee7-simple-sample.git</connection> |
22 | 22 | <url>https://github.com/javaee-samples/javaee7-simple-sample.git</url> |
23 | 23 | <developerConnection>scm:git:https://github.com/javaee-samples/javaee7-simple-sample.git</developerConnection> |
24 | | - <tag>HEAD</tag> |
| 24 | + <tag>v1.5</tag> |
25 | 25 | </scm> |
26 | 26 | <developers> |
27 | 27 | <developer> |
|
42 | 42 | </snapshotRepository> |
43 | 43 | </distributionManagement> |
44 | 44 | <build> |
| 45 | + <pluginManagement> |
| 46 | + <plugins> |
| 47 | + <plugin> |
| 48 | + <artifactId>maven-compiler-plugin</artifactId> |
| 49 | + <version>3.1</version> |
| 50 | + <configuration> |
| 51 | + <source>1.7</source> |
| 52 | + <target>1.7</target> |
| 53 | + </configuration> |
| 54 | + </plugin> |
| 55 | + <plugin> |
| 56 | + <artifactId>maven-war-plugin</artifactId> |
| 57 | + <version>2.3</version> |
| 58 | + <configuration> |
| 59 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 60 | + </configuration> |
| 61 | + </plugin> |
| 62 | + <plugin> |
| 63 | + <artifactId>maven-release-plugin</artifactId> |
| 64 | + <version>2.5.1</version> |
| 65 | + <configuration> |
| 66 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 67 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 68 | + <!-- do not release profile from Maven super pom --> |
| 69 | + <useReleaseProfile>false</useReleaseProfile> |
| 70 | + <!-- instead use our own one called release, see below --> |
| 71 | + <releaseProfiles>release</releaseProfiles> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + <plugin> |
| 75 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 76 | + <version>2.10.1</version> |
| 77 | + <configuration> |
| 78 | + <show>private</show> |
| 79 | + <nohelp>true</nohelp> |
| 80 | + </configuration> |
| 81 | + </plugin> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-source-plugin</artifactId> |
| 85 | + <version>2.4</version> |
| 86 | + </plugin> |
| 87 | + </plugins> |
| 88 | + </pluginManagement> |
45 | 89 | <plugins> |
46 | | - <plugin> |
47 | | - <artifactId>maven-compiler-plugin</artifactId> |
48 | | - <version>3.1</version> |
49 | | - <configuration> |
50 | | - <source>1.7</source> |
51 | | - <target>1.7</target> |
52 | | - </configuration> |
53 | | - </plugin> |
54 | | - <plugin> |
55 | | - <artifactId>maven-war-plugin</artifactId> |
56 | | - <version>2.3</version> |
57 | | - <configuration> |
58 | | - <failOnMissingWebXml>false</failOnMissingWebXml> |
59 | | - </configuration> |
60 | | - </plugin> |
61 | 90 | <plugin> |
62 | 91 | <groupId>org.wildfly.plugins</groupId> |
63 | 92 | <artifactId>wildfly-maven-plugin</artifactId> |
|
81 | 110 | <plugin> |
82 | 111 | <groupId>org.apache.maven.plugins</groupId> |
83 | 112 | <artifactId>maven-javadoc-plugin</artifactId> |
84 | | - <version>2.10.1</version> |
85 | | - <configuration> |
86 | | - <show>private</show> |
87 | | - <nohelp>true</nohelp> |
88 | | - </configuration> |
89 | 113 | <executions> |
90 | 114 | <execution> |
91 | 115 | <id>attach-javadocs</id> |
|
98 | 122 | <plugin> |
99 | 123 | <groupId>org.apache.maven.plugins</groupId> |
100 | 124 | <artifactId>maven-source-plugin</artifactId> |
101 | | - <version>2.4</version> |
102 | 125 | <executions> |
103 | 126 | <execution> |
104 | 127 | <id>attach-sources</id> |
|
108 | 131 | </execution> |
109 | 132 | </executions> |
110 | 133 | </plugin> |
111 | | - <plugin> |
112 | | - <groupId>org.apache.maven.plugins</groupId> |
113 | | - <artifactId>maven-release-plugin</artifactId> |
114 | | - <version>2.5.1</version> |
115 | | - <configuration> |
116 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
117 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
118 | | - <releaseProfiles>release</releaseProfiles> |
119 | | - </configuration> |
120 | | - </plugin> |
121 | 134 | </plugins> |
122 | 135 | </build> |
123 | 136 | </profile> |
|
0 commit comments