Ringo De Smet wrote: > Gabriele, > > 2009/3/17 Gabriele Columbro <[email protected]>: >> Maybe you're referring to the maven-enforcer-plugin? [1] >> >> I've never used personally so not sure if it can accomplish your goal, but >> hopefully can help ;) >> > > Nope, that's not the one. This one check that you are running under a > specific JVM version. I can't use this one because our developers are > on a real Java 1.4 environment, and on Hudson I'm running in a Java > 1.5 environment. Although I used Maven profiles to my advantage for > the different running environments (e.g. configuring the maven > compiler plugin differently), I want to 100% sure that all class files > generated by *any* plugin are Java 1.4 class files. This plugin should > be one that runs at the end of a build and really scans the > jar/war/ear files, not the classes folder.
Can't you just configure a JDK1.4 in hudson to use for compiling/running Maven on the jobs that build your project? -dirk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
