camel-jetty component won't build off of SVN download -----------------------------------------------------
Key: CAMEL-3085 URL: https://issues.apache.org/activemq/browse/CAMEL-3085 Project: Apache Camel Issue Type: Bug Components: camel-jetty Affects Versions: Future Environment: Ubuntu Linux, JDK 6, Maven 2.2.x Reporter: Glen Mazza Running "mvn -DskipTests clean install" from the Camel root folder as per the instructions[1] returns this error when Maven tries to build Camel :: Jetty: [INFO] Building Camel :: Jetty [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.4.3/mail-1.4.3.pom [INFO] Unable to find resource 'javax.mail:mail:pom:1.4.3' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.4.3/mail-1.4.3.jar [INFO] Unable to find resource 'javax.mail:mail:jar:1.4.3' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) javax.mail:mail:jar:1.4.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.4.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.4.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.camel:camel-jetty:bundle:2.5-SNAPSHOT 2) javax.mail:mail:jar:1.4.3 ---------- 1 required artifact is missing. for artifact: org.apache.camel:camel-jetty:bundle:2.5-SNAPSHOT from the specified remote repositories: apache.snapshots (http://repository.apache.org/snapshots), central (http://repo1.maven.org/maven2) ------------------------------------------ Apparently the java.net repository needs to be added to the POM file.[2] Alternatively, if there is manual modification we need to do in order for the build instructions to work (strange, as the Maven commands should ideally work out-of-the-box), to add those instructions to the build page[1] so people trying to build Camel aren't lost. [1] http://camel.apache.org/building.html [2] http://camel.465427.n5.nabble.com/Problem-building-camel-trunk-javax-mail-not-found-td510279.html#a510279 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.