Whos Online

Joomla

We have 187 guests and 0 members online

    Forums

    We have 21 guests and 0 members online

      Tags

      android (7) anonymity (9) ant (10) apache (54) apple (7) atv (18) australia (8) bernardet (7) bombardier (7) book (7) browser (10) business (8) caliber30 (61) canon (9) cedricwalter (6) checklist (9) chrome (6) classpath (6) collection (7) continuousbuild (25) design (13) designpattern (23) desktop (7) development (28) DIY (9) draganflyer5 (9) dslr (14) eclipse (30) ek4 (8) electronic (18) enfrancais (66) FAQ (6) figures (13) firefox (20) firmware (7) flash (9) flickr (6) framework (12) fud (9) game (19) gaming (6) girls (6) google (68) gpl (8) gps (9) hacking (23) hdtv (7) hollidays (15) homecinema (14) homepage (20) howto (66) infrastructure (6) innoveo (7) iphone (6) italy (10) itsatrap (8) java (73) javascript (11) joke (11) joomla (215) joomla15 (33) joomlacloud (7) junit (9) kde (10) kyosho (62) links (17) linux (122) LittleBigPlanet (16) mambo (18) manual (8) manurhin (9) maps (6) maven (36) mediacenter (9) microsoft (52) modding (10) module (17) morespeed (16) motor (8) motorcycle (13) myhomepage (14) mysql (14) nas (14) neogeo (20) opencomment (27) opensource (61) opensuse (10) oss (7) p2p (7) patch (32) pc (12) pdf (8) php (26) picasa (7) plugin (65) privacy (9) projector (11) protection (7) ps3 (42) publicity (9) quad (18) raptor30 (7) rchelicopter (161) review (32) robot (9) robotic (7) rss (8) safety (8) scooter (29) security (62) securityimage (8) securityimage3 (6) securityimage4 (21) securityimage5 (19) securityimages (14) securityimages5 (6) server (17) simulator (8) smugmug (12) snk (16) software (31) sony (38) spammer (7) statistics (13) storage (7) subversion (6) suse (12) switzerland (7) teamcity (15) testing (9) thundertiger (20) tips (31) tomcat (7) tomtom (7) translatetofrench (8) trip (17) troubleshooting (7) tutorial (9) twitter (6) upgrade (15) vespa (10) video (17) vintage (8) watercooling (9) web2.0 (28) windows (14) xbmc (7) xbox (10) zurich (16) zürich (11)

      Forums

      Live information from Open Source Joomla! 1.0/1.5 development and support for waltercedric.com components/plugins/modules

      Skype me

      My status

      Follow me

      Facebook Digg LinkedIn MySpace Twitter Playstation network Xbox Live
      Digg Del.icio.us Reddit Simpy StumbleUpon Ask Facebook Slashdot Backflip Spurl MisterWong Netvouz Diigo Segnalo RawSugar Shadows Google Furl Newsvine Yahoo Technorati Live Blogmarks Netscape Fark Wink LinkaGoGo Bibsonomy FeedMe Magnolia Blue Tailrank Del.irio.us Y PlugIM SpotBack LinkSwarm

      Gallery

      Twitter

      Google Buzz


      Re: No related articles are displayed - HI all I am back for support. I did help another user having only one article in each categories in the past. This module or plugin display articles which are in the same categories. If you have only article in every categories, it wont display anythin...
      2 hours ago,

      Re: Rocket Themes templates - rt_crystalline_j15.tgz Download at www.waltercedric.com/download/... run xdelta3.exert_crystalline_j15.tgz rt_crystalline_j15.diff rt_crystalline_j15_for_securityimages5.tgz to get the result template
      3 hours ago,

      Re: No Security images visable - HI all, Look here for a solution! I keep adding them, need 5 minutes to do a patch forums.waltercedric.com/index....
      3 hours ago,

      Re: Rocket Themes templates - rt_kinetic_j15.tgz Download at www.waltercedric.com/download/... run xdelta3.exe rt_kinetic_j15.tgz rt_kinetic_j15.diff rt_kinetic_j15_for_securityimages5.tgz to get the result template
      3 hours ago,

      Rocket Themes templates - Some templates (if not all now) are sometimes overriding Joomla! internal views, aka - login, - register, - contact, - password reset and so on. This is allowed by Joomla! but you have to understand that ...
      4 hours ago,
       
      maven2 Unit Test code reuse and dependencies Print E-mail
      User Rating: / 2
      PoorBest 
      Thursday, 10 April 2008 14:52
      maven-logo-2.gif

      In a multi modules project where you have write API or common code for unit tests in one project and want to reuse these in the tests for another project. Maven will crash during the compile phase if you do not make the following.

       

      Maven rules of the game:

      • The main code in src/main/java is visible across modules if you did specify project
        dependencies in pom.xml.
      • Test code reside in src/test/java and is not shared across modules, moreover
      • Test code can use any code from src/main/java but not the other way around, which
        make sense as we want to clearly separate test code (junit testcases) from code shipped.

      The solution is to create additional test jar for each module, this is done by putting in the
      parent pom (lets call it parent-pom.xml)

      inside the <build></build> tags the following:

         1:  <plugin>
         2:    <groupId>org.apache.maven.plugins</groupId>
         3:    <artifactId>maven-jar-plugin</artifactId>
         4:    <executions>
         5:      <execution>
         6:        <goals>
         7:          <goal>test-jar</goal>
         8:        </goals>
         9:      </execution>
        10:    </executions>
        11:  </plugin>

      This will create for each modules an additional jar named {artifactId}-{version}-tests.jar
      during the goal test-jar

      Now for every modules where you want to reuse test classes, all you have to do in to put in every
      modules pom.xml a dependency to that test jar by adding the tests classifier

         1:  <dependency>
         2:        <groupId>yourGroup</groupId>
         3:        <artifactId>yourReusableModuleArtifact</artifactId>
         4:        <version>0.1-SNAPSHOT</version>
         5:        <classifier>tests</classifier>
         6:        <scope>test</scope>
         7:  </dependency>

      This has work for me with Maven 2.0.8

      Related Posts

      relatedArticles

      Tags See All Tags Add New Tag...

      Please Enter New Tags Separated By Comma's
        Or Close

      apache  classpath  maven  testcases 



      Comments
      Add New Search RSS
      +/-
      Write comment
      Name:
      Email:
       
      Website:
      Title:
      UBBCode:
      [b] [i] [u] [url] [quote] [code] [img] 
       
       
      :):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
      :(:x
       
      Please input the anti-spam code that you can read in the image.
       

      Top 200 Tags

      Donation

      Thank You for supporting my work
      Click Here to make a donation