camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-3085) camel-jetty component won't build off of SVN download
Date Fri, 27 Aug 2010 13:08:41 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-3085:
-------------------------------

           Issue Type: Task  (was: Bug)
        Fix Version/s: 2.5.0
    Affects Version/s: 2.4.0
                           (was: Future)
             Priority: Trivial  (was: Major)

Workaround build camel-mail first as it will download the mail jar.

Actually wonder why camel-jetty need a mail jar for testing?

> 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.


Mime
View raw message