[
https://issues.apache.org/activemq/browse/SM-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashwin Karpe updated SM-1833:
-----------------------------
Description:
By default Windows sets the default directory for the repository as "Documents
and Settings". Source builds break when this is the case since the URLs are
not tolerant of spaces...
See output below
===========================================================================================
C:\Apache Projects\Servicemix\smx4\features\trunk\assembly>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache ServiceMix :: Assembly
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing features:add-features-to-repo
[WARNING] Removing: add-features-to-repo from forked lifecycle, to prevent
recurs
ive 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] org.apache.servicemix.legal:legal:1.0:xml already exists in C:\Apache
Proj
ects\Servicemix\smx4\features\trunk\assembly\target\legal
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact:
org.apache.servicemix.features:org.apache.servicemix.
features.branding:4.1.0-SNAPSHOT:jar
[INFO]
org.apache.servicemix.features:org.apache.servicemix.features.branding:4.1
.0-SNAPSHOT:jar already exists in C:\Apache
Projects\Servicemix\smx4\features\tru
nk\assembly\target\dependencies
[INFO] [dependency:unpack {execution: unpack-unix}]
[INFO] Configured Artifact:
org.apache.servicemix.kernel:apache-servicemix-kernel
:1.1.0:tar.gz
[INFO] apache-servicemix-kernel-1.1.0.tar.gz already unpacked.
[INFO] [dependency:unpack {execution: unpack-win}]
[INFO] Configured Artifact:
org.apache.servicemix.kernel:apache-servicemix-kernel
:1.1.0:zip
[INFO] apache-servicemix-kernel-1.1.0.zip already unpacked.
Downloading:
http://repository.apache.org/content/groups/snapshots-group/org/osgi
/jmx/1.0-SNAPSHOT/jmx-1.0-SNAPSHOT.pom
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/osgi/jmx/1.
0-SNAPSHOT/jmx-1.0-SNAPSHOT.pom
Downloading:
http://scriptengines.googlecode.com/svn/m2-repo/org/apache/santuario
/xmlsec/1.4.0/xmlsec-1.4.0.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmls
ec-1.4.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santua
rio/xmlsec/1.4.0/xmlsec-1.4.0.pom
Downloading:
http://repository.ops4j.org/maven2/org/apache/santuario/xmlsec/1.4.0
/xmlsec-1.4.0.pom
Downloading:
http://download.java.net/maven/1//org.apache.santuario/poms/xmlsec-1
.4.0.pom
Downloading:
http://download.java.net/maven/2/org/apache/santuario/xmlsec/1.4.0/x
mlsec-1.4.0.pom
Downloading:
http://repository.jboss.org/maven2/org/apache/santuario/xmlsec/1.4.0
/xmlsec-1.4.0.pom
Downloading:
http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
he/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
Downloading:
http://scriptengines.googlecode.com/svn/m2-repo/org/apache/santuario
/xmlsec/1.4.2/xmlsec-1.4.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.2/xmls
ec-1.4.2.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santua
rio/xmlsec/1.4.2/xmlsec-1.4.2.pom
Downloading:
http://repository.ops4j.org/maven2/org/apache/santuario/xmlsec/1.4.2
/xmlsec-1.4.2.pom
Downloading:
http://download.java.net/maven/1//org.apache.santuario/poms/xmlsec-1
.4.2.pom
Downloading:
http://download.java.net/maven/2/org/apache/santuario/xmlsec/1.4.2/x
mlsec-1.4.2.pom
Downloading:
http://repository.jboss.org/maven2/org/apache/santuario/xmlsec/1.4.2
/xmlsec-1.4.2.pom
Downloading:
http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
he/santuario/xmlsec/1.4.2/xmlsec-1.4.2.pom
Downloading:
http://scriptengines.googlecode.com/svn/m2-repo/org/apache/ws/securi
ty/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss
4j-1.5.2.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/sec
urity/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading:
http://repository.ops4j.org/maven2/org/apache/ws/security/wss4j/1.5.
2/wss4j-1.5.2.pom
Downloading:
http://download.java.net/maven/1//org.apache.ws.security/poms/wss4j-
1.5.2.pom
Downloading:
http://download.java.net/maven/2/org/apache/ws/security/wss4j/1.5.2/
wss4j-1.5.2.pom
Downloading:
http://repository.jboss.org/maven2/org/apache/ws/security/wss4j/1.5.
2/wss4j-1.5.2.pom
Downloading:
http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
he/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
[WARNING] POM for
'org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:po
m:1.0:compile' is invalid. It will be ignored for artifact resolution. Reason:
No
t a v4.0.0 POM. for project
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-
bridge at C:\Documents and
Settings\akarpe\.m2\repository\org\iso_relax\verifier\
jaxp\validation\isorelax-jaxp-bridge\1.0\isorelax-jaxp-bridge-1.0.pom
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.
velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[WARNING] Attempting to build MavenProject instance for Artifact
(org.apache.ws.c
ommons:XmlSchema:1.1) of type: jar; constructing POM artifact instead.
[WARNING] Attempting to build MavenProject instance for Artifact
(org.mvel:mvel:1
.3.1-java1.4) of type: jar; constructing POM artifact instead.
[WARNING] Attempting to build MavenProject instance for Artifact
(org.iso_relax.v
erifier.jaxp.validation:isorelax-jaxp-bridge:1.0) of type: jar; constructing POM
artifact instead.
[WARNING] Invalid project model for artifact
[isorelax-jaxp-bridge:org.iso_relax.
verifier.jaxp.validation:1.0]. It will be ignored by the remote resources Mojo.
[WARNING] POM for
'org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:po
m:1.0:compile' is invalid. It will be ignored for artifact resolution. Reason:
No
t a v4.0.0 POM. for project
org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-
bridge at C:\Documents and
Settings\akarpe\.m2\repository\org\iso_relax\verifier\
jaxp\validation\isorelax-jaxp-bridge\1.0\isorelax-jaxp-bridge-1.0.pom
[INFO] [features:add-features-to-repo {execution: add-features-to-repo}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error populating repository
Illegal character in path at index 20: file:///C:/Documents and
Settings/akarpe/.
m2/repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0/apache-servic
emix-nmr-1.0.0-features.xml
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54 seconds
[INFO] Finished at: Tue Mar 31 05:59:40 CDT 2009
[INFO] Final Memory: 76M/135M
[INFO] ------------------------------------------------------------------------
C:\Apache Projects\Servicemix\smx4\features\trunk\assembly>
was:By default Windows sets the default directory for the repository as
"Documents and Settings". Source builds break when this is the case since the
URLs are not tolerant od spaces...
> Features maven plugin does not take into account URLs with spaces in the
> repository. The build breaks on Windows where the default directory is
> "Documents and Settings"
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SM-1833
> URL: https://issues.apache.org/activemq/browse/SM-1833
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Wndows
> Reporter: Ashwin Karpe
> Assignee: Ashwin Karpe
>
> By default Windows sets the default directory for the repository as
> "Documents and Settings". Source builds break when this is the case since
> the URLs are not tolerant of spaces...
> See output below
> ===========================================================================================
> C:\Apache Projects\Servicemix\smx4\features\trunk\assembly>mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache ServiceMix :: Assembly
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing features:add-features-to-repo
> [WARNING] Removing: add-features-to-repo from forked lifecycle, to prevent
> recurs
> ive 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] org.apache.servicemix.legal:legal:1.0:xml already exists in C:\Apache
> Proj
> ects\Servicemix\smx4\features\trunk\assembly\target\legal
> [INFO] [dependency:copy {execution: copy}]
> [INFO] Configured Artifact:
> org.apache.servicemix.features:org.apache.servicemix.
> features.branding:4.1.0-SNAPSHOT:jar
> [INFO]
> org.apache.servicemix.features:org.apache.servicemix.features.branding:4.1
> .0-SNAPSHOT:jar already exists in C:\Apache
> Projects\Servicemix\smx4\features\tru
> nk\assembly\target\dependencies
> [INFO] [dependency:unpack {execution: unpack-unix}]
> [INFO] Configured Artifact:
> org.apache.servicemix.kernel:apache-servicemix-kernel
> :1.1.0:tar.gz
> [INFO] apache-servicemix-kernel-1.1.0.tar.gz already unpacked.
> [INFO] [dependency:unpack {execution: unpack-win}]
> [INFO] Configured Artifact:
> org.apache.servicemix.kernel:apache-servicemix-kernel
> :1.1.0:zip
> [INFO] apache-servicemix-kernel-1.1.0.zip already unpacked.
> Downloading:
> http://repository.apache.org/content/groups/snapshots-group/org/osgi
> /jmx/1.0-SNAPSHOT/jmx-1.0-SNAPSHOT.pom
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/osgi/jmx/1.
> 0-SNAPSHOT/jmx-1.0-SNAPSHOT.pom
> Downloading:
> http://scriptengines.googlecode.com/svn/m2-repo/org/apache/santuario
> /xmlsec/1.4.0/xmlsec-1.4.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmls
> ec-1.4.0.pom
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santua
> rio/xmlsec/1.4.0/xmlsec-1.4.0.pom
> Downloading:
> http://repository.ops4j.org/maven2/org/apache/santuario/xmlsec/1.4.0
> /xmlsec-1.4.0.pom
> Downloading:
> http://download.java.net/maven/1//org.apache.santuario/poms/xmlsec-1
> .4.0.pom
> Downloading:
> http://download.java.net/maven/2/org/apache/santuario/xmlsec/1.4.0/x
> mlsec-1.4.0.pom
> Downloading:
> http://repository.jboss.org/maven2/org/apache/santuario/xmlsec/1.4.0
> /xmlsec-1.4.0.pom
> Downloading:
> http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
> he/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom
> Downloading:
> http://scriptengines.googlecode.com/svn/m2-repo/org/apache/santuario
> /xmlsec/1.4.2/xmlsec-1.4.2.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.2/xmls
> ec-1.4.2.pom
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santua
> rio/xmlsec/1.4.2/xmlsec-1.4.2.pom
> Downloading:
> http://repository.ops4j.org/maven2/org/apache/santuario/xmlsec/1.4.2
> /xmlsec-1.4.2.pom
> Downloading:
> http://download.java.net/maven/1//org.apache.santuario/poms/xmlsec-1
> .4.2.pom
> Downloading:
> http://download.java.net/maven/2/org/apache/santuario/xmlsec/1.4.2/x
> mlsec-1.4.2.pom
> Downloading:
> http://repository.jboss.org/maven2/org/apache/santuario/xmlsec/1.4.2
> /xmlsec-1.4.2.pom
> Downloading:
> http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
> he/santuario/xmlsec/1.4.2/xmlsec-1.4.2.pom
> Downloading:
> http://scriptengines.googlecode.com/svn/m2-repo/org/apache/ws/securi
> ty/wss4j/1.5.2/wss4j-1.5.2.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss
> 4j-1.5.2.pom
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/sec
> urity/wss4j/1.5.2/wss4j-1.5.2.pom
> Downloading:
> http://repository.ops4j.org/maven2/org/apache/ws/security/wss4j/1.5.
> 2/wss4j-1.5.2.pom
> Downloading:
> http://download.java.net/maven/1//org.apache.ws.security/poms/wss4j-
> 1.5.2.pom
> Downloading:
> http://download.java.net/maven/2/org/apache/ws/security/wss4j/1.5.2/
> wss4j-1.5.2.pom
> Downloading:
> http://repository.jboss.org/maven2/org/apache/ws/security/wss4j/1.5.
> 2/wss4j-1.5.2.pom
> Downloading:
> http://s3.amazonaws.com/maven.springframework.org/milestone/org/apac
> he/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
> [WARNING] POM for
> 'org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:po
> m:1.0:compile' is invalid. It will be ignored for artifact resolution.
> Reason: No
> t a v4.0.0 POM. for project
> org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-
> bridge at C:\Documents and
> Settings\akarpe\.m2\repository\org\iso_relax\verifier\
> jaxp\validation\isorelax-jaxp-bridge\1.0\isorelax-jaxp-bridge-1.0.pom
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.
> velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.apache.ws.c
> ommons:XmlSchema:1.1) of type: jar; constructing POM artifact instead.
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.mvel:mvel:1
> .3.1-java1.4) of type: jar; constructing POM artifact instead.
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.iso_relax.v
> erifier.jaxp.validation:isorelax-jaxp-bridge:1.0) of type: jar; constructing
> POM
> artifact instead.
> [WARNING] Invalid project model for artifact
> [isorelax-jaxp-bridge:org.iso_relax.
> verifier.jaxp.validation:1.0]. It will be ignored by the remote resources
> Mojo.
> [WARNING] POM for
> 'org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-bridge:po
> m:1.0:compile' is invalid. It will be ignored for artifact resolution.
> Reason: No
> t a v4.0.0 POM. for project
> org.iso_relax.verifier.jaxp.validation:isorelax-jaxp-
> bridge at C:\Documents and
> Settings\akarpe\.m2\repository\org\iso_relax\verifier\
> jaxp\validation\isorelax-jaxp-bridge\1.0\isorelax-jaxp-bridge-1.0.pom
> [INFO] [features:add-features-to-repo {execution: add-features-to-repo}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error populating repository
> Illegal character in path at index 20: file:///C:/Documents and
> Settings/akarpe/.
> m2/repository/org/apache/servicemix/nmr/apache-servicemix-nmr/1.0.0/apache-servic
> emix-nmr-1.0.0-features.xml
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 54 seconds
> [INFO] Finished at: Tue Mar 31 05:59:40 CDT 2009
> [INFO] Final Memory: 76M/135M
> [INFO]
> ------------------------------------------------------------------------
> C:\Apache Projects\Servicemix\smx4\features\trunk\assembly>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.