You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by oohogwash <ga...@gmail.com> on 2009/05/23 13:55:18 UTC

Errors building source code

I have followed the install / build instructions in getting started.
For some reason the build fails with mvn eclipse:eclipse
the error reported is

[INFO] Preparing eclipse:eclipse
[INFO] snapshot org.apache.camel:camel-maven-plugin:2.0-SNAPSHOT: checking
for u
pdates from apache.m2.repo
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
e/camel/camel-maven-plugin/2.0-SNAPSHOT/camel-maven-plugin-2.0-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.camel:camel-maven-plugin:maven-plugin
:2.0-SNAPSHOT' in repository apache.m2.repo
(http://people.apache.org/repo/m2-ib
iblio-rsync-repository)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check
that t
he goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.camel
-DartifactId=camel-maven
-plugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.camel
-DartifactId=camel-maven-p
lugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
-Durl
=[url] -DrepositoryId=[id]


  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT

from the specified remote repositories:
  apache.m2.repo
(http://people.apache.org/repo/m2-ibiblio-rsync-repository),
  central (http://repo1.maven.org/maven2)


  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT

from the specified remote repositories:
  apache.m2.repo
(http://people.apache.org/repo/m2-ibiblio-rsync-repository),
  central (http://repo1.maven.org/maven2)

-- 
View this message in context: http://www.nabble.com/Errors-building-source-code-tp23683799p23683799.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Errors building source code

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I think your problem is that your JDK is installed in a folder with space.
> Command line was:"C:\Program Files\Java\jdk1.6.0_13\jre\..\bin\javadoc.exe"

I always installed the JDK in the c:\java\ folder and not use spaces in folders.

But that error is for the javadoc generation. If you dont want to
build the full release (eg a .zip file), you can just do not care.
As it should be able to build all the camel .jars. before this error.

But to fix your problem reinstall the JDK in a folder without spaces.



On Sat, May 23, 2009 at 6:09 PM, oohogwash <ga...@gmail.com> wrote:
>
> Hi,
> Thanks, I got further with that in place, I had a memory issue so I upped
> the MVN_OPTS to double recommended... that got me to this error...
> Thanks
>
> 1 error
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An error has occurred in JavaDocs report generation:Exit code: 1 -
> javado
> c: error - invalid flag: -author
>
> Command line was:"C:\Program Files\Java\jdk1.6.0_13\jre\..\bin\javadoc.exe"
> -J-X
> mx500m @options
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 1 second
> [INFO] Finished at: Sun May 24 02:02:31 EST 2009
> [INFO] Final Memory: 472M/844M
> [INFO]
> ------------------------------------------------------------------------
> E:\ei\camel>
>
>
>
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> I think you need to build the maven tools as well
>>
>> in the camel source root folder do:
>> cd tooling/maven
>> mvn clean install -Dtest=false
>>
>> Then the camel maven plugins is installed in your local m2 repo.
>>
>>
>> On Sat, May 23, 2009 at 1:55 PM, oohogwash <ga...@gmail.com> wrote:
>>>
>>> I have followed the install / build instructions in getting started.
>>> For some reason the build fails with mvn eclipse:eclipse
>>> the error reported is
>>>
>>> [INFO] Preparing eclipse:eclipse
>>> [INFO] snapshot org.apache.camel:camel-maven-plugin:2.0-SNAPSHOT:
>>> checking
>>> for u
>>> pdates from apache.m2.repo
>>> Downloading:
>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
>>> e/camel/camel-maven-plugin/2.0-SNAPSHOT/camel-maven-plugin-2.0-SNAPSHOT.jar
>>> [INFO] Unable to find resource
>>> 'org.apache.camel:camel-maven-plugin:maven-plugin
>>> :2.0-SNAPSHOT' in repository apache.m2.repo
>>> (http://people.apache.org/repo/m2-ib
>>> iblio-rsync-repository)
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] A required plugin was not found: Plugin could not be found - check
>>> that t
>>> he goal name is correct: Unable to download the artifact from any
>>> repository
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>>    mvn install:install-file -DgroupId=org.apache.camel
>>> -DartifactId=camel-maven
>>> -plugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin
>>> -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the file
>>> there:
>>>    mvn deploy:deploy-file -DgroupId=org.apache.camel
>>> -DartifactId=camel-maven-p
>>> lugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin
>>> -Dfile=/path/to/file
>>> -Durl
>>> =[url] -DrepositoryId=[id]
>>>
>>>
>>>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>  apache.m2.repo
>>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>>>  central (http://repo1.maven.org/maven2)
>>>
>>>
>>>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>  apache.m2.repo
>>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>>>  central (http://repo1.maven.org/maven2)
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Errors-building-source-code-tp23683799p23683799.html
>>> Sent from the Camel Development mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Errors-building-source-code-tp23683799p23685842.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: Errors building source code

Posted by oohogwash <ga...@gmail.com>.
Hi,
Thanks, I got further with that in place, I had a memory issue so I upped
the MVN_OPTS to double recommended... that got me to this error...
Thanks

1 error
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error has occurred in JavaDocs report generation:Exit code: 1 -
javado
c: error - invalid flag: -author

Command line was:"C:\Program Files\Java\jdk1.6.0_13\jre\..\bin\javadoc.exe"
-J-X
mx500m @options

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 1 second
[INFO] Finished at: Sun May 24 02:02:31 EST 2009
[INFO] Final Memory: 472M/844M
[INFO]
------------------------------------------------------------------------
E:\ei\camel>




Claus Ibsen-2 wrote:
> 
> Hi
> 
> I think you need to build the maven tools as well
> 
> in the camel source root folder do:
> cd tooling/maven
> mvn clean install -Dtest=false
> 
> Then the camel maven plugins is installed in your local m2 repo.
> 
> 
> On Sat, May 23, 2009 at 1:55 PM, oohogwash <ga...@gmail.com> wrote:
>>
>> I have followed the install / build instructions in getting started.
>> For some reason the build fails with mvn eclipse:eclipse
>> the error reported is
>>
>> [INFO] Preparing eclipse:eclipse
>> [INFO] snapshot org.apache.camel:camel-maven-plugin:2.0-SNAPSHOT:
>> checking
>> for u
>> pdates from apache.m2.repo
>> Downloading:
>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
>> e/camel/camel-maven-plugin/2.0-SNAPSHOT/camel-maven-plugin-2.0-SNAPSHOT.jar
>> [INFO] Unable to find resource
>> 'org.apache.camel:camel-maven-plugin:maven-plugin
>> :2.0-SNAPSHOT' in repository apache.m2.repo
>> (http://people.apache.org/repo/m2-ib
>> iblio-rsync-repository)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] A required plugin was not found: Plugin could not be found - check
>> that t
>> he goal name is correct: Unable to download the artifact from any
>> repository
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>>    mvn install:install-file -DgroupId=org.apache.camel
>> -DartifactId=camel-maven
>> -plugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin
>> -Dfile=/path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file
>> there:
>>    mvn deploy:deploy-file -DgroupId=org.apache.camel
>> -DartifactId=camel-maven-p
>> lugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin
>> -Dfile=/path/to/file
>> -Durl
>> =[url] -DrepositoryId=[id]
>>
>>
>>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>>
>> from the specified remote repositories:
>>  apache.m2.repo
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>>  central (http://repo1.maven.org/maven2)
>>
>>
>>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>>
>> from the specified remote repositories:
>>  apache.m2.repo
>> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>>  central (http://repo1.maven.org/maven2)
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Errors-building-source-code-tp23683799p23683799.html
>> Sent from the Camel Development mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://www.nabble.com/Errors-building-source-code-tp23683799p23685842.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Errors building source code

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I think you need to build the maven tools as well

in the camel source root folder do:
cd tooling/maven
mvn clean install -Dtest=false

Then the camel maven plugins is installed in your local m2 repo.


On Sat, May 23, 2009 at 1:55 PM, oohogwash <ga...@gmail.com> wrote:
>
> I have followed the install / build instructions in getting started.
> For some reason the build fails with mvn eclipse:eclipse
> the error reported is
>
> [INFO] Preparing eclipse:eclipse
> [INFO] snapshot org.apache.camel:camel-maven-plugin:2.0-SNAPSHOT: checking
> for u
> pdates from apache.m2.repo
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
> e/camel/camel-maven-plugin/2.0-SNAPSHOT/camel-maven-plugin-2.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.camel:camel-maven-plugin:maven-plugin
> :2.0-SNAPSHOT' in repository apache.m2.repo
> (http://people.apache.org/repo/m2-ib
> iblio-rsync-repository)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found - check
> that t
> he goal name is correct: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.apache.camel
> -DartifactId=camel-maven
> -plugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>    mvn deploy:deploy-file -DgroupId=org.apache.camel
> -DartifactId=camel-maven-p
> lugin -Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
> -Durl
> =[url] -DrepositoryId=[id]
>
>
>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>
> from the specified remote repositories:
>  apache.m2.repo
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>  central (http://repo1.maven.org/maven2)
>
>
>  org.apache.camel:camel-maven-plugin:maven-plugin:2.0-SNAPSHOT
>
> from the specified remote repositories:
>  apache.m2.repo
> (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>  central (http://repo1.maven.org/maven2)
>
> --
> View this message in context: http://www.nabble.com/Errors-building-source-code-tp23683799p23683799.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus