I don't have a junit dependency in this pom.xml because I have no tests. In
fact, I have no src/test directory either. My only dependencies are:
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>${jpa.version}</version>
</dependency>
</dependencies>
Matt
Donnchadh Ó Donnabháin wrote:
>
> I've been using maven2 with JDK 6 for several months now (beta 2 and
> recently FCS) with no issues. I presume you have a dependecy on e.g.
> junit in your pom.xml?
>
> Donnchadh
>
> On 12/18/06, mraible <[EMAIL PROTECTED]> wrote:
>>
>> I tried running Maven 2 with JDK 6 and I get the following error. Is
>> this a
>> Maven issue or do I have to do something to get my pom.xml to work with
>> JDK
>> 6.
>>
>> [INFO] [surefire:test]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] No Java test frameworks found
>>
>> Thanks,
>>
>> Matt
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-2-and-JDK-6-tf2841587s177.html#a7934094
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Maven-2-and-JDK-6-tf2841587s177.html#a7936741
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]