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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel