If you only need to build the tests instead of running test cases you can
probably use  mvn clean install -Dmaven.*test*.*skip*=true in the command
line from the trunk. It will save your building time.

On Tue, Mar 29, 2011 at 10:26 AM, Andrey Razumovsky <
razumovsky.and...@gmail.com> wrote:

> Yeah, you need to install m2eclipse (and Subclipse as well). I also
> suggest you run "mvn clean install" on project root from command line,
> so that all artifacts are downloaded before importing project to
> workspace (or import cayenne-parent and run maven from Eclipse, but my
> Eclipse usually dies at doing that). After that, all dependencies
> should be resolved.
> Note also, that if you're looking for latest source code, you should
> look at 3.1 trunk and not 3.0.1
>
> 2011/3/29 Kasun Lakpriya <kasun.lakpriy...@gmail.com>:
> > Hi Prasad,
> >
> > I am also not an expert by the way just wonder if you followed this
> > http://cayenne.apache.org/eclipse.html or not.
> >
> > <http://cayenne.apache.org/eclipse.html>Did you install m2ecliipse? It
> might
> > be the problem if you haven't done so.
> >
> > On Tue, Mar 29, 2011 at 10:11 AM, sri krishna prasad
> > <2409.kr...@gmail.com>wrote:
> >
> >> hi friends,
> >> this is srikrishna , i imported cayenne source code into eclipseIDE. but
> >> when i did so it gave me 12 missing artifacts.can any one help me how to
> >> import cayenne into eclipseIDE.
> >>
> >> steps i followed:
> >> 1) imported 3 files as given by the developer guide in the web site.
> >>
> >>   - framework/cayenne-jdk1.5-unpublished
> >>   - framework/cayenne-modeler
> >>   - framework/cayenne-tools
> >>
> >> 2)got this errors(missing artifacts)
> >>
> >> 29/3/11 9:26:50 AM IST: Missing artifact
> >> org.objectstyle:jdbc4-compat:jar:1.0:provided
> >> 29/3/11 9:26:50 AM IST: Missing artifact
> >> com.caucho:resin-hessian:jar:3.1.6:provided
> >> 29/3/11 9:26:50 AM IST: Missing artifact
> >> opensymphony:oscache:jar:2.3.2:provided
> >> 29/3/11 9:26:50 AM IST: Missing artifact
> >> mockrunner:mockrunner:jar:0.4.1:test
> >> 29/3/11 9:26:57 AM IST: Missing artifact
> >>
> org.apache.cayenne.unpublished:cayenne-legal-unpublished:jar:3.0.1:provided
> >> 29/3/11 9:26:57 AM IST: Missing artifact
> >> foundrylogic.vpp:vpp:jar:2.2.1:compile
> >> 29/3/11 9:27:09 AM IST: Missing artifact
> jgoodies:looks:jar:1.3.1:compile
> >> 29/3/11 9:27:09 AM IST: Missing artifact
> >> org.scopemvc:scopemvc:jar:1.0.1:compile
> >> 29/3/11 9:27:09 AM IST: Missing artifact
> >>
> org.apache.cayenne.unpublished:cayenne-legal-unpublished:jar:3.0.1:provided
> >> 29/3/11 9:27:09 AM IST: Missing artifact
> >> foundrylogic.vpp:vpp:jar:2.2.1:compile
> >> 29/3/11 9:27:09 AM IST: Missing artifact
> >> mockrunner:mockrunner:jar:0.4.1:test
> >>
> >> 29/3/11 9:27:43 AM IST: Build errors for cayenne-tools;
> >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> >> goal on project cayenne-tools: Could not resolve dependencies for
> project
> >> org.apache.cayenne:cayenne-tools:jar:3.0.1: The following artifacts
> could
> >> not be resolved:
> >> org.apache.cayenne.unpublished:cayenne-legal-unpublished:jar:3.0.1,
> >> foundrylogic.vpp:vpp:jar:2.2.1: Failure to find
> >> org.apache.cayenne.unpublished:cayenne-legal-unpublished:jar:3.0.1 in
> >> http://repo1.maven.org/maven2 was cached in the local repository,
> >> resolution
> >> will not be reattempted until the update interval of central has elapsed
> or
> >> updates are forced
> >>
> >> can any one solve this errors or explain me how to import cayenne in
> >> eclipse
> >>
> >>
> >> Thanking you,
> >>
> >>
> >>
> >>
> >>
> >> --
> >> your's  ....
> >> D.SriKrishnaPrasad
> >> 09494540886
> >> "Work hard for excellence "
> >>
> >
> >
> >
> > --
> > cheers,
> > Kasun
> >
>
>
>
> --
> Andrey
>



-- 
*~Thanks & Regards~*

P.A.Eshan Sudharaka
Dept of Computer Science and Engineering
University of Moratuwa
Sri Lanka
http://esudharaka.blogspot.com/

Reply via email to