Commits

a...@abr-laptop  committed c0c1736

Cleaning up files that should have been deleted

  • Participants
  • Parent commits 5019164

Comments (0)

Files changed (84)

File jhove2-all/pom.xml

-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.jhove2</groupId>
-    <artifactId>jhove2-all</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <geotools.version>2.6.5</geotools.version>
-    </properties>
-
-    <parent>
-        <groupId>org.jhove2</groupId>
-        <artifactId>jhove2</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-
-    <dependencies>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>log4j</groupId>
-            <artifactId>log4j</artifactId>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.jhove2</groupId>
-            <artifactId>jhove2-core</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-    </dependencies>
-
-    <profiles>
-        <profile>
-
-            <id>ignore openSP and Online tests</id>
-            <build>
-                <plugins>
-
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-plugin</artifactId>
-                        <version>2.5</version>
-                        <configuration>
-                            <additionalClasspathElements>
-                                <additionalClasspathElement>config/</additionalClasspathElement>
-                                <additionalClasspathElement>config/droid</additionalClasspathElement>
-                            </additionalClasspathElements>
-
-                            <excludes>
-                                <exclude>org/jhove2/core/source/URLSourceTest*</exclude>
-                                <exclude>org/jhove2/module/format/sgml/**</exclude>
-                            </excludes>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-
-
-    </profiles>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>appassembler-maven-plugin</artifactId>
-                    <version>1.1</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-        <plugins>
-            <!-- build classpaths from the project dependencies -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <!-- build a UNIX classpath  -->
-                    <execution>
-                        <id>build-unix-classpath</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>build-classpath</goal>
-                        </goals>
-                        <configuration>
-                            <prefix>$JHOVE2_HOME/lib</prefix>
-                            <!-- Unix uses / as file separator and : as a path separator -->
-                            <pathSeparator>:</pathSeparator>
-                            <fileSeparator>\/</fileSeparator>
-                            <outputFilterFile>true</outputFilterFile>
-                            <outputFile>${project.basedir}/src/main/assembly/classpath_sh.properties</outputFile>
-                        </configuration>
-                    </execution>
-                    <!-- build a Windows classpath  -->
-                    <execution>
-                        <id>build-windows-classpath</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>build-classpath</goal>
-                        </goals>
-                        <configuration>
-                            <prefix>%JHOVE2_HOME%\lib</prefix>
-                            <!-- Windows uses \ as file separator and ; as a path separator -->
-                            <pathSeparator>;</pathSeparator>
-                            <fileSeparator>\\</fileSeparator>
-                            <outputFilterFile>true</outputFilterFile>
-                            <outputFile>${project.basedir}/src/main/assembly/classpath_cmd.properties</outputFile>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <!-- Replace the classpath with the content of the properties file generated above -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>Inject classpath</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <!-- We copy the .sh file with injection -->
-                                <copy todir="${project.basedir}/src/main/scripts" overwrite="true">
-                                    <fileset dir="src/main/assembly">
-                                        <filename name="env.sh" />
-                                    </fileset>
-                                    <filterset>
-                                        <filtersfile
-                                                file="${project.basedir}/src/main/assembly/classpath_sh.properties" />
-                                        <filter token="jarName" value="${project.build.finalName}" />
-                                    </filterset>
-                                </copy>
-                                <!-- We copy the .cmd file with injection -->
-                                <copy todir="${project.basedir}/src/main/scripts">
-                                    <fileset dir="src/main/assembly">
-                                        <filename name="env.cmd" />
-                                    </fileset>
-                                    <filterset>
-                                        <!--  filtering currently not filtering file separator string '\' properly for windows platform -->
-                                        <!--
-                                                      <filtersfile
-                                                      file="${project.basedir}/src/main/assembly/classpath_cmd.properties"/>
-                                                  -->
-                                        <filter token="jarName" value="${project.build.finalName}" />
-                                    </filterset>
-                                </copy>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <!-- generate the JHOVE2 Command Line jar executable -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <version>2.3</version>
-                <configuration>
-                    <archive>
-                        <addMavenDescriptor>false</addMavenDescriptor>
-                        <!-- make jar executable -->
-                        <manifest>
-                            <mainClass>org.jhove2.app.JHOVE2CommandLine</mainClass>
-                        </manifest>
-                        <manifestEntries>
-                            <Sealed>false</Sealed>
-                        </manifestEntries>
-                    </archive>
-                    <forceCreation>true</forceCreation>
-                    <finalName>${project.build.finalName}</finalName>
-                </configuration>
-            </plugin>
-            <!-- generate the javadoc -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.6.1</version>
-                <configuration></configuration>
-            </plugin>
-            <!--
-                   package the jar, artifacts,and bin scripts into zip and tar files
-                   for JHOVE2 release
-               -->
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <version>2.2-beta-5</version>
-                <configuration>
-                    <descriptors>
-                        <descriptor>src/main/assembly/jhove2_release.xml</descriptor>
-                    </descriptors>
-                </configuration>
-
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <!-- this is used for inheritance merges -->
-                        <phase>package</phase>
-                        <!-- append to the packaging phase. -->
-                        <goals>
-                            <goal>single</goal>
-                            <!-- goals == mojos -->
-                        </goals>
-                    </execution>
-                </executions>
-
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

File jhove2-formats/jhove2-riff/jhove2-riff.iml

       <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
       <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
-      <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
-      <excludeFolder url="file://$MODULE_DIR$/target/classes" />
-      <excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
-      <excludeFolder url="file://$MODULE_DIR$/target/surefire" />
-      <excludeFolder url="file://$MODULE_DIR$/target/test-classes" />
+      <excludeFolder url="file://$MODULE_DIR$/target" />
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />

File jhove2-persistens/src/test/resources/spring/filepaths-config.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:util="http://www.springframework.org/schema/util"
-	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
-	   xsi:schemaLocation="http://www.springframework.org/schema/beans 
-           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-           http://www.springframework.org/schema/context
-           http://www.springframework.org/schema/context/spring-context-2.5.xsd
-		   http://www.springframework.org/schema/util 
-		   http://www.springframework.org/schema/util/spring-util-2.0.xsd">
-	
-	<bean id="droidDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/droid/"/>
-	</bean>
-	
-	<bean id="emptyDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/"/>
-	</bean>
-
-	<bean id="iccDirBasePath" class="java.lang.String" >
-		 <constructor-arg type="java.lang.String" 
-	        value="examples/icc/"/>
-	</bean>
-
-	<bean id="quickenDirBasePath" class="java.lang.String" >
-		 <constructor-arg type="java.lang.String" 
-	        value="examples/quicken/"/>
-	</bean>
-
-	<bean id="sgmlDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/sgml/"/>
-	</bean>
-
-	<bean id="shapeDirBasePath" class="java.lang.String" >
-	        <constructor-arg type="java.lang.String" 
-	        value="examples/shapefiles/"/>
-	</bean>
-		
-	<bean id="tempDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/temp/"/>
-	</bean>
-	
-	<bean id="tiffDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/tiff/"/>
-	</bean>
-	
-	<bean id="utf8DirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/utf8/"/>
-	</bean>
-	
-	<bean id="waveDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/wave/"/>
-	</bean>
-	
-	
-	<bean id="xmlDirBasePath" class="java.lang.String" >
-		<constructor-arg type="java.lang.String" 
-	        value="examples/xml/"/>
-	</bean>
-
-
-    <bean id="testFile01" class="java.lang.String">
-    	<constructor-arg type="java.lang.String" value="xmas_menu.txt"/>
-	</bean>
-
-	
-</beans>

File jhove2-persistens/src/test/resources/spring/jhove2-developers-config.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
-
-
-    <util:list id="OriginalDeveloperOrgs" list-class="java.util.ArrayList" scope="singleton" value-type="org.jhove2.core.Agent">
-        <ref bean="CDLAgent"/>
-        <ref bean="PorticoAgent"/>
-        <ref bean="StanfordAgent"/>
-    </util:list>
-
-    <!-- CDL agent bean -->
-    <bean id="CDLAgent" class="org.jhove2.core.Agent" scope="singleton" >
-        <constructor-arg type="java.lang.String" value="California Digital Library"/>
-        <constructor-arg type="org.jhove2.core.Agent$Type" value="Corporate"/>
-        <property name="URI" value="http://www.cdlib.org/"/>
-    </bean>
-    <!-- Portico agent bean -->
-    <bean id="PorticoAgent" class="org.jhove2.core.Agent" scope="singleton">
-        <constructor-arg type="java.lang.String" value="Portico"/>
-        <constructor-arg type="org.jhove2.core.Agent$Type" value="Corporate"/>
-        <property name="URI" value="http://www.portico.org/"/>
-    </bean>
-    <!-- Stanford agent bean -->
-    <bean id="StanfordAgent" class="org.jhove2.core.Agent" scope="singleton">
-        <constructor-arg type="java.lang.String" value="Stanford University"/>
-        <constructor-arg type="org.jhove2.core.Agent$Type" value="Corporate"/>
-        <property name="URI" value="http://www.stanford.edu/"/>
-    </bean>
-</beans>

File jhove2-persistens/src/test/resources/spring/jhove2-droid-test-config.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:util="http://www.springframework.org/schema/util"
-	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
-	   xsi:schemaLocation="http://www.springframework.org/schema/beans
-           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-           http://www.springframework.org/schema/context
-           http://www.springframework.org/schema/context/spring-context-2.5.xsd
-		   http://www.springframework.org/schema/util
-		   http://www.springframework.org/schema/util/spring-util-2.0.xsd">
-
-
-
-
-<!-- DROID identifier bean -->
-	<bean id="DroidIdentifier" class="org.jhove2.module.identify.DROIDIdentifier" scope="prototype">
-		<constructor-arg ref="baseModuleAccessor"/>
-		<property name="developers">
-			<list value-type="org.jhove2.core.Agent">
-				<ref bean="CDLAgent"/>
-				<ref bean="PorticoAgent"/>
-				<ref bean="StanfordAgent"/>
-			</list>
-		</property>
-		<property name="configFileName" value="droid/DROID_config.xml"/>
-		<property name="sigFileName" value="droid/DROID_SignatureFile_V20.xml"/>
-		<property name="wrappedProduct" ref="DROIDWrappedProduct"/>
-	</bean>
-
-		<!-- Identifier module bean -->
-	<bean id="testIdentifier" class="org.jhove2.module.identify.IdentifierModule"
-	      scope="prototype">
-	    <constructor-arg ref="identifierAccessor"/>
-		<property name="developers">
-			<list value-type="org.jhove2.core.Agent">
-				<ref bean="CDLAgent"/>
-				<ref bean="PorticoAgent"/>
-				<ref bean="StanfordAgent"/>
-			</list>
-		</property>
-		<property name="sourceIdentifier"  ref="DroidIdentifier"/>
-		<property name="shouldSkipIdentifyIfPreIdentified" value="true"/>
-	</bean>
-
-
-
-
-
-   <!-- DROID Wrapped Product bean -->
-   <bean id="DROIDWrappedProduct" class="org.jhove2.core.WrappedProduct" scope="singleton" >
-      	<property name="name" value="DROID"/>
-      	<property name="version" value="4.0.0"/>
-      	<property name="releaseDate" value="2009-07-23"/>
-      	<property name="rightsStatement" value="BSD license"/>
-   		<property name="authority" value="The National Archives, Digital Preservation Department  http://www.nationalarchives.gov.uk/"/>
-   		<property name="environments" value="Unix Windows Macintosh"/>
-   		<property name="languages" value="JAVA"/>
-   		<property name="note" value="The DROID Signature and Configuration files in the JHOVE2 distribution have been edited to, among other things, detect additional signatures for formats"/>
-	    <property name="openSource" value="true"/>
-	</bean>
-
-
-	<!-- Aggrefier module bean -->
-	<bean id="aggrefier" class="org.jhove2.module.aggrefy.AggrefierModule"
-	      scope="prototype">
-	    <constructor-arg ref="aggrefierAccessor"/>
-		<property name="developers">
-			<list value-type="org.jhove2.core.Agent">
-				<ref bean="CDLAgent"/>
-				<ref bean="PorticoAgent"/>
-				<ref bean="StanfordAgent"/>
-			</list>
-		</property>
-		<property name="recognizers">
-			<list value-type="org.jhove2.module.aggrefy.Recognizer">
-				<ref bean="testStrictShapeFileRecognizer"/>
-			</list>
-		</property>
-	</bean>
-
-
-	<!-- Strict Shapefile recognizer bean
-	     Must have all 3 required files; does NOT accept files with unrecognized extensions -->
-	<bean id="testStrictShapeFileRecognizer" class="org.jhove2.module.aggrefy.GlobPathRecognizer"
-	 scope="prototype">
-	 	<constructor-arg ref="baseModuleAccessor"/>
-	 	<property name="developers">
-			<list value-type="org.jhove2.core.Agent">
-				<ref bean="CDLAgent"/>
-				<ref bean="PorticoAgent"/>
-				<ref bean="StanfordAgent"/>
-			</list>
-		</property>
-	 	<property name="formatIdentifier" ref="shapefileIdentifier"/>
-	 	<property name="fileGroupingExpr" value="(.*?)\.((?i:shp\.)?\w{3})$"/>
-	 	<property name="mustHaveExpr" value="^((?i:shp)|(?i:shx)|(?i:dbf))$"/>
-	 	<property name="mayHaveExpr"
-	 	          value="^((?i:shp.xml)|(?i:prj)|(?i:sbn)|(?i:sbx)|(?i:atx)|(?i:qix)|(?i:fix)|(?i:grx))$"/>
-	 	<property name="fileGroupingCaptureGroupIndex" value="1" />
-	 	<property name="mustHaveCaptureGroupIndex" value="2"/>
-	 	<property name="mayHaveCaptureGroupIndex" value="2"/>
-	 	<property name="minMustHavesToIdentify" value="3"/>
-	  	<property name="includeUnmatchedFromGroup" value="false"/>
-	</bean>
-
-
-	<bean id="quickenIdentifier" class="org.jhove2.core.I8R" scope="singleton">
-		<constructor-arg type="java.lang.String" value="http://jhove2.org/terms/format/quicken"/>
-	</bean>
-
-
-</beans>

File jhove2-persistens/src/test/resources/spring/jhove2-framework-test-config.xml

-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:util="http://www.springframework.org/schema/util"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:context="http://www.springframework.org/schema/context"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-           http://www.springframework.org/schema/context
-           http://www.springframework.org/schema/context/spring-context-2.5.xsd
-		   http://www.springframework.org/schema/util
-		   http://www.springframework.org/schema/util/spring-util-2.0.xsd">
-
-    <context:component-scan base-package="org.jhove2"/>
-    <util:properties id="persistence" location="classpath:properties/persistence/persistence.properties"/>
-    <import resource="classpath:spring/jhove2-developers-config.xml"/>
-    <import resource="classpath:spring/jhove2-droid-test-config.xml"/>
-    <import resource="classpath:spring/jhove2-utf8-test-config.xml"/>
-
-    <bean id="persistenceMgrClassName" class="java.lang.String">
-        <constructor-arg type="java.lang.String"
-                         value="org.jhove2.config.spring.SpringBerkeleyDbPersistenceManagerFactory"/>
-    </bean>
-
-    <!--  ConfigInfo bean -->
-    <bean id="configInfo" class="org.jhove2.config.spring.SpringConfigInfo" scope="singleton"/>
-
-
-    <!-- JHOVE2 framework bean -->
-    <bean id="bdbJHOVE2" class="org.jhove2.core.JHOVE2" scope="prototype">
-        <constructor-arg ref="frameworkAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-        <property name="configInfo" ref="configInfo"/>
-        <property name="sourceFactory" ref="sourceFactory"/>
-        <property name="commands" ref="commands"/>
-    </bean>
-
-
-    <!-- Identifier command bean -->
-    <bean id="identifierCommand" class="org.jhove2.module.identify.IdentifierCommand"
-          scope="prototype">
-        <constructor-arg ref="identifierAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-    </bean>
-
-    <!-- Aggrefier command Bean -->
-    <bean id="aggrefierCommand" class="org.jhove2.module.aggrefy.AggrefierCommand"
-          scope="prototype">
-        <constructor-arg ref="aggrefierAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-    </bean>
-
-
-    <bean id="dispatcherCommand" class="org.jhove2.module.format.DispatcherCommand"
-          scope="prototype">
-        <constructor-arg ref="dispatcherAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="digesterCommand" class="org.jhove2.module.digest.DigesterCommand"
-          scope="prototype">
-        <constructor-arg ref="digesterAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="assessorCommand" class="org.jhove2.module.assess.AssessorCommand"
-          scope="prototype">
-        <constructor-arg ref="assessorAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-                <ref bean="PorticoAgent"/>
-                <ref bean="StanfordAgent"/>
-            </list>
-        </property>
-    </bean>
-
-
-    <util:list id="commands" scope="singleton"
-               value-type="org.jhove2.module.Command">
-        <ref bean="identifierCommand"/>
-        <ref bean="dispatcherCommand"/>
-        <ref bean="digesterCommand"/>
-        <ref bean="assessorCommand"/>
-        <ref bean="aggrefierCommand"/>
-    </util:list>
-
-    <bean id="sourceFactory" class="org.jhove2.persist.berkeleydpl.BerkeleyDbSourceFactory" scope="prototype"/>
-    <bean id="applicationModuleAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbApplicationModuleAccessor"/>
-    <bean id="frameworkAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbFrameworkAccessor" scope="prototype">
-
-    </bean>
-    <bean id="formatModuleAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbFormatModuleAccessor"
-          scope="prototype"/>
-    <bean id="formatProfileAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbFormatProfileAccessor"
-          scope="prototype"/>
-
-    <bean id="baseModuleAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbBaseModuleAccessor"
-          scope="prototype"/>
-    <bean id="dispatcherAccessor" parent="baseModuleAccessor"/>
-    <bean id="digesterAccessor" parent="baseModuleAccessor"/>
-    <bean id="assessorAccessor" parent="baseModuleAccessor"/>
-    <bean id="aggrefierAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbAggrefierAccessor" scope="prototype"/>
-    <bean id="identifierAccessor" class="org.jhove2.persist.berkeleydpl.BerkeleyDbIdentifierAccessor"
-          scope="prototype"/>
-
-
-    <bean id="BerkeleyDbPersistenceManager" class="org.jhove2.persist.berkeleydpl.BerkeleyDbPersistenceManager"
-          scope="singleton">
-        <property name="envHome" value="C:\"/>
-        <property name="entityStoreName" value="JHOVE2_Entity_Store"/>
-        <property name="storeConfig" ref="storeConfig"/>
-        <property name="envConfig" ref="environmentConfig"/>
-    </bean>
-
-    <bean id="environmentConfig" class="com.sleepycat.je.EnvironmentConfig"
-          scope="singleton">
-        <property name="allowCreate" value="true"/>
-        <property name="readOnly" value="false"/>
-        <property name="transactional" value="false"/>
-    </bean>
-
-    <bean id="storeConfig" class="com.sleepycat.persist.StoreConfig"
-          scope="singleton">
-        <property name="allowCreate" value="true"/>
-        <property name="deferredWrite" value="false"/>
-        <property name="temporary" value="true"/>
-        <!-- True may not be specified if the EntityStore is transactional -->
-    </bean>
-
-    <!--  BEAN for message properties files (used for I18N ) -->
-    <!--    NOTE  BEAN MUST HAVE id "messageSource" -->
-    <bean id="messageSource" class="org.jhove2.config.spring.ResourceBundleMessageSource">
-        <property name="basename">
-            <!--  base name for localized message template properties files -->
-            <value>messages</value>
-        </property>
-    </bean>
-
-</beans>

File jhove2-persistens/src/test/resources/spring/jhove2-utf8-test-config.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:util="http://www.springframework.org/schema/util"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-           http://www.springframework.org/schema/context
-           http://www.springframework.org/schema/context/spring-context-2.5.xsd
-		   http://www.springframework.org/schema/util
-		   http://www.springframework.org/schema/util/spring-util-2.0.xsd">
-
-    <!-- ASCII profile bean -->
-    <bean id="ASCIIProfile" class="org.jhove2.module.format.utf8.ascii.ASCIIProfile" scope="prototype">
-        <constructor-arg ref="ASCIIFormat"/>
-        <constructor-arg ref="formatProfileAccessor"/>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-            </list>
-        </property>
-    </bean>
-
-    <!-- ASCII formats bean -->
-    <bean id="ASCIIFormat" class="org.jhove2.core.format.Format" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ASCII"/>
-        <constructor-arg ref="ASCIIIdentifier"/>
-        <constructor-arg type="org.jhove2.core.format.Format$Type" value="Format"/>
-        <constructor-arg type="org.jhove2.core.format.Format$Ambiguity" value="Unambiguous"/>
-        <property name="aliasIdentifiers">
-            <set value-type="org.jhove2.core.I8R">
-                <ref bean="ASCIIANSIX34"/>
-                <ref bean="ASCIICharset"/>
-                <ref bean="ASCIICharsetUS"/>
-                <ref bean="ASCIIECMA6"/>
-                <ref bean="ASCIIISO646"/>
-                <ref bean="ASCIIITUT50"/>
-                <ref bean="ASCIIMIMEType"/>
-                <ref bean="ASCIIRFC1345"/>
-                <ref bean="PUIDxfmt14"/>
-                <ref bean="PUIDxfmt15"/>
-                <ref bean="PUIDxfmt21"/>
-                <ref bean="PUIDxfmt22"/>
-                <ref bean="PUIDxfmt130"/>
-            </set>
-        </property>
-    </bean>
-    <!-- ASCII identifier bean -->
-    <bean id="ASCIIIdentifier" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="http://jhove2.org/terms/format/utf-8/ascii"/>
-    </bean>
-    <!-- PUID x-fmt/14 aliasIdentifier bean -->
-    <bean id="PUIDxfmt14" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/14"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/15 aliasIdentifier bean -->
-    <bean id="PUIDxfmt15" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/15"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/21 aliasIdentifier bean -->
-    <bean id="PUIDxfmt21" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/21"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/22 aliasIdentifier bean -->
-    <bean id="PUIDxfmt22" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/22"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/130 aliasIdentifier bean -->
-    <bean id="PUIDxfmt130" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/130"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- ASCII ANSI X3.4-1968 bean  -->
-    <bean id="ASCIIANSIX34" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ANSI X3.4-1968"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="ANSI"/>
-    </bean>
-    <!-- ASCII Charset bean  -->
-    <bean id="ASCIICharset" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ASCII"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="Charset"/>
-    </bean>
-    <!-- ASCII Charset bean  -->
-    <bean id="ASCIICharsetUS" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="US-ASCII"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="Charset"/>
-    </bean>
-    <!-- ASCII ECMA-6 -->
-    <bean id="ASCIIECMA6" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ECMA-6"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="ECMA"/>
-    </bean>
-    <!-- ASCII ISO 646 -->
-    <bean id="ASCIIISO646" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ISO/IEC 646:1991"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="ISO"/>
-    </bean>
-    <!-- ASCII ITU-T T.50 -->
-    <bean id="ASCIIITUT50" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ITU-T T.50"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="ITU"/>
-    </bean>
-    <!-- ASCII MIME type bean -->
-    <bean id="ASCIIMIMEType" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="text/plain; charset=&quot;US-ASCII&quot;"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="MIME"/>
-    </bean>
-    <!--  ASCII RFC 1345 bean -->
-    <bean id="ASCIIRFC1345" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="RFC 1345"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="RFC"/>
-    </bean>
-
-
-    <!-- UTF-8 formats bean -->
-    <bean id="UTF8Format" class="org.jhove2.core.format.Format" scope="singleton">
-        <constructor-arg type="java.lang.String" value="UTF-8"/>
-        <constructor-arg ref="UTF8Identifier"/>
-        <constructor-arg type="org.jhove2.core.format.Format$Type" value="Family"/>
-        <constructor-arg type="org.jhove2.core.format.Format$Ambiguity" value="Unambiguous"/>
-        <property name="aliasIdentifiers">
-            <set value-type="org.jhove2.core.I8R">
-                <ref bean="UTF8Charset"/>
-                <ref bean="UTF8MIMEType"/>
-                <ref bean="UTF8RFC3629"/>
-                <ref bean="UTF8UTI"/>
-                <ref bean="PUIDxfmt13"/>
-                <ref bean="PUIDxfmt16"/>
-                <ref bean="PUIDxfmt110"/>
-                <ref bean="PUIDxfmt111"/>
-            </set>
-        </property>
-        <property name="aliasNames">
-            <set>
-                <value>UCS Transformation Format, 8 bit</value>
-                <value>Unicode Transformation Format, 8 bit</value>
-            </set>
-        </property>
-        <property name="specifications">
-            <list value-type="org.jhove2.core.Document">
-                <ref bean="UnicodeSpecification"/>
-                <ref bean="ISO10646Standard"/>
-                <ref bean="RFC3629RFC"/>
-            </list>
-        </property>
-    </bean>
-    <!-- UTF-8 identifier bean -->
-    <bean id="UTF8Identifier" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="http://jhove2.org/terms/format/utf-8"/>
-    </bean>
-    <!-- UTF-8 charset bean -->
-    <bean id="UTF8Charset" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="UTF-8"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="Charset"/>
-    </bean>
-    <!-- UTF-8 MIME type bean -->
-    <bean id="UTF8MIMEType" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="text/plain; charset=&quot;UTF-8&quot;"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="MIME"/>
-    </bean>
-    <!--  UTF-8 RFC 3629 bean -->
-    <bean id="UTF8RFC3629" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="RFC 3629"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="RFC"/>
-    </bean>
-    <!-- UTF-8 UTI bean -->
-    <bean id="UTF8UTI" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="public.utf8-plain-text"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="UTI"/>
-    </bean>
-    <!-- PUID x-fmt/13 aliasIdentifier bean -->
-    <bean id="PUIDxfmt13" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/13"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/16 aliasIdentifier bean -->
-    <bean id="PUIDxfmt16" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/16"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/110 aliasIdentifier bean -->
-    <bean id="PUIDxfmt110" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/110"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- PUID x-fmt/111 aliasIdentifier bean -->
-    <bean id="PUIDxfmt111" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="x-fmt/111"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="PUID"/>
-    </bean>
-    <!-- Unicode specification bean -->
-    <bean id="UnicodeSpecification" class="org.jhove2.core.Document" scope="singleton">
-        <constructor-arg type="java.lang.String" value="Unicode 5.0 Standard Electronic edition"/>
-        <constructor-arg type="org.jhove2.core.Document$Type" value="Specification"/>
-        <constructor-arg type="org.jhove2.core.Document$Intention" value="Authoritative"/>
-        <property name="author" value="Unicode Consortium"/>
-        <property name="date" value="2007"/>
-        <property name="edition" value="Version 5.1.0"/>
-        <!--		<property name="identifier" ref="UnicodeSpecificationURI"/>-->
-        <property name="identifiers">
-            <list value-type="org.jhove2.core.I8R">
-                <ref bean="UnicodeSpecificationURI"/>
-            </list>
-        </property>
-        <property name="publisher" value="Addison-Wesley"/>
-    </bean>
-    <!-- Unicode specification URI bean -->
-    <bean id="UnicodeSpecificationURI" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="http://www.unicode.org/versions/Unicode5.1.0/"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="URI"/>
-    </bean>
-    <!-- ISO 10646 standard bean -->
-    <bean id="ISO10646Standard" class="org.jhove2.core.Document" scope="singleton">
-        <constructor-arg type="java.lang.String" value="Information technology Universal Multiple-Octet Coded Character Set (UCS)"/>
-        <constructor-arg type="org.jhove2.core.Document$Type" value="Standard"/>
-        <constructor-arg type="org.jhove2.core.Document$Intention" value="Informative"/>
-        <property name="date" value="2003"/>
-        <!--		<property name="identifier" ref="ISO10646"/>-->
-        <property name="identifiers">
-            <list value-type="org.jhove2.core.I8R">
-                <ref bean="ISO10646"/>
-            </list>
-        </property>
-        <property name="publisher" value="ISO"/>
-    </bean>
-    <!-- ISO 10646 identifier bean -->
-    <bean id="ISO10646" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="ISO 10646:2003"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="ISO"/>
-    </bean>
-    <!-- RFC 3629 bean -->
-    <bean id="RFC3629RFC" class="org.jhove2.core.Document" scope="singleton">
-        <constructor-arg type="java.lang.String" value="UTF-8, a transformation format of ISO 10646"/>
-        <constructor-arg type="org.jhove2.core.Document$Type" value="Other"/>
-        <constructor-arg type="org.jhove2.core.Document$Intention" value="Informative"/>
-        <property name="author" value="F. Yergeau"/>
-        <property name="date" value="November 2003"/>
-        <property name="identifiers">
-            <list value-type="org.jhove2.core.I8R">
-                <ref bean="RFC3629"/>
-                <ref bean="RFC3629URL"/>
-            </list>
-        </property>
-        <property name="publisher" value="IETF"/>
-    </bean>
-    <!-- RFC 3629 identifier bean -->
-    <bean id="RFC3629" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="RFC 3629"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="RFC"/>
-    </bean>
-    <!-- RFC 3629 URL bean -->
-    <bean id="RFC3629URL" class="org.jhove2.core.I8R" scope="singleton">
-        <constructor-arg type="java.lang.String" value="http://www.ietf.org/rfc/rfc3629.txt"/>
-        <constructor-arg type="org.jhove2.core.I8R$Namespace" value="URL"/>
-    </bean>
-
-
-    <!-- UTF-8 module bean -->
-    <bean id="UTF8Module" class="org.jhove2.module.format.utf8.UTF8Module"
-          scope="prototype">
-        <constructor-arg ref="UTF8Format"/>
-        <constructor-arg ref="formatModuleAccessor"/>
-        <property name="profiles">
-            <list value-type="org.jhove2.module.format.FormatProfile">
-                <ref bean="ASCIIProfile"/>
-            </list>
-        </property>
-        <property name="developers">
-            <list value-type="org.jhove2.core.Agent">
-                <ref bean="CDLAgent"/>
-            </list>
-        </property>
-    </bean>
-
-
-
-    <!-- C0 Control properties bean -->
-    <bean id="C0Control" class="org.jhove2.config.spring.ModulePropertiesFactoryBean">
-        <property name="propertyFileBaseName" value="C0Control"/>
-    </bean>
-    <bean id="C1Control" class="org.jhove2.config.spring.ModulePropertiesFactoryBean">
-        <property name="propertyFileBaseName" value="C1Control"/>
-    </bean>
-    <bean id="CodeBlock" class="org.jhove2.config.spring.ModulePropertiesFactoryBean">
-        <property name="propertyFileBaseName" value="CodeBlock"/>
-    </bean>
-
-
-</beans>

File jhove2-test-config/pom.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.jhove2</groupId>
-        <artifactId>jhove2</artifactId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.jhove2</groupId>
-    <artifactId>jhove2-test-config</artifactId>
-    <version>2.0.0-SNAPSHOT</version>
-
-
-</project>