I deleted my ~/.m2/repository
and did a mvn clean install -P bootstrap
on commit #371aad08ac93efa2
(master) cloned from https://github.com/spring-projects/spring-security-oauth . It could not get pass javadoc "phase" and threw up with. I used JDK 1.7.0_65 in Linux and Windows. I could compile the project with my old ~/.m2/repository
before.
What am I missing here? Thanks
....
[ERROR] javadoc: warning - Class Autowired not found.
[ERROR] javadoc: warning - Class Autowired not found.
[ERROR]
[ERROR] Command line was:/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre/../bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '~/workspace/spring-security-oauth/spring-security-oauth/target/apidocs' dir.
[ERROR] -> [Help 1]
I fixed the problem by adding version tag to 2.9.1 to maven-javadoc-plugin in <project_root>/pom.xml
line 187 following @DaveSyer solution ie
<groupId>org.apache.maven.plugins</groupId> <!-- added for completeness -->
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version> <!-- fix version instead of getting the latest version, 2.10 -->
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.