OSDN Git Service

${VERSION}
authorhaya4 <hayashi.yuu@gmail.com>
Sat, 3 Oct 2020 15:05:33 +0000 (00:05 +0900)
committerhaya4 <hayashi.yuu@gmail.com>
Sat, 3 Oct 2020 15:05:33 +0000 (00:05 +0900)
pom.xml

diff --git a/pom.xml b/pom.xml
index 7574aef..b0775c0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <maven.compiler.target>${java.version}</maven.compiler.target>
     <gpg.skip>true</gpg.skip>
   </properties>
+  
+  <!-- Java8でのJavaDocを抑制する -->
+  <profiles>
+    <profile>
+      <id>disable-java8-doclint</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <additionalparam>-Xdoclint:none</additionalparam>
+      </properties>
+    </profile>
+  </profiles>
     
   <!-- DEPLOY先の指定  mvn deploy -->
   <distributionManagement>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
-        <version>2.5.3</version>
+        <version>${project.version}</version>
         <configuration>
           <releaseProfiles>install</releaseProfiles>
-          <tagNameFormat>v@{project.version}</tagNameFormat>
+          <tagNameFormat>v${project.version}</tagNameFormat>
         </configuration>
       </plugin>