Hi, I have added the following plugin in my pom.xml file's build configuration. When i execute the mvn package, Its getting failed during javadoc creation and complaining like "import **** package does not exist"
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> <executions> <execution> <phase>package</phase> <goals><goal>jar</goal></goals> <configuration> <sourcepath>src/</sourcepath> </configuration> </execution> </executions> </plugin> But after that if I run " mvn javadoc:jar " (without cleaning the target) Its running fine and creating javadoc. Could anyone please suggest me how to avoid this issue. Thanks in advance for your support. Regads, Babji