I had to recover from a HD crash and now I'm finding that my projects don't compile anymore. I'll post the issues on two separate threads since they seem to be pretty different.
Could not get the value for parameter schemaDirectory for plugin execution generate-compile (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.5:generate:generate-compile:generate-sources)
Any ideas here? the schemaDirectory tag is right there. Maven accepts this perfectly well if I run command line (v2.2.1). I only see this error in STS, and I see it whether I am using the embedded Maven or point to the external 2.2.1 Maven. This worked fine with STS 2.9 before the HD crash.
Here is the relevant portion of my POM:
Code:<plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <version>0.7.5</version> <executions> <execution> <id>generate-compile</id> <goals> <goal>generate</goal> </goals> </execution> </executions> <configuration> <schemaDirectory>${basedir}/src/main/expanded-schemas</schemaDirectory> <bindingDirectory>${basedir}/src/main/resources/xjb/</bindingDirectory> <generateDirectory>${basedir}/src/main/generated-sources</generateDirectory> <schemaIncludes> <include> <!-- (lots of these) --> </include> </schemaIncludes> <debug>true</debug> <extension>true</extension> </configuration> </plugin>



Reply With Quote