Our package structure is little different. we have src/com/<>/<>/<>/ . . . .
and ours is multi-module adf project. On Tue, Jan 3, 2012 at 7:05 PM, Benson Margulies <bimargul...@gmail.com>wrote: > Why <sourcepath>src</sourcepath>? Aren't your sources in src/main/java? > > On Tue, Jan 3, 2012 at 5:31 AM, yerra babji <ybabji.apa...@gmail.com> > wrote: > > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >