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