2009/12/24 Andrea Aime <[email protected]> > maven apache ha scritto: > > Yes,I forgot mention that: >> I have add a profile in the pom fo the webapp module: >> ---------------------- >> <profile> >> <id>addking</id> >> <dependencies> >> <dependency> >> <groupId>org.geoserver</groupId> >> <artifactId>king</artifactId> >> <version>2.0.0</version> >> </dependency> >> </dependencies> >> </profile> >> --------------------- Then I run commond: mvn clean install >> -Dmaven.test.skip=true -P addking, and I am sure the king.2.0.0.jar is >> included in the web/app/target/geoserver/webinfo/lib. >> > > That does not matter. Is the web-app project referring to the king > project in Eclipse? > No,in the buildpath page,the project king do not exist, I wonder if it is caused that" the dependency king is not defined directly ? it is defined by profile manner?
> Try running: > mvn eclipse:eclipse -o -Paddking > > Ok, just following your suggestion, first I delete the .class and .project file under the web/app module,then run the above commond,then run mvn install -P addking. But problem also . The logs can be found here:http://dpaste.com/137319/ > and then refreshing from Eclipse > > > Cheers > Andrea > > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
