On Thu, Dec 14, 2006 at 02:08:25PM -0800, Dain Sundstrom wrote: > On Dec 14, 2006, at 1:31 PM, Paul McMahan wrote: > > >When I tried to build from src I got the error message below. Do I > >need to add the repo at http://people.apache.org/~dain/stage/ to a pom > >somewhere to make it build? > > Unfortunately, yes. This release has a deep dependency list of G > projects. The next 1.2 release won't have this problem.
Apologies for being the one to wave to maven-naive flag, but where do I need to add this? I added this repo to the project root's pom.xml like so: Index: pom.xml =================================================================== --- pom.xml (revision 487372) +++ pom.xml (working copy) @@ -980,6 +980,16 @@ <pluginRepositories> <pluginRepository> + <id>dains-plugin-repository</id> + <url>http://people.apache.org/~dain/stage/</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </pluginRepository> + <pluginRepository> <id>Codehaus Snapshots</id> <url>http://snapshots.repository.codehaus.org/</url> <snapshots> @@ -1235,6 +1245,21 @@ --> <repository> + <id>dains-repo</id> + <name>Apache Snapshots Repository</name> + <url>http://people.apache.org/~dain/stage</url> + <layout>default</layout> + <snapshots> + <enabled>true</enabled> + <updatePolicy>daily</updatePolicy> + <checksumPolicy>ignore</checksumPolicy> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + + <repository> <id>apache-snapshots</id> <name>Apache Snapshots Repository</name> <url>http://people.apache.org/repo/m2-snapshot-repository</url> But I still can't build: [INFO] Geronimo Assemblies :: J2EE + Tomcat [INFO] Geronimo Assemblies :: Minimal + Tomcat [INFO] Searching repository for plugin with prefix: 'install'. [INFO] org.apache.maven.plugins: checking for updates from codehaus [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from codehaus [INFO] org.codehaus.mojo: checking for updates from central Downloading: http://repository.codehaus.org/org/apache/geronimo/genesis/plugins/tools-maven-plugin/1.1/tools-maven-plugin-1.1.jar [WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org) Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/genesis/plugins/tools-maven-plugin/1.1/tools-maven-plugin-1.1.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] Cannot find mojo descriptor for: 'install:install-file' - Treating as non-aggregator. Downloading: http://repository.codehaus.org/org/apache/geronimo/genesis/plugins/tools-maven-plugin/1.1/tools-maven-plugin-1.1.jar [WARNING] Unable to get resource from repository codehaus (http://repository.codehaus.org) Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/genesis/plugins/tools-maven-plugin/1.1/tools-maven-plugin-1.1.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Do I need to add the ~dain repository somewhere else, too? Thanks, Toby