You can checkout a project without a pom like this: mvn scm:checkout -DconnectionUrl=[YOUR_SCM_URL]
All options are defined here: http://maven.apache.org/scm/plugins/checkout-mojo.html The bootstrap goal should work with something like this: mvn scm:bootstrap -DconnectionUrl=[YOUR_SCM_URL] -Dgoal=deploy Emmanuel On Mon, Apr 28, 2008 at 11:11 PM, Daniel King <[EMAIL PROTECTED]> wrote: > How can you checkout a fresh copy of a project without a pom.xml or is > this impossible? I'm assuming it is impossible just like ant needs a > build.xml. However how do most people checkout a project without the > pom.xml the first time? If I copy the pom.xml and put it in my directory > and then call mvn scm:bootstrap it will checkout my code, compile, run > tests and install since I have a goal of install in the configuration. > > > > <build> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-plugin</artifactId> > > <configuration> > > <connectionType>connection</connectionType> > > <goals>install</goals> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > The reason I ask is because our build team deletes the project area at > the beginning of every build. > > > > Also is scm:bootstrap the best way to checkout, compile, run tests and > install? I might need to change that goal to deploy since the build team > wants to do all those steps and then put it in our internal repo. > > > > Thanks, > > Daniel King > > > > > > >