oups, sorry, this was not the target I used (this one should work too, but...), the one I used is get-maven-poms. That will just create pom files and copy them to their right target locations.
I'm using netbeans and I'm using the plugin "Automatic Projects" to do everything inside the IDE. Which version of Solr are you using ? Ludovic. 2011/5/4 Gabriele Kahlout [via Lucene] < ml-node+2898211-2124746009-383...@n3.nabble.com> > generate-maven-artifacts: > [mkdir] Created dir: /Users/simpatico/SOLR_HOME/build/maven > [mkdir] Created dir: /Users/simpatico/SOLR_HOME/dist/maven > [copy] Copying 1 file to > /Users/simpatico/SOLR_HOME/build/maven/src/maven > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 > > *BUILD FAILED* > /Users/simpatico/SOLR_HOME/*build.xml:800*: The following error occurred > while executing this line: > /Users/simpatico/SOLR_HOME/common-build.xml:274: artifact:deploy doesn't > support the "uniqueVersion" attribute > > > *build.xml:800: *<m2-deploy > pom.xml="src/maven/solr-parent-pom.xml.template"/> > > removed "uniquVersion" attirubte: > > generate-maven-artifacts: > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 > [artifact:deploy] Deploying to file:///Users/simpatico/SOLR_HOME/dist/maven > > [artifact:deploy] [INFO] Retrieving previous build number from remote > [artifact:deploy] [INFO] Retrieving previous metadata from remote > [artifact:deploy] [INFO] Uploading repository metadata for: 'artifact > org.apache.solr:solr-parent' > [artifact:deploy] [INFO] Retrieving previous metadata from remote > [artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot > org.apache.solr:solr-parent:1.4.2-SNAPSHOT' > [copy] Copying 1 file to /Users/simpatico/SOLR_HOME/build/maven/lib > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 > [artifact:deploy] Deploying to file:///Users/simpatico/SOLR_HOME/dist/maven > > [artifact:deploy] [INFO] Retrieving previous build number from remote > [artifact:deploy] [INFO] Retrieving previous metadata from remote > [artifact:deploy] [INFO] Uploading repository metadata for: 'artifact > org.apache.solr:solr-commons-csv' > [artifact:deploy] [INFO] Retrieving previous metadata from remote > [artifact:deploy] [INFO] Uploading project information for solr-commons-csv > > 1.4.2-SNAPSHOT > [artifact:deploy] [INFO] Retrieving previous metadata from remote > [artifact:deploy] [INFO] Uploading repository metadata for: 'snapshot > org.apache.solr:solr-commons-csv:1.4.2-SNAPSHOT' > [copy] Copying 1 file to > /Users/simpatico/SOLR_HOME/build/maven/contrib/dataimporthandler > [artifact:install-provider] Installing provider: > org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2 > > BUILD FAILED > /Users/simpatico/SOLR_HOME/build.xml:809: The following error occurred > while > executing this line: > */Users/simpatico/SOLR_HOME/common-build.xml:274: artifact:deploy doesn't > support the nested "attach" element* > > ----- Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-maven-project-tp2898068p2898315.html Sent from the Solr - User mailing list archive at Nabble.com.