Missing JARs when building Geronimo from source
In trying to build Apache Geronimo from the subversion trunk tonight, I noticed that eight JAR files are missing from the remote repository Maven uses to download the files.
In case you’re trying to build Geronimo before the files get placed in the repository, I got the missing JAR files from http://cvs.apache.org/repository/geronimo-spec/jars/. I just put the missing files in my local Maven repository and everything built fine.
Here was Maven’s first complaint
+---------------------------------------- | Executing (default): Geronimo :: Demo Webapp | Memory: 7M/10M +---------------------------------------- Attempting to download geronimo-spec-servlet-2.4-SNAPSHOT.jar. WARNING: Failed to download geronimo-spec-servlet-2.4-SNAPSHOT.jar. Attempting to download mx4j-jmx-2.0.1.jar. 261K downloaded BUILD FAILED File...... C:\Projects\Geronimo\maven.xml Element... maven:reactor Line...... 454 Column.... 27 The build cannot continue because of the following unsatisfied dependency: geronimo-spec-servlet-2.4-SNAPSHOT.jar
I didn’t look into the Maven project files to see from where it was trying to download the files. I just grabbed the missing geronimo-spec-servlet-2.4-SNAPSHOT.jar file from the Apache CVS repository.
Continuing the build, that led to this message, which seemed to satisfy Maven that it had the file available:
+---------------------------------------- Attempting to download geronimo-spec-servlet-2.4-SNAPSHOT.jar. Artifact /geronimo-spec/jars/geronimo-spec-servlet-2.4-SNAPSHOT.jar doesn't exists in remote repository, but it exists locally build:start:
The build continued but still more files not found:
Attempting to download geronimo-spec-j2ee-management-1.0-SNAPSHOT.jar. WARNING: Failed to download geronimo-spec-j2ee-management-1.0-SNAPSHOT.jar. Attempting to download geronimo-spec-j2ee-deployment-1.1-SNAPSHOT.jar. WARNING: Failed to download geronimo-spec-j2ee-deployment-1.1-SNAPSHOT.jar. Attempting to download cglib-full-2.0.jar. 280K downloaded Attempting to download mx4j-2.0.1.jar. 382K downloaded BUILD FAILED File...... C:\Projects\Geronimo\maven.xml Element... maven:reactor Line...... 454 Column.... 27 The build cannot continue because of the following unsatisfied dependencies: geronimo-spec-j2ee-management-1.0-SNAPSHOT.jar geronimo-spec-j2ee-deployment-1.1-SNAPSHOT.jar
After a few of these runs with complaints of missing JARs from the remote repository, here is a complete list of the missing JARs in the hopes it saves someone else a little frustration:
geronimo-spec-servlet-2.4-SNAPSHOT.jar geronimo-spec-j2ee-management-1.0-SNAPSHOT.jar geronimo-spec-j2ee-deployment-1.1-SNAPSHOT.jar geronimo-spec-jta-1.0.1B-SNAPSHOT.jar geronimo-spec-ejb-2.1-SNAPSHOT.jar geronimo-spec-j2ee-connector-1.5-SNAPSHOT.jar geronimo-spec-j2ee-jacc-1.0-SNAPSHOT.jar geronimo-spec-jsp-2.0-SNAPSHOT.jar