You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by servicer-mixer <st...@yahoo.com> on 2008/11/02 06:34:52 UTC

Problem building smx4 from svn

I'm running into the following problem when trying to build smx4 with latest
checkout:
 
[INFO] Failed to resolve artifact.

GroupId: org.apache.servicemix.bundles
ArtifactId: org.apache.servicemix.bundles.jing
Version: 20030619_1-SNAPSHOT

I can't find this version in any of the repos. Should I update the version
or is there an additional repo I should be using?

Thanks
-- 
View this message in context: http://www.nabble.com/Problem-building-smx4-from-svn-tp20287263p20287263.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem building smx4 from svn

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

I just update code and build it successfully.
Which module you see this build error?

Freeman

servicer-mixer wrote:
> Hi Gert,
>
> The build is getting past that part now. However, I'm still not able to get
> a complete build done. Getting the following now:
>
> [INFO] Error populating repository
>
> Illegal character in path at index 20: file:///C:/Documents and
> Settings/user/.m2/repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0
> -m4-SNAPSHOT/apache-servicemix-nmr-1.0.0-m4-SNAPSHOT-features.xml
>
> Any ideas?
>
> Thanks
>
> Edit: I'm guessing it doesn't like the space... Not sure how to fix it
> though.
>   


Re: Problem building smx4 from svn

Posted by servicer-mixer <st...@yahoo.com>.
I was able to get the build working by changing the repository location in
servicemix.xml under conf for maven to:
<localRepository>c:/docume~1/user/.m2/repository</localRepository> 

The error was caused by this line in AddFeaturesToRepoMojo:
Repository repo = new Repository(URI.create(translateFromMaven(uri)));

Looks like URI.create did not like spaces in the generated string.

Thanks
-- 
View this message in context: http://www.nabble.com/Problem-building-smx4-from-svn-tp20287263p20335985.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem building smx4 from svn

Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,

Could you paste some of the surrounding log lines?  It looks like there 
is another problem with the features-maven-plugin on Windows.

Regards,

Gert

servicer-mixer wrote:
> Hi Gert,
>
> The build is getting past that part now. However, I'm still not able to get
> a complete build done. Getting the following now:
>
> [INFO] Error populating repository
>
> Illegal character in path at index 20: file:///C:/Documents and
> Settings/user/.m2/repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0
> -m4-SNAPSHOT/apache-servicemix-nmr-1.0.0-m4-SNAPSHOT-features.xml
>
> Any ideas?
>
> Thanks
>
> Edit: I'm guessing it doesn't like the space... Not sure how to fix it
> though.
>   


Re: Problem building smx4 from svn

Posted by servicer-mixer <st...@yahoo.com>.
Hi Gert,

The build is getting past that part now. However, I'm still not able to get
a complete build done. Getting the following now:

[INFO] Error populating repository

Illegal character in path at index 20: file:///C:/Documents and
Settings/user/.m2/repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0
-m4-SNAPSHOT/apache-servicemix-nmr-1.0.0-m4-SNAPSHOT-features.xml

Any ideas?

Thanks
-- 
View this message in context: http://www.nabble.com/Problem-building-smx4-from-svn-tp20287263p20311983.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem building smx4 from svn

Posted by Gert Vanthienen <ge...@skynet.be>.
L.S.,

The artifact was in the Apache release repository but wasn't 
synchronized to central repo.  This has now been fixed and the features' 
pom.xml has been updated to use the released version.
Could you try building smx4 again now?

Regards,

Gert

Chris Custine wrote:
> I think this should be using the recent release version which is 20030619_1,
> but it looks like this artifact didn't make it up to the release repo
> anyway.  Hopefully we can get this fixed up soon.
>
> --
> Chris Custine
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
>
> On Sat, Nov 1, 2008 at 11:34 PM, servicer-mixer <st...@yahoo.com>wrote:
>
>   
>> I'm running into the following problem when trying to build smx4 with
>> latest
>> checkout:
>>
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.servicemix.bundles
>> ArtifactId: org.apache.servicemix.bundles.jing
>> Version: 20030619_1-SNAPSHOT
>>
>> I can't find this version in any of the repos. Should I update the version
>> or is there an additional repo I should be using?
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-building-smx4-from-svn-tp20287263p20287263.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>>     
>
>   


Re: Problem building smx4 from svn

Posted by Chris Custine <cc...@apache.org>.
I think this should be using the recent release version which is 20030619_1,
but it looks like this artifact didn't make it up to the release repo
anyway.  Hopefully we can get this fixed up soon.

--
Chris Custine
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Sat, Nov 1, 2008 at 11:34 PM, servicer-mixer <st...@yahoo.com>wrote:

>
> I'm running into the following problem when trying to build smx4 with
> latest
> checkout:
>
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.servicemix.bundles
> ArtifactId: org.apache.servicemix.bundles.jing
> Version: 20030619_1-SNAPSHOT
>
> I can't find this version in any of the repos. Should I update the version
> or is there an additional repo I should be using?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Problem-building-smx4-from-svn-tp20287263p20287263.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>