I am having a problem setting up subsonic in eclipse. Can someone please help me to tell me what I am doing wrong? I am running this on Ubuntu and I cannot seem to set up a development environment in eclipse. This is what I did and the error that I got.
Step 1:
svn co https://subsonic.svn.sourceforge.net/sv ... elease-3.4 subsonic
Checkout seemed to work fine (no errors)
Step 2:
mvn eclipse:eclipse
Output of mvn eclipse:eclipse with error
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Subsonic
[INFO] Subsonic Amazon
[INFO] Subsonic Main
[INFO]
[INFO] Subsonic Booter
[INFO] Subsonic Installer
[INFO] Subsonic Assembly
[INFO] Subsonic Flex
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] artifact net.israfil.mojo:maven-flex2-plugin: checking for updates from central
Downloading: http://repo1.maven.org/maven2/net/israf ... in-1.3.pom
5K downloaded
Downloading: http://repo1.maven.org/maven2/net/israf ... -all-9.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/net/israf ... in-1.3.jar
29K downloaded
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Amazon
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[java] Oct 27, 2008 9:40:56 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
[java] WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
[INFO] Executed tasks
[INFO] Registering compile source root /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-amazon/target/generated-sources/axis
[INFO] [eclipse:eclipse]
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Using source status cache: /home/craig/Spring/subsonic_3.4/subsonic/subsonic/target/mvn-eclipse-cache.properties
[INFO] Wrote settings to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-amazon/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "subsonic-amazon" to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-amazon.
[INFO]
Sources for some artifacts are not available.
Please run the same goal with the -DdownloadSources=true parameter in order to check remote repositories for sources.
List of artifacts without a source archive:
o axis:axis:1.2.1
o wsdl4j:wsdl4j:1.5.1
o commons-logging:commons-logging:1.0.4
o commons-discovery:commons-discovery:0.2
o axis:axis-saaj:1.2
o javax.xml:jaxrpc:1.1
Javadoc for some artifacts is not available.
Please run the same goal with the -DdownloadJavadocs=true parameter in order to check remote repositories for javadoc.
List of artifacts without a javadoc archive:
o axis:axis:1.2.1
o wsdl4j:wsdl4j:1.5.1
o commons-logging:commons-logging:1.0.4
o commons-discovery:commons-discovery:0.2
o axis:axis-saaj:1.2
o javax.xml:jaxrpc:1.1
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Main
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading: file:repo/org/springframework/spring-core/1.2.9/spring-core-1.2.9.pom
Downloading: file:../repo/org/springframework/spring-core/1.2.9/spring-core-1.2.9.pom
Downloading: http://repo1.maven.org/maven2/org/sprin ... -1.2.9.pom
1K downloaded
Downloading: file:repo/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.pom
Downloading: file:../repo/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.pom
Downloading: http://repo1.maven.org/maven2/hsqldb/hs ... .8.0.1.pom
148b downloaded
Downloading: file:repo/junit/junit/4.1/junit-4.1.jar
Downloading: file:../repo/junit/junit/4.1/junit-4.1.jar
Downloading: http://repo1.maven.org/maven2/junit/jun ... it-4.1.jar
109K downloaded
Downloading: file:repo/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.jar
Downloading: file:../repo/hsqldb/hsqldb/1.8.0.1/hsqldb-1.8.0.1.jar
Downloading: http://repo1.maven.org/maven2/hsqldb/hs ... .8.0.1.jar
610K downloaded
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[copy] Copying 1 file to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-main/target/classes/net/sourceforge/subsonic/i18n
[INFO] Executed tasks
[INFO] [eclipse:eclipse]
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
Downloading: file:repo/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
Downloading: file:../repo/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
Downloading: http://repo1.maven.org/maven2/commons-c ... ec-1.2.jar
29K downloaded
Downloading: file:repo/org/springframework/spring-core/1.2.9/spring-core-1.2.9.jar
Downloading: file:../repo/org/springframework/spring-core/1.2.9/spring-core-1.2.9.jar
Downloading: http://repo1.maven.org/maven2/org/sprin ... -1.2.9.jar
123K downloaded
[INFO] Using source status cache: /home/craig/Spring/subsonic_3.4/subsonic/subsonic/target/mvn-eclipse-cache.properties
[INFO] Wrote settings to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-main/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "subsonic-main" to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-main.
[INFO]
Sources for some artifacts are not available.
Please run the same goal with the -DdownloadSources=true parameter in order to check remote repositories for sources.
List of artifacts without a source archive:
o ant-zip:ant-zip:1.6.2
o cglib:cglib:2.1_3
o asm:asm:1.5.3
o commons-fileupload:commons-fileupload:1.2
o commons-httpclient:commons-httpclient:3.0.1
o junit:junit:4.1
o commons-logging:commons-logging:1.0.3
o commons-codec:commons-codec:1.2
o commons-io:commons-io:1.3.1
o commons-lang:commons-lang:2.1
o entagged-audioformats:entagged-audioformats:0.15
o hsqldb:hsqldb:1.8.0.1
o javax.servlet:jsp-api:2.0
o javax.servlet:servlet-api:2.4
o javax.servlet:jstl:1.1.2
o jdom:jdom:1.0
o jfree:jfreechart:1.0.0
o jfree:jcommon:1.0.0
o log4j:log4j:1.2.9
o net.sf.ehcache:ehcache:1.3.0
o net.sf.jsr107cache:jsr107cache:1.0
o backport-util-concurrent:backport-util-concurrent:3.0
o org.acegisecurity:acegi-security:1.0.5
o org.springframework:spring-core:1.2.9
o oro:oro:2.0.8
o commons-collections:commons-collections:3.1
o org.springframework:spring:2.5
o org.springframework:spring-webmvc:2.5
o org.springframework:spring-beans:2.5
o org.springframework:spring-context:2.5
o aopalliance:aopalliance:1.0
o org.springframework:spring-context-support:2.5
o org.springframework:spring-web:2.5
o radeox:radeox:1.0-b2
o taglibs:standard:1.1.2
o taglibs:string:1.1.0
o uk.ltd.getahead:dwr:1.1
Javadoc for some artifacts is not available.
Please run the same goal with the -DdownloadJavadocs=true parameter in order to check remote repositories for javadoc.
List of artifacts without a javadoc archive:
o ant-zip:ant-zip:1.6.2
o cglib:cglib:2.1_3
o asm:asm:1.5.3
o commons-fileupload:commons-fileupload:1.2
o commons-httpclient:commons-httpclient:3.0.1
o junit:junit:4.1
o commons-logging:commons-logging:1.0.3
o commons-codec:commons-codec:1.2
o commons-io:commons-io:1.3.1
o commons-lang:commons-lang:2.1
o entagged-audioformats:entagged-audioformats:0.15
o hsqldb:hsqldb:1.8.0.1
o javax.servlet:jsp-api:2.0
o javax.servlet:servlet-api:2.4
o javax.servlet:jstl:1.1.2
o jdom:jdom:1.0
o jfree:jfreechart:1.0.0
o jfree:jcommon:1.0.0
o log4j:log4j:1.2.9
o net.sf.ehcache:ehcache:1.3.0
o net.sf.jsr107cache:jsr107cache:1.0
o backport-util-concurrent:backport-util-concurrent:3.0
o org.acegisecurity:acegi-security:1.0.5
o org.springframework:spring-core:1.2.9
o oro:oro:2.0.8
o commons-collections:commons-collections:3.1
o org.springframework:spring:2.5
o org.springframework:spring-webmvc:2.5
o org.springframework:spring-beans:2.5
o org.springframework:spring-context:2.5
o aopalliance:aopalliance:1.0
o org.springframework:spring-context-support:2.5
o org.springframework:spring-web:2.5
o radeox:radeox:1.0-b2
o taglibs:standard:1.1.2
o taglibs:string:1.1.0
o uk.ltd.getahead:dwr:1.1
[INFO] ------------------------------------------------------------------------
[INFO] Building
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-5.pom
2K downloaded
Downloading: http://repo1.maven.org/maven2/org/apach ... gins-1.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-5.jar
52K downloaded
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Booter
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-1.pom
12K downloaded
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-1.jar
150K downloaded
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
Downloading: file:repo/org/jdesktop/jdic/0.9.3/jdic-0.9.3.pom
150b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for org/jdesktop/jdic/0.9.3/jdic-0.9.3.pom - IGNORING
Downloading: file:repo/org/jdesktop/jdic/0.9.3/jdic-0.9.3.jar
74K downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for org/jdesktop/jdic/0.9.3/jdic-0.9.3.jar - IGNORING
[INFO] Unable to read jar manifest from /home/craig/.m2/repository/org/mortbay/jetty/jsp-2.0/6.1.5/jsp-2.0-6.1.5.pom
Downloading: file:repo/org/slf4j/slf4j-api/1.3.1/slf4j-api-1.3.1.jar
Downloading: file:../repo/org/slf4j/slf4j-api/1.3.1/slf4j-api-1.3.1.jar
Downloading: http://snapshots.repository.codehaus.or ... -1.3.1.jar
Downloading: http://people.apache.org/repo/m2-snapsh ... -1.3.1.jar
Downloading: http://repo1.maven.org/maven2/org/slf4j ... -1.3.1.jar
11K downloaded
Downloading: file:repo/org/slf4j/slf4j-simple/1.3.1/slf4j-simple-1.3.1.jar
Downloading: file:../repo/org/slf4j/slf4j-simple/1.3.1/slf4j-simple-1.3.1.jar
Downloading: http://snapshots.repository.codehaus.or ... -1.3.1.jar
Downloading: http://people.apache.org/repo/m2-snapsh ... -1.3.1.jar
Downloading: http://repo1.maven.org/maven2/org/slf4j ... -1.3.1.jar
7K downloaded
Downloading: file:repo/org/slf4j/jcl104-over-slf4j/1.3.1/jcl104-over-slf4j-1.3.1.jar
Downloading: file:../repo/org/slf4j/jcl104-over-slf4j/1.3.1/jcl104-over-slf4j-1.3.1.jar
Downloading: http://snapshots.repository.codehaus.or ... -1.3.1.jar
Downloading: http://people.apache.org/repo/m2-snapsh ... -1.3.1.jar
Downloading: http://repo1.maven.org/maven2/org/slf4j ... -1.3.1.jar
11K downloaded
Downloading: file:repo/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
Downloading: file:../repo/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
Downloading: http://snapshots.repository.codehaus.or ... -2.6.2.jar
Downloading: http://people.apache.org/repo/m2-snapsh ... -2.6.2.jar
Downloading: http://repo1.maven.org/maven2/xerces/xm ... -2.6.2.jar
121K downloaded
Downloading: file:repo/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
Downloading: file:../repo/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
Downloading: http://snapshots.repository.codehaus.or ... -2.6.2.jar
Downloading: http://people.apache.org/repo/m2-snapsh ... -2.6.2.jar
Downloading: http://repo1.maven.org/maven2/xerces/xe ... -2.6.2.jar
986K downloaded
[INFO] Using source status cache: /home/craig/Spring/subsonic_3.4/subsonic/subsonic/target/mvn-eclipse-cache.properties
[INFO] Wrote settings to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-booter/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "subsonic-booter" to /home/craig/Spring/subsonic_3.4/subsonic/subsonic/subsonic-booter.
[INFO]
Sources for some artifacts are not available.
Please run the same goal with the -DdownloadSources=true parameter in order to check remote repositories for sources.
List of artifacts without a source archive:
o com.jgoodies:forms:1.1.0
o com.jgoodies:looks:2.1.4
o org.jdesktop:jdic:0.9.3
o org.mortbay.jetty:jetty-embedded:6.1.5
o org.mortbay.jetty:jetty:6.1.5
o org.mortbay.jetty:jetty-util:6.1.5
o org.mortbay.jetty:servlet-api-2.5:6.1.5
o org.mortbay.jetty:jsp-2.0:6.1.5
o org.slf4j:slf4j-api:1.3.1
o org.slf4j:slf4j-simple:1.3.1
o tomcat:jasper-compiler-jdt:5.5.15
o org.eclipse.jdt:core:3.1.1
o org.slf4j:jcl104-over-slf4j:1.3.1
o xerces:xmlParserAPIs:2.6.2
o commons-el:commons-el:1.0
o xerces:xercesImpl:2.6.2
o tomcat:jasper-compiler:5.5.15
o ant:ant:1.6.5
o org.mortbay.jetty:jsp-api-2.0:6.1.5
o tomcat:jasper-runtime:5.5.15
Javadoc for some artifacts is not available.
Please run the same goal with the -DdownloadJavadocs=true parameter in order to check remote repositories for javadoc.
List of artifacts without a javadoc archive:
o com.jgoodies:forms:1.1.0
o com.jgoodies:looks:2.1.4
o org.jdesktop:jdic:0.9.3
o org.mortbay.jetty:jetty-embedded:6.1.5
o org.mortbay.jetty:jetty:6.1.5
o org.mortbay.jetty:jetty-util:6.1.5
o org.mortbay.jetty:servlet-api-2.5:6.1.5
o org.mortbay.jetty:jsp-2.0:6.1.5
o org.slf4j:slf4j-api:1.3.1
o org.slf4j:slf4j-simple:1.3.1
o tomcat:jasper-compiler-jdt:5.5.15
o org.eclipse.jdt:core:3.1.1
o org.slf4j:jcl104-over-slf4j:1.3.1
o xerces:xmlParserAPIs:2.6.2
o commons-el:commons-el:1.0
o xerces:xercesImpl:2.6.2
o tomcat:jasper-compiler:5.5.15
o ant:ant:1.6.5
o org.mortbay.jetty:jsp-api-2.0:6.1.5
o tomcat:jasper-runtime:5.5.15
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Installer
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Assembly
[INFO] task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] artifact org.apache.maven.plugins:maven-assembly-plugin: checking for updates from central
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-2.pom
16K downloaded
Downloading: http://repo1.maven.org/maven2/org/apach ... beta-2.jar
184K downloaded
[INFO] Reloading plugin container for: org.apache.maven.plugins:maven-assembly-plugin. The plugin artifact has changed.
Downloading: file:repo/net/sourceforge/subsonic/subsonic-main/3.4/subsonic-main-3.4.war
Downloading: file:../repo/net/sourceforge/subsonic/subsonic-main/3.4/subsonic-main-3.4.war
Downloading: http://repo1.maven.org/maven2/net/sourc ... in-3.4.war
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.sourceforge.subsonic:subsonic-main:war:3.4
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.sourceforge.subsonic -DartifactId=subsonic-main -Dversion=3.4 -Dpackaging=war -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.sourceforge.subsonic -DartifactId=subsonic-main -Dversion=3.4 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) net.sourceforge.subsonic:subsonic-assembly:pom:3.4
2) net.sourceforge.subsonic:subsonic-main:war:3.4
----------
1 required artifact is missing.
for artifact:
net.sourceforge.subsonic:subsonic-assembly:pom:3.4
from the specified remote repositories:
local1 (file:repo),
central (http://repo1.maven.org/maven2),
local2 (file:../repo)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 37 seconds
[INFO] Finished at: Mon Oct 27 09:42:22 MST 2008
[INFO] Final Memory: 15M/121M
[INFO] ------------------------------------------------------------------------