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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to