You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by 钟原froast <fr...@gmail.com> on 2007/09/25 05:57:05 UTC

junit test ok, maven test fails , waiting online

i met a strange problem. the junit test is ok, but when I run the maven
test, it fails, it seems that the junit test case has not been executed.
any help would be appreciated.

Re: junit test ok, maven test fails , waiting online

Posted by Nick Stolwijk <ni...@planet.nl>.
I (and many other users) would be happy to help you with any problem,
but, please, could you read the "How To Ask Questions The Smart Way"
article[1] or any other document about asking questions on user lists?

With regard,

Nick Stolwijk

[1] http://www.catb.org/~esr/faqs/smart-questions.html
[2] http://www.google.com/search?q=How+To+Ask+Questions+The+Smart+Way

钟原froast wrote:
> ok, i've resolved the problem, I typed AgencyStoreDao into agencyStoreDao by
> mistake. I'm sorry for my carelessness.
>
> 2007/9/25, 钟原froast <fr...@gmail.com>:
>   
>>  my settings.xml:
>>
>> <settings>
>>   <localRepository/>
>>   <!--
>>   <interactiveMode/>
>>   <usePluginRegistry/>
>>   <offline/>
>>   <proxies>
>>     <proxy>
>>       <active/>
>>       <protocol/>
>>       <username/>
>>       <password/>
>>       <port/>
>>       <host/>
>>       <nonProxyHosts/>
>>       <id/>
>>     </proxy>
>>   </proxies>
>>   <servers>
>>     <server>
>>       <username/>
>>       <password/>
>>       <privateKey/>
>>       <passphrase/>
>>       <filePermissions/>
>>       <directoryPermissions/>
>>       <configuration/>
>>       <id/>
>>     </server>
>>   </servers>
>>   <mirrors>
>>     <mirror>
>>       <mirrorOf/>
>>       <name/>
>>       <url/>
>>       <id/>
>>     </mirror>
>>   </mirrors>
>>   <profiles>
>>     <profile>
>>       <activation>
>>         <activeByDefault/>
>>         <jdk/>
>>         <os>
>>           <name/>
>>           <family/>
>>           <arch/>
>>           <version/>
>>         </os>
>>         <property>
>>           <name/>
>>           <value/>
>>         </property>
>>         <file>
>>           <missing/>
>>           <exists/>
>>         </file>
>>       </activation>
>>       <properties/>
>>       <repositories>
>>         <repository>
>>           <releases>
>>             <enabled/>
>>             <updatePolicy/>
>>             <checksumPolicy/>
>>           </releases>
>>           <snapshots>
>>             <enabled/>
>>             <updatePolicy/>
>>             <checksumPolicy/>
>>           </snapshots>
>>           <id/>
>>           <name/>
>>           <url/>
>>           <layout/>
>>         </repository>
>>       </repositories>
>>       <pluginRepositories>
>>         <pluginRepository>
>>           <releases>
>>             <enabled/>
>>             <updatePolicy/>
>>             <checksumPolicy/>
>>           </releases>
>>           <snapshots>
>>             <enabled/>
>>             <updatePolicy/>
>>             <checksumPolicy/>
>>           </snapshots>
>>           <id/>
>>           <name/>
>>           <url/>
>>           <layout/>
>>         </pluginRepository>
>>       </pluginRepositories>
>>       <id/>
>>     </profile>
>>   </profiles>
>>   <activeProfiles/>
>>   <pluginGroups/>
>>
>>   -->
>> </settings>
>>
>>
>>
>> --------------------------------------------------------------------------------------------------------------------------
>> there are several projects: gehouse-bean, gehouse-dao, gehouse-service,
>> gehouse--admin,and the parent one is gehouse-master
>>
>>
>>
>>
>>
>>
>>     


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


Re: junit test ok, maven test fails , waiting online

Posted by 钟原froast <fr...@gmail.com>.
ok, i've resolved the problem, I typed AgencyStoreDao into agencyStoreDao by
mistake. I'm sorry for my carelessness.

2007/9/25, 钟原froast <fr...@gmail.com>:
>
>  my settings.xml:
>
> <settings>
>   <localRepository/>
>   <!--
>   <interactiveMode/>
>   <usePluginRegistry/>
>   <offline/>
>   <proxies>
>     <proxy>
>       <active/>
>       <protocol/>
>       <username/>
>       <password/>
>       <port/>
>       <host/>
>       <nonProxyHosts/>
>       <id/>
>     </proxy>
>   </proxies>
>   <servers>
>     <server>
>       <username/>
>       <password/>
>       <privateKey/>
>       <passphrase/>
>       <filePermissions/>
>       <directoryPermissions/>
>       <configuration/>
>       <id/>
>     </server>
>   </servers>
>   <mirrors>
>     <mirror>
>       <mirrorOf/>
>       <name/>
>       <url/>
>       <id/>
>     </mirror>
>   </mirrors>
>   <profiles>
>     <profile>
>       <activation>
>         <activeByDefault/>
>         <jdk/>
>         <os>
>           <name/>
>           <family/>
>           <arch/>
>           <version/>
>         </os>
>         <property>
>           <name/>
>           <value/>
>         </property>
>         <file>
>           <missing/>
>           <exists/>
>         </file>
>       </activation>
>       <properties/>
>       <repositories>
>         <repository>
>           <releases>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </releases>
>           <snapshots>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </snapshots>
>           <id/>
>           <name/>
>           <url/>
>           <layout/>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <releases>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </releases>
>           <snapshots>
>             <enabled/>
>             <updatePolicy/>
>             <checksumPolicy/>
>           </snapshots>
>           <id/>
>           <name/>
>           <url/>
>           <layout/>
>         </pluginRepository>
>       </pluginRepositories>
>       <id/>
>     </profile>
>   </profiles>
>   <activeProfiles/>
>   <pluginGroups/>
>
>   -->
> </settings>
>
>
>
> --------------------------------------------------------------------------------------------------------------------------
> there are several projects: gehouse-bean, gehouse-dao, gehouse-service,
> gehouse--admin,and the parent one is gehouse-master
>
>
>
>
>
>

Re: junit test ok, maven test fails , waiting online

Posted by 钟原froast <fr...@gmail.com>.
>
> my settings.xml:

<settings>
  <localRepository/>
  <!--
  <interactiveMode/>
  <usePluginRegistry/>
  <offline/>
  <proxies>
    <proxy>
      <active/>
      <protocol/>
      <username/>
      <password/>
      <port/>
      <host/>
      <nonProxyHosts/>
      <id/>
    </proxy>
  </proxies>
  <servers>
    <server>
      <username/>
      <password/>
      <privateKey/>
      <passphrase/>
      <filePermissions/>
      <directoryPermissions/>
      <configuration/>
      <id/>
    </server>
  </servers>
  <mirrors>
    <mirror>
      <mirrorOf/>
      <name/>
      <url/>
      <id/>
    </mirror>
  </mirrors>
  <profiles>
    <profile>
      <activation>
        <activeByDefault/>
        <jdk/>
        <os>
          <name/>
          <family/>
          <arch/>
          <version/>
        </os>
        <property>
          <name/>
          <value/>
        </property>
        <file>
          <missing/>
          <exists/>
        </file>
      </activation>
      <properties/>
      <repositories>
        <repository>
          <releases>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </releases>
          <snapshots>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </snapshots>
          <id/>
          <name/>
          <url/>
          <layout/>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </releases>
          <snapshots>
            <enabled/>
            <updatePolicy/>
            <checksumPolicy/>
          </snapshots>
          <id/>
          <name/>
          <url/>
          <layout/>
        </pluginRepository>
      </pluginRepositories>
      <id/>
    </profile>
  </profiles>
  <activeProfiles/>
  <pluginGroups/>

  -->
</settings>


--------------------------------------------------------------------------------------------------------------------------
there are several projects: gehouse-bean, gehouse-dao, gehouse-service,
gehouse--admin,and the parent one is gehouse-master

Re: junit test ok, maven test fails , waiting online

Posted by Wayne Fay <wa...@gmail.com>.
We need more details if you want a serious response.

Wayne

On 9/24/07, 钟原froast <fr...@gmail.com> wrote:
> i met a strange problem. the junit test is ok, but when I run the maven
> test, it fails, it seems that the junit test case has not been executed.
> any help would be appreciated.
>