You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by bkbonner <br...@paraware.com> on 2007/02/21 20:45:45 UTC

exec-maven-plugin = path with spaces is truncated

I tried running the following POM using:

mvn generate-sources

POM:


			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>start derby network server</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>exec</goal>
						</goals>
						<configuration>
							<executable>java</executable>
							<arguments>
								<argument>-classpath</argument>
								<classpath />
								<argument>
									org.apache.derby.drda.NetworkServerControl
								</argument>
								<argument>start</argument>
							</arguments>
						</configuration>
					</execution>
					<execution>
						<id>shutdown derby network server</id>
						<phase>install</phase>
						<goals>
							<goal>exec</goal>
						</goals>
						<configuration>
							<executable>java</executable>
							<arguments>
								<argument>-classpath</argument>
								<classpath />
								<argument>
									org.apache.derby.drda.NetworkServerControl
								</argument>
								<argument>shutdown</argument>
							</arguments>
						</configuration>
					</execution>
				</executions>
			</plugin>


and the following snippet comes from the console:

[INFO] [exec:exec {execution: start derby network server}]
[INFO] 'C:\Documents' is not recognized as an internal or external command,
[INFO] operable program or batch file.

My project is located under "C:\Documents and
Settings\fus4076\workspace\pim-biz"

It looks like it's truncating spaces.  Is anyone else seeing this, or should
I log a JIRA for it?

Brian


-- 
View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9087792
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] exec-maven-plugin = path with spaces is truncated

Posted by Jerome Lacoste <je...@gmail.com>.
On 2/21/07, bkbonner <br...@paraware.com> wrote:
>
> It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem.
>
> Is there any chance of a 1.1 release for this exec-maven-plugin?

Some of the threading management semantics introduced in 1.1-SNAPSHOT
have to be revised before the plugin is ready for release. I will see
when I get the time to fix that.

Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] exec-maven-plugin = path with spaces is truncated

Posted by bkbonner <br...@paraware.com>.
It seems that 1.1-SNAPSHOT on codehaus repository fixes this problem.

Is there any chance of a 1.1 release for this exec-maven-plugin?

Brian


-- 
View this message in context: http://www.nabble.com/exec-maven-plugin--%3D--path-with-spaces-is-truncated-tf3268904s177.html#a9088232
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org