Prasad, The file I am using is attached. I will create a patch later and attach it to the jira. I have tried with maven-2.0.3-SNAPSHOT without any luck. I get the same error. The pom.xml in the repo is not deleting and creating the database.
Thanks Anita --- Prasad Kashyap <[EMAIL PROTECTED]> wrote: > Anita, > > In the top down m2 build of the 383564 revision I > did this morning, > security tests failed again. > > I have updated my maven to version 2.1-SNAPSHOT. I > also have the > <prerequisites> block in my pom.xml. > > See the attached log for more details. > > Cheers > Prasad > > On 3/4/06, Jacek Laskowski <[EMAIL PROTECTED]> > wrote: > > 2006/3/3, anita kulshreshtha > <[EMAIL PROTECTED]>: > > > I am able to build successfully (all test > pass) > > > using : > > > mvn -o > > > > -Djava.security.auth.login.config=src/test-data/data/login.config > > > -Dlog4j.configuration=file:log4j.properties > install > > > I need to set these properties. network.log > defined > > > in log4j.properties is not being created. > > > > As a temporary solution we could inject these > properties in setUp of > > the respective tests and clean it in tearDown, > afterwards. However, > > I'm somehow convinced that environmentVariables > will work ;) > > > > > Anita > > > > Jacek > > > > -- > > Jacek Laskowski > > http://www.laskowski.org.pl > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Copyright 2006 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- $Revision$ $Date$ --> <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo</artifactId> <version>1.2-SNAPSHOT</version> </parent> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-security</artifactId> <version>${geronimoVersion}</version> <packaging>jar</packaging> <name>Geronimo :: Security</name> <build> <testResources> <testResource> <directory>src/test-data</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <inherited>true</inherited> <configuration> <forkMode>pertest</forkMode> <!-- <argLine>-enableassertions</argLine> --> <systemProperties> <property> <name>java.security.auth.login.config</name> <value>src/test-data/data/login.config</value> </property> <property> <name>log4j.configuration</name> <value>file:log4j.properties</value> </property> </systemProperties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>process-test-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <!-- Create the test databases directory --> <delete dir="target/database"/> <mkdir dir="target/database"/> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <!-- Spec Dependencies --> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId> <version>${geronimoSpecJ2eeJaccVersion}</version> </dependency> <!-- geronimo jars --> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-common</artifactId> </dependency> <!-- interceptor uses dependencies.dependency.version --> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-interceptor</artifactId> <version>${geronimoVersion}</version> </dependency> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-j2ee</artifactId> </dependency> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-kernel</artifactId> </dependency> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-management</artifactId> </dependency> <dependency> <groupId>org.apache.geronimo</groupId> <artifactId>geronimo-system</artifactId> </dependency> <!-- Thirdparty --> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> <dependency> <groupId>mx4j</groupId> <artifactId>mx4j</artifactId> </dependency> <dependency> <groupId>concurrent</groupId> <artifactId>concurrent</artifactId> <version>${concurrentVersion}</version> </dependency> <dependency> <groupId>activeio</groupId> <artifactId>activeio</artifactId> <version>${activeIoVersion}</version> </dependency> <!-- test database --> <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>${hsqldbVersion}</version> </dependency> <dependency> <groupId>regexp</groupId> <artifactId>regexp</artifactId> <version>${regexpVersion}</version> </dependency> </dependencies> </project>