|
From: Jody G. <jod...@gm...> - 2013-01-21 04:03:43
|
File this down as an environment setup glitch.
I use mvn eclipse:eclipse to set up .project and .classpath files for eclipse, the configuration in modules/ogc/pom.xml is set up to reference a "src' as follows:
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<additionalBuildcommands>
<buildcommand>org.eclipse.pde.ManifestBuilder</buildcommand>
<buildcommand>org.eclipse.pde.SchemaBuilder</buildcommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>org.eclipse.pde.PluginNature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
</plugins>
</build>
Which is fine as far as an override goes…however net.opengis.csw has the "default" maven structure of src/main/java, src/main/resources, src/test/java, src/test/resoruces.
The combination produces errors in eclipse:
Description Resource Location Path Type
The declared package "net.opengis.cat.csw20" does not match the expected package "main.java.net.opengis.cat.csw20" AbstractQueryType.java line 7 /net.opengis.csw/src/main/java/net/opengis/cat/csw20 Java Problem
--
Jody Garnett
|