You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by xjoe <mu...@hotmail.com> on 2010/01/12 05:14:27 UTC

cannot build JBoss Deployer from codehause svn

Hi,
Trying to build JBoss deployer as instructed at
http://servicemix.apache.org/jboss-deployer.html from
http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn install.

It gave error message at the end:

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

error: error reading C:\Documents and
Settings\munizul.salleh\.m2\repository\org\springframework\spr
ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
error: error reading C:\Documents and
Settings\munizul.salleh\.m2\repository\org\springframework\spr
ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file


-- 
View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: cannot build JBoss Deployer from codehause svn

Posted by xjoe <mu...@hotmail.com>.
Hi,
Result from svn build at
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/platforms/jboss (fatal
error):

C:\jboss-deployer>mvn install
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] -------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.jboss:jboss:pom:null

Reason: Cannot find parent: org.apache.servicemix:platforms for project:
org.apache.servicemix.jboss
:jboss:pom:null for project org.apache.servicemix.jboss:jboss:pom:null


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache.servicemix:platform
s for project: org.apache.servicemix.jboss:jboss:pom:null for project
org.apache.servicemix.jboss:jb
oss:pom:null
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache.service
mix:platforms for project: org.apache.servicemix.jboss:jboss:pom:null for
project org.apache.service
mix.jboss:jboss:pom:null
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu
ilder.java:1396)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuil
der.java:823)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMa
venProjectBuilder.java:508)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java
:200)
        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
        at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
        ... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.servicemix:platforms'
not found in repository: Unable to download the artifact from any repository

  org.apache.servicemix:platforms:pom:3.3.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

 for project org.apache.servicemix:platforms
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenP
rojectBuilder.java:605)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu
ilder.java:1392)
        ... 18 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the arti
fact from any repository

  org.apache.servicemix:platforms:pom:3.3.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve
r.java:228)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve
r.java:90)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenP
rojectBuilder.java:558)
        ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact fro
m any repository
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.jav
a:404)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolve
r.java:216)
        ... 21 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jan 12 16:07:58 SGT 2010
[INFO] Final Memory: 1M/4M
[INFO] -------------------------------------------------------------------


Chris Custine wrote:
> 
> This issue is documented here (with workaround):
> http://cwiki.apache.org/SM/discussion-forums.html#nabble-tt25602583%7Ca25603368
> 
> We moved that code over to the Apache repository some time ago, so you may
> also have better luck using the code here:
> http://svn.apache.org/repos/asf/servicemix/smx3/trunk/platforms/jboss
> 
> If you still see that issue let us know.
> 
> Thanks,
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Felix :: http://felix.apache.org
> Apache Directory Server :: http://directory.apache.org
> 
> 
> On Mon, Jan 11, 2010 at 10:31 PM, Freeman Fang
> <fr...@gmail.com>wrote:
> 
>> Hi,
>>
>> Can you just use jar xvf spring-dao-2.0.6.jar to see if you can extract
>> those jars in your maven repo, so that you will know if those jar is
>> crash
>> or not.
>> And Could you check the user permission to access those jar file?
>> Freeman
>>
>>
>> On 2010-1-12, at 下午1:18, xjoe wrote:
>>
>>
>>> Hi,
>>> Deleted those 2 files and same error appears again (in mvn install).
>>>
>>>
>>>
>>> Freeman Fang wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar
>>>> from your local maven repo and build again, I guess for some reason
>>>> the zip file is crash during download
>>>>
>>>> Freeman
>>>> On 2010-1-12, at 下午12:14, xjoe wrote:
>>>>
>>>>
>>>>> Hi,
>>>>> Trying to build JBoss deployer as instructed at
>>>>> http://servicemix.apache.org/jboss-deployer.html from
>>>>> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn
>>>>> install.
>>>>>
>>>>> It gave error message at the end:
>>>>>
>>>>> [INFO] [compiler:compile {execution: default-compile}]
>>>>> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Compilation failure
>>>>>
>>>>> error: error reading C:\Documents and
>>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>>> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>>>>> error: error reading C:\Documents and
>>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>>> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
>>>>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>> --
>>>> Freeman Fang
>>>> ------------------------
>>>> Open Source SOA: http://fusesource.com
>>>>
>>>>
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122799.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>
>> --
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27123978.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: cannot build JBoss Deployer from codehause svn

Posted by Chris Custine <ch...@gmail.com>.
This issue is documented here (with workaround):
http://cwiki.apache.org/SM/discussion-forums.html#nabble-tt25602583%7Ca25603368

We moved that code over to the Apache repository some time ago, so you may
also have better luck using the code here:
http://svn.apache.org/repos/asf/servicemix/smx3/trunk/platforms/jboss

If you still see that issue let us know.

Thanks,
Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Felix :: http://felix.apache.org
Apache Directory Server :: http://directory.apache.org


On Mon, Jan 11, 2010 at 10:31 PM, Freeman Fang <fr...@gmail.com>wrote:

> Hi,
>
> Can you just use jar xvf spring-dao-2.0.6.jar to see if you can extract
> those jars in your maven repo, so that you will know if those jar is crash
> or not.
> And Could you check the user permission to access those jar file?
> Freeman
>
>
> On 2010-1-12, at 下午1:18, xjoe wrote:
>
>
>> Hi,
>> Deleted those 2 files and same error appears again (in mvn install).
>>
>>
>>
>> Freeman Fang wrote:
>>
>>>
>>> Hi,
>>>
>>> You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar
>>> from your local maven repo and build again, I guess for some reason
>>> the zip file is crash during download
>>>
>>> Freeman
>>> On 2010-1-12, at 下午12:14, xjoe wrote:
>>>
>>>
>>>> Hi,
>>>> Trying to build JBoss deployer as instructed at
>>>> http://servicemix.apache.org/jboss-deployer.html from
>>>> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn
>>>> install.
>>>>
>>>> It gave error message at the end:
>>>>
>>>> [INFO] [compiler:compile {execution: default-compile}]
>>>> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>>
>>>> error: error reading C:\Documents and
>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>>>> error: error reading C:\Documents and
>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>> --
>>> Freeman Fang
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>>
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122799.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
>

Re: cannot build JBoss Deployer from codehause svn

Posted by xjoe <mu...@hotmail.com>.
Hi,
The jar does not extract or give any message.
Also I notice during downloading of those files it gave the message
"Checksum error"



Freeman Fang wrote:
> 
> Hi,
> 
> Can you just use jar xvf spring-dao-2.0.6.jar to see if you can  
> extract those jars in your maven repo, so that you will know if those  
> jar is crash or not.
> And Could you check the user permission to access those jar file?
> Freeman
> 
> On 2010-1-12, at 下午1:18, xjoe wrote:
> 
>>
>> Hi,
>> Deleted those 2 files and same error appears again (in mvn install).
>>
>>
>>
>> Freeman Fang wrote:
>>>
>>> Hi,
>>>
>>> You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar
>>> from your local maven repo and build again, I guess for some reason
>>> the zip file is crash during download
>>>
>>> Freeman
>>> On 2010-1-12, at 下午12:14, xjoe wrote:
>>>
>>>>
>>>> Hi,
>>>> Trying to build JBoss deployer as instructed at
>>>> http://servicemix.apache.org/jboss-deployer.html from
>>>> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn
>>>> install.
>>>>
>>>> It gave error message at the end:
>>>>
>>>> [INFO] [compiler:compile {execution: default-compile}]
>>>> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>>
>>>> error: error reading C:\Documents and
>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>>>> error: error reading C:\Documents and
>>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>>> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip  
>>>> file
>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>> -- 
>>> Freeman Fang
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122799.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27123827.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: cannot build JBoss Deployer from codehause svn

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

Can you just use jar xvf spring-dao-2.0.6.jar to see if you can  
extract those jars in your maven repo, so that you will know if those  
jar is crash or not.
And Could you check the user permission to access those jar file?
Freeman

On 2010-1-12, at 下午1:18, xjoe wrote:

>
> Hi,
> Deleted those 2 files and same error appears again (in mvn install).
>
>
>
> Freeman Fang wrote:
>>
>> Hi,
>>
>> You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar
>> from your local maven repo and build again, I guess for some reason
>> the zip file is crash during download
>>
>> Freeman
>> On 2010-1-12, at 下午12:14, xjoe wrote:
>>
>>>
>>> Hi,
>>> Trying to build JBoss deployer as instructed at
>>> http://servicemix.apache.org/jboss-deployer.html from
>>> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn
>>> install.
>>>
>>> It gave error message at the end:
>>>
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> error: error reading C:\Documents and
>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>>> error: error reading C:\Documents and
>>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>>> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip  
>>> file
>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>
>>
>> -- 
>> Freeman Fang
>> ------------------------
>> Open Source SOA: http://fusesource.com
>>
>>
>>
>
> -- 
> View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122799.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com


Re: cannot build JBoss Deployer from codehause svn

Posted by xjoe <mu...@hotmail.com>.
Hi,
Deleted those 2 files and same error appears again (in mvn install).



Freeman Fang wrote:
> 
> Hi,
> 
> You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar  
> from your local maven repo and build again, I guess for some reason  
> the zip file is crash during download
> 
> Freeman
> On 2010-1-12, at 下午12:14, xjoe wrote:
> 
>>
>> Hi,
>> Trying to build JBoss deployer as instructed at
>> http://servicemix.apache.org/jboss-deployer.html from
>> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn  
>> install.
>>
>> It gave error message at the end:
>>
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> error: error reading C:\Documents and
>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
>> error: error reading C:\Documents and
>> Settings\munizul.salleh\.m2\repository\org\springframework\spr
>> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
>>
>>
>> -- 
>> View this message in context:
>> http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122799.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: cannot build JBoss Deployer from codehause svn

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

You may need remove spring-dao-2.0.6.jar and spring-support-2.0.6.jar  
from your local maven repo and build again, I guess for some reason  
the zip file is crash during download

Freeman
On 2010-1-12, at 下午12:14, xjoe wrote:

>
> Hi,
> Trying to build JBoss deployer as instructed at
> http://servicemix.apache.org/jboss-deployer.html from
> http://svn.codehaus.org/servicemix/trunk/jboss-deployer using mvn  
> install.
>
> It gave error message at the end:
>
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 4 source files to C:\jboss_deployer\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> error: error reading C:\Documents and
> Settings\munizul.salleh\.m2\repository\org\springframework\spr
> ing-dao\2.0.6\spring-dao-2.0.6.jar; error in opening zip file
> error: error reading C:\Documents and
> Settings\munizul.salleh\.m2\repository\org\springframework\spr
> ing-support\2.0.6\spring-support-2.0.6.jar; error in opening zip file
>
>
> -- 
> View this message in context: http://old.nabble.com/cannot-build-JBoss-Deployer-from-codehause-svn-tp27122327p27122327.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com