You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by den!s <ti...@caramail.com> on 2008/08/28 10:15:07 UTC
Error when compiling trunk
Hi I got this error when i try to compile the trunk version of smx4:
...
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache ServiceMix Features :: Assembly
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\svn\smx4-trunk\assembly\target
[INFO] Preparing features:add-features-to-repo
[WARNING] Removing: add-features-to-repo from forked lifecycle, to prevent
recursive invocation.
[INFO] [resources:resources {execution: filter}]
[INFO] Using default encoding to copy filtered resources.
[INFO] [dependency:copy {execution: copy-legal}]
[INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
[INFO] Copying legal-1.0.xml to
D:\svn\smx4-trunk\assembly\target\legal\legal.xml
[INFO] [dependency:unpack {execution: unpack-unix}]
[INFO] Configured Artifact:
org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:tar.gz
[INFO] Unpacking C:\Documents and
Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
mix-kernel-1.0.0-SNAPSHOT.tar.gzto
D:\svn\smx4-trunk\assembly\target\dependencies\unix
with Includes null and excludes:null
[INFO] Expanding C:\Documents and
Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
mix-kernel-1.0.0-SNAPSHOT.tar.gz to
C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar
[INFO] Expanding: C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar into
D:\svn\smx4-trunk\assembly\target\dependencies\unix
[INFO] [dependency:unpack {execution: unpack-win}]
[INFO] Configured Artifact:
org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:zip
[INFO] Unpacking C:\Documents and
Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
mix-kernel-1.0.0-SNAPSHOT.zipto
D:\svn\smx4-trunk\assembly\target\dependencies\win
with Includes null and excludes:null
[WARNING] POM for
'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason:
Failed to validate POM for project
org.apache.servicemix:servicemix-services at Artifact
[org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
compile]
[INFO] [remote-resources:process {execution: default}]
[WARNING] Attempting to build MavenProject instance for Artifact
(org.apache.ws.commons:XmlSchema:1.1) of type: jar; constructing POM
artifact instead
.
[WARNING] Attempting to build MavenProject instance for Artifact
(org.apache.servicemix:servicemix-services:3.3-SNAPSHOT) of type: jar;
constructing P
OM artifact instead.
[WARNING] Invalid project model for artifact
[servicemix-services:org.apache.servicemix:3.3-SNAPSHOT]. It will be ignored
by the remote resources Mojo
.
[WARNING] Attempting to build MavenProject instance for Artifact
(org.mvel:mvel:1.3.1-java1.4) of type: jar; constructing POM artifact
instead.
[WARNING] POM for
'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason:
Failed to validate POM for project
org.apache.servicemix:servicemix-services at Artifact
[org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
compile]
[INFO] [features:add-features-to-repo {execution: add-features-to-repo}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error populating repository
Illegal character in authority at index 7: file://C:\Documents and
Settings\CONSUL03\.m2\repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.
0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error populating
repository
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:585)
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.plugin.MojoExecutionException: Error populating
repository
at
org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:129)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by: java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:842)
at
org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:83)
... 18 more
Caused by: java.net.URISyntaxException: Illegal character in authority at
index 7: file://C:\Documents and Settings\CONSUL03\.m2\repository/org/apache
/servicemix/nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
at java.net.URI$Parser.fail(URI.java:2816)
at java.net.URI$Parser.parseAuthority(URI.java:3154)
at java.net.URI$Parser.parseHierarchical(URI.java:3065)
at java.net.URI$Parser.parse(URI.java:3021)
at java.net.URI.<init>(URI.java:578)
at java.net.URI.create(URI.java:840)
... 19 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 31 seconds
[INFO] Finished at: Thu Aug 28 10:07:05 CEST 2008
[INFO] Final Memory: 96M/172M
[INFO]
------------------------------------------------------------------------
Apparently the error occurs when assembling all the components to create the
smx4 archive.
Thanks
Denis
--
View this message in context: http://www.nabble.com/Error-when-compiling-trunk-tp19196155p19196155.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error when compiling trunk
Posted by Willem Jiang <wi...@gmail.com>.
Hi ,
I got the same error today in my windows box and did a quick fix for it [1]
Please review the patch and apply it :)
[1] https://issues.apache.org/activemq/browse/SM-1559
Thanks,
Willem
Gert Vanthienen wrote:
> Denis,
>
> Given the exception message ("Illegal character in authority at index
> 7"), I suspect there is a problem on Windows with the Maven plugin we
> use. The URI is being evaluated as if it points to an external
> machine (with the authority before the @ in the URI). This type of
> problem can usually be solved by using file:/// instead of file://,
> but we should definitely look into this. Most of us are using Linux
> or MacOS, that's probably why we have never run into this before.
> Could you open a JIRA issue and paste the stack trace in there. Also,
> if you like to take a stab and provide a patch for this, we definitely
> support and welcome any kind of contribution ;)
>
> Thanks,
>
> Gert
>
> den!s wrote:
>> Hi I got this error when i try to compile the trunk version of smx4:
>>
>> ...
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache ServiceMix Features :: Assembly
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] Deleting directory D:\svn\smx4-trunk\assembly\target
>> [INFO] Preparing features:add-features-to-repo
>> [WARNING] Removing: add-features-to-repo from forked lifecycle, to
>> prevent
>> recursive invocation.
>> [INFO] [resources:resources {execution: filter}]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [dependency:copy {execution: copy-legal}]
>> [INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
>> [INFO] Copying legal-1.0.xml to
>> D:\svn\smx4-trunk\assembly\target\legal\legal.xml
>> [INFO] [dependency:unpack {execution: unpack-unix}]
>> [INFO] Configured Artifact:
>> org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:tar.gz
>>
>> [INFO] Unpacking C:\Documents and
>> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
>>
>> mix-kernel-1.0.0-SNAPSHOT.tar.gzto
>> D:\svn\smx4-trunk\assembly\target\dependencies\unix
>> with Includes null and excludes:null
>> [INFO] Expanding C:\Documents and
>> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
>>
>> mix-kernel-1.0.0-SNAPSHOT.tar.gz to
>> C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar
>> [INFO] Expanding: C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar into
>> D:\svn\smx4-trunk\assembly\target\dependencies\unix
>> [INFO] [dependency:unpack {execution: unpack-win}]
>> [INFO] Configured Artifact:
>> org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:zip
>> [INFO] Unpacking C:\Documents and
>> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
>>
>> mix-kernel-1.0.0-SNAPSHOT.zipto
>> D:\svn\smx4-trunk\assembly\target\dependencies\win
>> with Includes null and excludes:null
>> [WARNING] POM for
>> 'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
>> invalid. It will be ignored for artifact resolution. Reason:
>> Failed to validate POM for project
>> org.apache.servicemix:servicemix-services at Artifact
>> [org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
>> compile]
>> [INFO] [remote-resources:process {execution: default}]
>> [WARNING] Attempting to build MavenProject instance for Artifact
>> (org.apache.ws.commons:XmlSchema:1.1) of type: jar; constructing POM
>> artifact instead
>> .
>> [WARNING] Attempting to build MavenProject instance for Artifact
>> (org.apache.servicemix:servicemix-services:3.3-SNAPSHOT) of type: jar;
>> constructing P
>> OM artifact instead.
>> [WARNING] Invalid project model for artifact
>> [servicemix-services:org.apache.servicemix:3.3-SNAPSHOT]. It will be
>> ignored
>> by the remote resources Mojo
>> .
>> [WARNING] Attempting to build MavenProject instance for Artifact
>> (org.mvel:mvel:1.3.1-java1.4) of type: jar; constructing POM artifact
>> instead.
>> [WARNING] POM for
>> 'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
>> invalid. It will be ignored for artifact resolution. Reason:
>> Failed to validate POM for project
>> org.apache.servicemix:servicemix-services at Artifact
>> [org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
>> compile]
>> [INFO] [features:add-features-to-repo {execution: add-features-to-repo}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error populating repository
>>
>> Illegal character in authority at index 7: file://C:\Documents and
>> Settings\CONSUL03\.m2\repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.
>>
>> 0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Error populating
>> repository
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>
>> at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>> 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:585)
>> 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.plugin.MojoExecutionException: Error
>> populating
>> repository
>> at
>> org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:129)
>>
>> at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>
>> ... 16 more
>> Caused by: java.lang.IllegalArgumentException
>> at java.net.URI.create(URI.java:842)
>> at
>> org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:83)
>>
>> ... 18 more
>> Caused by: java.net.URISyntaxException: Illegal character in
>> authority at
>> index 7: file://C:\Documents and
>> Settings\CONSUL03\.m2\repository/org/apache
>> /servicemix/nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
>>
>> at java.net.URI$Parser.fail(URI.java:2816)
>> at java.net.URI$Parser.parseAuthority(URI.java:3154)
>> at java.net.URI$Parser.parseHierarchical(URI.java:3065)
>> at java.net.URI$Parser.parse(URI.java:3021)
>> at java.net.URI.<init>(URI.java:578)
>> at java.net.URI.create(URI.java:840)
>> ... 19 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 3 minutes 31 seconds
>> [INFO] Finished at: Thu Aug 28 10:07:05 CEST 2008
>> [INFO] Final Memory: 96M/172M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Apparently the error occurs when assembling all the components to
>> create the
>> smx4 archive.
>>
>> Thanks Denis
>>
>
>
Re: Error when compiling trunk
Posted by Gert Vanthienen <ge...@skynet.be>.
Denis,
Given the exception message ("Illegal character in authority at index
7"), I suspect there is a problem on Windows with the Maven plugin we
use. The URI is being evaluated as if it points to an external machine
(with the authority before the @ in the URI). This type of problem can
usually be solved by using file:/// instead of file://, but we should
definitely look into this. Most of us are using Linux or MacOS, that's
probably why we have never run into this before. Could you open a JIRA
issue and paste the stack trace in there. Also, if you like to take a
stab and provide a patch for this, we definitely support and welcome any
kind of contribution ;)
Thanks,
Gert
den!s wrote:
> Hi I got this error when i try to compile the trunk version of smx4:
>
> ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache ServiceMix Features :: Assembly
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\svn\smx4-trunk\assembly\target
> [INFO] Preparing features:add-features-to-repo
> [WARNING] Removing: add-features-to-repo from forked lifecycle, to prevent
> recursive invocation.
> [INFO] [resources:resources {execution: filter}]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [dependency:copy {execution: copy-legal}]
> [INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
> [INFO] Copying legal-1.0.xml to
> D:\svn\smx4-trunk\assembly\target\legal\legal.xml
> [INFO] [dependency:unpack {execution: unpack-unix}]
> [INFO] Configured Artifact:
> org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:tar.gz
> [INFO] Unpacking C:\Documents and
> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
> mix-kernel-1.0.0-SNAPSHOT.tar.gzto
> D:\svn\smx4-trunk\assembly\target\dependencies\unix
> with Includes null and excludes:null
> [INFO] Expanding C:\Documents and
> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
> mix-kernel-1.0.0-SNAPSHOT.tar.gz to
> C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar
> [INFO] Expanding: C:\DOCUME~1\CONSUL03\LOCALS~1\Temp\tmp45604.tar into
> D:\svn\smx4-trunk\assembly\target\dependencies\unix
> [INFO] [dependency:unpack {execution: unpack-win}]
> [INFO] Configured Artifact:
> org.apache.servicemix.kernel:apache-servicemix-kernel:1.0.0-SNAPSHOT:zip
> [INFO] Unpacking C:\Documents and
> Settings\CONSUL03\.m2\repository\org\apache\servicemix\kernel\apache-servicemix-kernel\1.0.0-SNAPSHOT\apache-service
> mix-kernel-1.0.0-SNAPSHOT.zipto
> D:\svn\smx4-trunk\assembly\target\dependencies\win
> with Includes null and excludes:null
> [WARNING] POM for
> 'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
> invalid. It will be ignored for artifact resolution. Reason:
> Failed to validate POM for project
> org.apache.servicemix:servicemix-services at Artifact
> [org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
> compile]
> [INFO] [remote-resources:process {execution: default}]
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.apache.ws.commons:XmlSchema:1.1) of type: jar; constructing POM
> artifact instead
> .
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.apache.servicemix:servicemix-services:3.3-SNAPSHOT) of type: jar;
> constructing P
> OM artifact instead.
> [WARNING] Invalid project model for artifact
> [servicemix-services:org.apache.servicemix:3.3-SNAPSHOT]. It will be ignored
> by the remote resources Mojo
> .
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.mvel:mvel:1.3.1-java1.4) of type: jar; constructing POM artifact
> instead.
> [WARNING] POM for
> 'org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:compile' is
> invalid. It will be ignored for artifact resolution. Reason:
> Failed to validate POM for project
> org.apache.servicemix:servicemix-services at Artifact
> [org.apache.servicemix:servicemix-services:pom:3.3-SNAPSHOT:
> compile]
> [INFO] [features:add-features-to-repo {execution: add-features-to-repo}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error populating repository
>
> Illegal character in authority at index 7: file://C:\Documents and
> Settings\CONSUL03\.m2\repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.
> 0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error populating
> repository
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> 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:585)
> 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.plugin.MojoExecutionException: Error populating
> repository
> at
> org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:129)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> ... 16 more
> Caused by: java.lang.IllegalArgumentException
> at java.net.URI.create(URI.java:842)
> at
> org.apache.servicemix.tooling.features.AddFeaturesToRepoMojo.execute(AddFeaturesToRepoMojo.java:83)
> ... 18 more
> Caused by: java.net.URISyntaxException: Illegal character in authority at
> index 7: file://C:\Documents and Settings\CONSUL03\.m2\repository/org/apache
> /servicemix/nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/apache-servicemix-nmr-1.0-m2-SNAPSHOT-features.xml
> at java.net.URI$Parser.fail(URI.java:2816)
> at java.net.URI$Parser.parseAuthority(URI.java:3154)
> at java.net.URI$Parser.parseHierarchical(URI.java:3065)
> at java.net.URI$Parser.parse(URI.java:3021)
> at java.net.URI.<init>(URI.java:578)
> at java.net.URI.create(URI.java:840)
> ... 19 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 31 seconds
> [INFO] Finished at: Thu Aug 28 10:07:05 CEST 2008
> [INFO] Final Memory: 96M/172M
> [INFO]
> ------------------------------------------------------------------------
>
> Apparently the error occurs when assembling all the components to create the
> smx4 archive.
>
> Thanks
> Denis
>