I've inherited a huge maven java project and can't get it to compile.
mvn compile Its telling me it can't find a class even though its right there in the local repo.
Failed to execute goal org.codehaus.enunciate:maven-enunciate-plugin:1.25:assemble (default) on project VCWH_Core_QueryService: Execution default of goal org.codehaus.enunciate:maven-enunciate-plugin:1.25:assemble failed: A required class was missing while executing org.codehaus.enunciate:maven-enunciate-plugin:1.25:assemble: com/sun/mirror/apt/AnnotationProcessorFactory Here is the pom.xml snippet that tells it where to look:
<dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.7</version> </dependency> And sure enough, tools-1.7.jar and tools-1.7.pom are located in the local repo at
\.m2\repository\com\sun\tools\1.7
And if I look inside the jar with jar tf tools-1.7.jar I can see class
com/sun/mirror/apt/AnnotationProcessorFactory.class
I also blew away the sun folder in my local repo and did a "Clean and Build" in NetBeans and watched the sun folder come back into my local repo, so I know the connectivity to the remote repo is good.
Why can't it find it?
