Project

General

Profile

« Previous | Next » 

Revision 47665

sorted out issue with the javadoc breaking the release process

View differences:

modules/dnet-parent/trunk/pom.xml
42 42
			</snapshots>
43 43
		</repository>
44 44
	</repositories>
45
        <profiles>
46
          <profile>
47
            <id>java8-doclint-disabled</id>
48
            <activation>
49
              <jdk>[1.8,)</jdk>
50
            </activation>
51
            <properties>
52
              <javadoc.opts>-Xdoclint:none</javadoc.opts>
53
            </properties>
54
          </profile>
55
        </profiles>
45 56
	<build>
46 57
		<directory>target</directory>
47 58
		<outputDirectory>target/classes</outputDirectory>
......
91 102
					</excludes>
92 103
				</configuration>
93 104
			</plugin>
105
                        <plugin>
106
                                <groupId>org.apache.maven.plugins</groupId>
107
                                <artifactId>maven-javadoc-plugin</artifactId>
108
                                <version>${maven-javadoc-plugin.version}</version>
109
                                <configuration>
110
                                        <detectLinks>true</detectLinks>
111
                                </configuration>
112
                                <executions>
113
                                  <execution>
114
                                    <id>attach-javadocs</id>
115
                                    <goals>
116
                                      <goal>jar</goal>
117
                                    </goals>
118
                                    <configuration>
119
                                      <additionalparam>${javadoc.opts}</additionalparam>
120
                                    </configuration>
121
                                  </execution>
122
                                </executions>
123
                        </plugin>
94 124
			<plugin>
95 125
				<groupId>org.apache.maven.plugins</groupId>
96
				<artifactId>maven-javadoc-plugin</artifactId>
97
				<version>2.9</version>
98
				<configuration>
99
					<detectLinks>true</detectLinks>
100
				</configuration>
101
			</plugin>
102
			<plugin>
103
				<groupId>org.apache.maven.plugins</groupId>
104 126
				<artifactId>maven-dependency-plugin</artifactId>
105 127
				<version>3.0.0</version>
106 128
			</plugin>
......
126 148
			<plugin>
127 149
				<groupId>org.apache.maven.plugins</groupId>
128 150
				<artifactId>maven-javadoc-plugin</artifactId>
129
				<version>2.9</version>
151
				<version>${maven-javadoc-plugin.version}</version>
130 152
				<configuration>
131 153
					<detectLinks>true</detectLinks>
132 154
				</configuration>
......
153 175
	<properties>
154 176
		<maven.compiler.source.version>1.8</maven.compiler.source.version>
155 177
		<maven.compiler.target.version>1.8</maven.compiler.target.version>
178
		<maven-javadoc-plugin.version>2.10.1</maven-javadoc-plugin.version>
156 179
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
157 180
		<dnet.container.context>app</dnet.container.context>
158 181
		<dnet.container.port>8280</dnet.container.port>

Also available in: Unified diff