Giter VIP home page Giter VIP logo

Comments (5)

StephanEwen avatar StephanEwen commented on August 20, 2024 1

You can temporarily circumvent this by doing mvn clean install -Dmaven.javadoc.skip=true

from flink-training-exercises.

a6822342 avatar a6822342 commented on August 20, 2024

I have this problem too.but i use this command:mvn -Dmaven.skip=ture verify.I dont know is this right,Can anybody help me?

from flink-training-exercises.

StephanEwen avatar StephanEwen commented on August 20, 2024

The project seems to not be set up for Java 7. Because Java broke the JavaDoc tool behavior between Java 7 and Java 8, this needs the following changes:

  1. Remove the <additionalparam>-Xdoclint:none</additionalparam> from the javadoc section.

  2. Add a Java 8 profile that activates that parameter only when Java 8 is used:

		<profile>
			<id>jdk8</id>
			<activation>
				<activeByDefault>false</activeByDefault>
				<jdk>1.8</jdk>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<configuration>
							<quiet>true</quiet>
						</configuration>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
								<configuration>
									<additionalparam>-Xdoclint:none</additionalparam>
									<detectOfflineLinks>false</detectOfflineLinks>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>

from flink-training-exercises.

a6822342 avatar a6822342 commented on August 20, 2024

mvn clean install -Dmaven.javadoc.skip=true this worked,but i have not test the other method.

from flink-training-exercises.

alpinegizmo avatar alpinegizmo commented on August 20, 2024

Couldn't reproduce this with either openjdk version 1.7.0_141 or oracle java 1.7.0_79-b15, so this only affects some java 7 environments.

As Flink 1.4 is coming soon and will drop support for java 7, it's not worth fixing this now.

from flink-training-exercises.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.