If this is an integration test, the proper way to exclude it is to change its name so that it ends with "ITCase.java", see
On 2012-07-20 04:04, s...@apache.org wrote: > Author: sebb > Date: Fri Jul 20 02:04:51 2012 > New Revision: 1363623 > > URL: http://svn.apache.org/viewvc?rev=1363623&view=rev > Log: > Add missing property definitions for integration tests > > Modified: > commons/proper/logging/trunk/pom.xml > > Modified: commons/proper/logging/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=1363623&r1=1363622&r2=1363623&view=diff > ============================================================================== > --- commons/proper/logging/trunk/pom.xml (original) > +++ commons/proper/logging/trunk/pom.xml Fri Jul 20 02:04:51 2012 > @@ -343,10 +343,16 @@ under the License. > <includes> > <include>**/*TestCase.java</include> > </includes> > + <excludes> > + <exclude>**/WeakHashTableTestCase.java</exclude> > + </excludes> > <systemPropertyVariables> > <!-- > > <org.apache.commons.logging.diagnostics.dest>STDOUT</org.apache.commons.logging.diagnostics.dest> > --> > + <log4j12>${log4j:log4j:jar}</log4j12> > + <logkit>${logkit:logkit:jar}</logkit> > + <servlet-api>${javax.servlet:servlet-api:jar}</servlet-api> > > <commons-logging>target/${project.build.finalName}.jar</commons-logging> > > <commons-logging-api>target/${project.artifactId}-api-${project.version}.jar</commons-logging-api> > > <commons-logging-adapters>target/${project.artifactId}-adapters-${project.version}.jar</commons-logging-adapters> > @@ -371,6 +377,19 @@ under the License. > <tarLongFileMode>gnu</tarLongFileMode> > </configuration> > </plugin> > + <!-- Define properties for referencing dependencies --> > + <plugin> > + <groupId>org.apache.maven.plugins</groupId> > + <artifactId>maven-dependency-plugin</artifactId> > + <version>2.4</version> > + <executions> > + <execution> > + <goals> > + <goal>properties</goal> > + </goals> > + </execution> > + </executions> > + </plugin> > > </plugins> > </build> > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org