Hi,

actually i've already setup a few things:

   - artifactory
   - hudson
   - scm (tesing accurev)
   - maven2
   - issue tracking is currently bugzilla, but might be jira

i'm looking at the default test classes maven creates, are they obsolete?
Maven does not create Test Classes...


i saw that maven added junit 3.8.1 instead of 4.x as a dependency and
auto generated this code:

should i change the junit in the pom to 4.7?
Yes you should, cause if you use JUnit 4.X instead of 3.8 ?


in some junit examples they use annotations (@Test), which doesn't work with
that code..
You have to use JUnit 4.X instead and configure to use Java 1.5 at least to be able to use Annotations...

Add a part
<build>
   <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <debug>true</debug>
                </configuration>
            </plugin>
   </plugins>
</build>

in your pom to compile with 1.5 or as in this example with 1.6...


Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to