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

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

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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3085:
----------------------------------

    Assignee: Claus Ibsen

> 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: 2.4.0
>         Environment: Ubuntu Linux, JDK 6, Maven 2.2.x
>            Reporter: Glen Mazza
>            Assignee: Claus Ibsen
>             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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3085.
--------------------------------

    Resolution: Fixed

trunk: 990136.

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