You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Frank Budinsky <fr...@ca.ibm.com> on 2007/03/07 16:53:46 UTC

mvn problem?

Hi,

Recently, I've been getting the following error when running mvn on the 
sdo project. Does anybody have an idea what the problem might be?

Thanks,
Frank


[INFO] Building Tuscany SDO Implementation
[INFO]    task-segment: [install]
[INFO] 
-------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 0 resource to META-INF
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 50 resources
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: 
D:\tuscany\java\sdo\impl\target\surefire-repor
ts
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: mvn problem?

Posted by Snehit Prabhu <sn...@gmail.com>.
I'm facing the same problem when I build sca-java-integration, piece by
piece. Build failure occurs in more than one place, always under the same
pretext.

On 3/9/07, Raymond Feng <en...@gmail.com> wrote:
>
> Hi, Frank.
>
> Did you check in your fix? I'm still seeing the same problem when I try to
> build SDO from scratch.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Frank Budinsky" <fr...@ca.ibm.com>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, March 07, 2007 8:25 AM
> Subject: Re: mvn problem?
>
>
> > Thanks Raymond! That fixed it.
> >
> > Frank.
> >
> > "Raymond Feng" <en...@gmail.com> wrote on 03/07/2007 11:12:02 AM:
> >
> >> Hi, Frank.
> >>
> >> I'm seeing the same problem and did some investigation. It seems to be
> a
> > bug
> >> in the latest maven surefire plugin 2.3.1 SNAPSHOT. You can try to
> >> explicitly set the version to 2.3 in the pom.xml like the following:
> >>
> >>                 <plugin>
> >>                     <groupId>org.apache.maven.plugins</groupId>
> >>                     <artifactId>maven-surefire-plugin</artifactId>
> >>                     <version>2.3</version>
> >>                     <configuration>
> >>                         <includes>
> >>                             <include>**/*TestCase.java</include>
> >>                         </includes>
> >>                         <reportFormat>brief</reportFormat>
> >>                         <useFile>false</useFile>
> >>                         <forkMode>once</forkMode>
> >>                         <argLine>-ea</argLine>
> >>                     </configuration>
> >>                 </plugin>
> >>
> >> Thanks,
> >> Raymond
> >>
> >> ----- Original Message -----
> >> From: "Frank Budinsky" <fr...@ca.ibm.com>
> >> To: <tu...@ws.apache.org>
> >> Sent: Wednesday, March 07, 2007 7:53 AM
> >> Subject: mvn problem?
> >>
> >>
> >> > Hi,
> >> >
> >> > Recently, I've been getting the following error when running mvn on
> > the
> >> > sdo project. Does anybody have an idea what the problem might be?
> >> >
> >> > Thanks,
> >> > Frank
> >> >
> >> >
> >> > [INFO] Building Tuscany SDO Implementation
> >> > [INFO]    task-segment: [install]
> >> > [INFO]
> >> >
> >
> -------------------------------------------------------------------------
> >> > ---
> >> > [INFO] [resources:resources]
> >> > [INFO] Using default encoding to copy filtered resources.
> >> > [INFO] Copying 8 resources
> >> > [INFO] Copying 0 resource to META-INF
> >> > [INFO] [compiler:compile]
> >> > [INFO] Nothing to compile - all classes are up to date
> >> > [INFO] [resources:testResources]
> >> > [INFO] Using default encoding to copy filtered resources.
> >> > [INFO] Copying 50 resources
> >> > [INFO] [compiler:testCompile]
> >> > [INFO] Nothing to compile - all classes are up to date
> >> > [INFO] [surefire:test]
> >> > [INFO] Surefire report directory:
> >> > D:\tuscany\java\sdo\impl\target\surefire-repor
> >> > ts
> >> > 'C:\Program' is not recognized as an internal or external command,
> >> > operable program or batch file.
> >> > [INFO]
> >> >
> > ------------------------------------------------------------------------
> >> > [ERROR] BUILD FAILURE
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: mvn problem?

Posted by Raymond Feng <en...@gmail.com>.
Hi, Frank.

Did you check in your fix? I'm still seeing the same problem when I try to 
build SDO from scratch.

Thanks,
Raymond

----- Original Message ----- 
From: "Frank Budinsky" <fr...@ca.ibm.com>
To: <tu...@ws.apache.org>
Sent: Wednesday, March 07, 2007 8:25 AM
Subject: Re: mvn problem?


> Thanks Raymond! That fixed it.
>
> Frank.
>
> "Raymond Feng" <en...@gmail.com> wrote on 03/07/2007 11:12:02 AM:
>
>> Hi, Frank.
>>
>> I'm seeing the same problem and did some investigation. It seems to be a
> bug
>> in the latest maven surefire plugin 2.3.1 SNAPSHOT. You can try to
>> explicitly set the version to 2.3 in the pom.xml like the following:
>>
>>                 <plugin>
>>                     <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-surefire-plugin</artifactId>
>>                     <version>2.3</version>
>>                     <configuration>
>>                         <includes>
>>                             <include>**/*TestCase.java</include>
>>                         </includes>
>>                         <reportFormat>brief</reportFormat>
>>                         <useFile>false</useFile>
>>                         <forkMode>once</forkMode>
>>                         <argLine>-ea</argLine>
>>                     </configuration>
>>                 </plugin>
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message ----- 
>> From: "Frank Budinsky" <fr...@ca.ibm.com>
>> To: <tu...@ws.apache.org>
>> Sent: Wednesday, March 07, 2007 7:53 AM
>> Subject: mvn problem?
>>
>>
>> > Hi,
>> >
>> > Recently, I've been getting the following error when running mvn on
> the
>> > sdo project. Does anybody have an idea what the problem might be?
>> >
>> > Thanks,
>> > Frank
>> >
>> >
>> > [INFO] Building Tuscany SDO Implementation
>> > [INFO]    task-segment: [install]
>> > [INFO]
>> >
> -------------------------------------------------------------------------
>> > ---
>> > [INFO] [resources:resources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] Copying 8 resources
>> > [INFO] Copying 0 resource to META-INF
>> > [INFO] [compiler:compile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [resources:testResources]
>> > [INFO] Using default encoding to copy filtered resources.
>> > [INFO] Copying 50 resources
>> > [INFO] [compiler:testCompile]
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO] [surefire:test]
>> > [INFO] Surefire report directory:
>> > D:\tuscany\java\sdo\impl\target\surefire-repor
>> > ts
>> > 'C:\Program' is not recognized as an internal or external command,
>> > operable program or batch file.
>> > [INFO]
>> >
> ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: mvn problem?

Posted by Frank Budinsky <fr...@ca.ibm.com>.
Thanks Raymond! That fixed it.

Frank.

"Raymond Feng" <en...@gmail.com> wrote on 03/07/2007 11:12:02 AM:

> Hi, Frank.
> 
> I'm seeing the same problem and did some investigation. It seems to be a 
bug 
> in the latest maven surefire plugin 2.3.1 SNAPSHOT. You can try to 
> explicitly set the version to 2.3 in the pom.xml like the following:
> 
>                 <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-surefire-plugin</artifactId>
>                     <version>2.3</version>
>                     <configuration>
>                         <includes>
>                             <include>**/*TestCase.java</include>
>                         </includes>
>                         <reportFormat>brief</reportFormat>
>                         <useFile>false</useFile>
>                         <forkMode>once</forkMode>
>                         <argLine>-ea</argLine>
>                     </configuration>
>                 </plugin>
> 
> Thanks,
> Raymond
> 
> ----- Original Message ----- 
> From: "Frank Budinsky" <fr...@ca.ibm.com>
> To: <tu...@ws.apache.org>
> Sent: Wednesday, March 07, 2007 7:53 AM
> Subject: mvn problem?
> 
> 
> > Hi,
> >
> > Recently, I've been getting the following error when running mvn on 
the
> > sdo project. Does anybody have an idea what the problem might be?
> >
> > Thanks,
> > Frank
> >
> >
> > [INFO] Building Tuscany SDO Implementation
> > [INFO]    task-segment: [install]
> > [INFO]
> > 
-------------------------------------------------------------------------
> > ---
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] Copying 8 resources
> > [INFO] Copying 0 resource to META-INF
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] Copying 50 resources
> > [INFO] [compiler:testCompile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory:
> > D:\tuscany\java\sdo\impl\target\surefire-repor
> > ts
> > 'C:\Program' is not recognized as an internal or external command,
> > operable program or batch file.
> > [INFO]
> > 
------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: mvn problem?

Posted by Raymond Feng <en...@gmail.com>.
Hi, Frank.

I'm seeing the same problem and did some investigation. It seems to be a bug 
in the latest maven surefire plugin 2.3.1 SNAPSHOT. You can try to 
explicitly set the version to 2.3 in the pom.xml like the following:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.3</version>
                    <configuration>
                        <includes>
                            <include>**/*TestCase.java</include>
                        </includes>
                        <reportFormat>brief</reportFormat>
                        <useFile>false</useFile>
                        <forkMode>once</forkMode>
                        <argLine>-ea</argLine>
                    </configuration>
                </plugin>

Thanks,
Raymond

----- Original Message ----- 
From: "Frank Budinsky" <fr...@ca.ibm.com>
To: <tu...@ws.apache.org>
Sent: Wednesday, March 07, 2007 7:53 AM
Subject: mvn problem?


> Hi,
>
> Recently, I've been getting the following error when running mvn on the
> sdo project. Does anybody have an idea what the problem might be?
>
> Thanks,
> Frank
>
>
> [INFO] Building Tuscany SDO Implementation
> [INFO]    task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 8 resources
> [INFO] Copying 0 resource to META-INF
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 50 resources
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\tuscany\java\sdo\impl\target\surefire-repor
> ts
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org