You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/08/27 16:03:40 UTC

[jira] Commented: (CAMEL-3085) camel-jetty component won't build off of SVN download

    [ https://issues.apache.org/activemq/browse/CAMEL-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61480#action_61480 ] 

Claus Ibsen commented on CAMEL-3085:
------------------------------------

mail API is not needed for tests, so I will remove it.

> 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: Task
>          Components: camel-jetty
>    Affects Versions: 2.4.0
>         Environment: Ubuntu Linux, JDK 6, Maven 2.2.x
>            Reporter: Glen Mazza
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.5.0
>
>
> 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.