<commit_before><?xml version="1.0" encoding="ISO-8859-15"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you 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.    
-->
<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">
  <parent>
    <artifactId>james-server</artifactId>
    <groupId>org.apache.james</groupId>
    <version>3.0-M3-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.james</groupId>
  <artifactId>james-server-container-spring</artifactId>
  <name>Apache James Server Container Spring</name>
  <build>
  
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <optimize>true</optimize>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>appassembler-maven-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
          <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
          <configurationDirectory>conf</configurationDirectory>
          <target>${project.build.directory}/appassembler</target>
          <repositoryLayout>flat</repositoryLayout>
		  <repositoryName>lib</repositoryName>
          <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
          <environmentSetupFileName>setenv</environmentSetupFileName>
          <!--  set some sane defaults for memory -->
          <extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties} ${james.system-properties}</extraJvmArguments>
          <!-- Generate bin scripts for windows and unix per default -->
          <platforms>
            <platform>windows</platform>
            <platform>unix</platform>
          </platforms>
          <programs>
            <program>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <!-- call it only run because appassemble will add .bat by default on windows -->              
              <name>run</name>
              <!-- Only generate windows bat script for this application -->
              <platforms>
                <platform>windows</platform>
              </platforms>
            </program>
            <program>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <name>run.sh</name>
              <!-- Only generate unix shell script for this application -->
              <platforms>
                <platform>unix</platform>
              </platforms>
            </program>
          </programs>
                   
          <daemons>
            <daemon>
              <id>james</id>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <commandLineArguments>
                <commandLineArgument>start</commandLineArgument>
              </commandLineArguments>
              <platforms>
                <platform>jsw</platform>
              </platforms>   
              <generatorConfigurations>
                <generatorConfiguration>
                  <generator>jsw</generator>
                  <includes>
                    <include>linux-x86-32</include>
                    <include>linux-x86-64</include>
                    <include>linux-ppc-64</include>
                    <include>macosx-x86-universal-32</include>
                    <include>macosx-ppc-32</include>
                    <include>solaris-sparc-32</include>
                    <include>solaris-sparc-64</include>
                    <include>solaris-x86-32</include>
                    <include>windows-x86-32</include>  
                  </includes>
                  
                  <configuration>
                    <property>
                      <name>configuration.directory.in.classpath.first</name>
                      <value>../conf</value>
                    </property>
                    <property>
                      <name>set.default.REPO_DIR</name>
                      <value>../lib</value>
                    </property>
                    <property>
                      <name>wrapper.working.dir</name>
                      <value>.</value>
                    </property>
                    <property>
                      <name>wrapper.logfile</name>
                      <value>log/wrapper.log</value>
                    </property>
                    <property>
                      <name>wrapper.java.library.path</name>
                      <value>../lib</value>
                    </property>
                    <property>
                      <name>wrapper.java.initmemory</name>
                      <value>128</value>
                    </property>
                    <property>
                      <name>wrapper.java.maxmemory</name>
                      <value>512</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.1</name>
                      <value>-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.2</name>
                      <value>${jmx.system-property1}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.3</name>
                      <value>${jmx.system-property2}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.4</name>
                      <value>${javamail.system-property1}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.5</name>
                      <value>${javamail.system-property2}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.6</name>
                      <value>${javamail.system-property3}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.7</name>
                      <value>${javamail.system-property4}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.8</name>
                      <value>${javamail.system-property5}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.9</name>
                      <value>${javamail.system-property6}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.10</name>
                      <value>${javamail.system-property7}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.11</name>
                      <value>${javamail.system-property8}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.12</name>
                      <value>${javamail.system-property9}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.13</name>
                      <value>${javamail.system-property10}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.14</name>
                      <value>${james.system-property1}</value>
                    </property>
                  </configuration>
                </generatorConfiguration>
              </generatorConfigurations>
                         
            </daemon>
          </daemons>
          
        </configuration>
        <executions>
          <execution>
            <id>make-appassemble</id>
            <phase>package</phase>
            <goals>
              <goal>assemble</goal>
              <goal>generate-daemons</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
       <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.2</version>
        <executions>
          <execution>
            <phase>package</phase>
            <configuration>

              <tasks>
                <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
                     from the lib dir to make windows happy again
                -->
                <replace file="${project.build.directory}/appassembler/bin/run.bat" token="%BASEDIR%\lib" value="..\lib" />
                <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv" value="setenv.sh" />
                
                <!-- this is needed because appassembler is not really smart on some settings -->
                <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf" token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar" />
                <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs" value="var" />
                
                <!--  copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found-->
                <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32" tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper" />
              </tasks>

            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
	  <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
          <tarLongFileMode>gnu</tarLongFileMode>
        </configuration>
        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <webResources>
            <resource>
              <directory>src/main/config/james</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/conf/</targetPath>
              <excludes>
                <exclude>log4j.properties</exclude>
                <exclude>META-INF/persistence.xml</exclude> 
                <exclude>**/lib/**</exclude>
              </excludes>
            </resource>
            <resource>
              <directory>src/main/config/james</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/classes/</targetPath>
              <includes>
                <include>log4j.properties</include>
                <include>META-INF/persistence.xml</include> 
              </includes>
            </resource>
            <resource>
              <directory>src/main/config/war</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/conf/</targetPath>
              
            </resource>

          </webResources>
        </configuration>
        <executions>
          <execution>
            <id>make-war</id>
            <phase>package</phase>
            <goals>
              <goal>war</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      
      <!--  be sure to start up james before run it -->
      <!--  
       <plugin>
        <groupId>org.apache.james</groupId>
        <artifactId>maven-mpt-plugin</artifactId>
        <version>0.2-SNAPSHOT</version>
         <configuration>
          <mailProtocolTests>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>110</port>
              <scriptFile>src/mpt/pop3.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>143</port>
              <scriptFile>src/mpt/imap.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>25</port>
              <scriptFile>src/mpt/smtp.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
          </mailProtocolTests>
         
        </configuration>
      </plugin>
      -->
      <!-- use version 2.4 of the plugin. This is needed as workaround for
           http://jira.codehaus.org/browse/MAPPASM-96 -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.4</version>
      </plugin>
      
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
         <configuration>       
           <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 
            <manifest>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            </manifest>
            <manifestEntries>
              <Fragment-Host>org.springframework.osgi.extender</Fragment-Host>
           </manifestEntries>
          </archive>
        </configuration>       
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>org.apache.james.container.spring.*</Export-Package>
            <Embed-Dependency>*;scope=runtime</Embed-Dependency>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
      
  </build>
  
  <dependencies>
    <dependency>
      <groupId>org.apache.james</groupId>
      <artifactId>james-server-core-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.james</groupId>
      <artifactId>james-server-core-library</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId><commit_msg>Fix OSGI headers for container-spring. See JAMES-910<commit_after><?xml version="1.0" encoding="ISO-8859-15"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you 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.    
-->
<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">
  <parent>
    <artifactId>james-server</artifactId>
    <groupId>org.apache.james</groupId>
    <version>3.0-M3-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.james</groupId>
  <artifactId>james-server-container-spring</artifactId>
  <name>Apache James Server Container Spring</name>
  <properties>
      <!-- OSGI stuff -->
    <james.osgi.export>
      org.apache.james.*
    </james.osgi.export>
    <!-- exclude spring web support for now -->
    <james.osgi.import>
      !org.springframework.web.*,
      *
    </james.osgi.import>
  </properties> 


  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <optimize>true</optimize>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>appassembler-maven-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <!-- Include etc/ in the beginning of the classpath declaration in the bin scripts -->
          <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
          <configurationDirectory>conf</configurationDirectory>
          <target>${project.build.directory}/appassembler</target>
          <repositoryLayout>flat</repositoryLayout>
		  <repositoryName>lib</repositoryName>
          <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath>
          <environmentSetupFileName>setenv</environmentSetupFileName>
          <!--  set some sane defaults for memory -->
          <extraJvmArguments>-Xms128m -Xmx512m -Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader ${jmx.system-properties} ${javamail.system-properties} ${james.system-properties}</extraJvmArguments>
          <!-- Generate bin scripts for windows and unix per default -->
          <platforms>
            <platform>windows</platform>
            <platform>unix</platform>
          </platforms>
          <programs>
            <program>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <!-- call it only run because appassemble will add .bat by default on windows -->              
              <name>run</name>
              <!-- Only generate windows bat script for this application -->
              <platforms>
                <platform>windows</platform>
              </platforms>
            </program>
            <program>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <name>run.sh</name>
              <!-- Only generate unix shell script for this application -->
              <platforms>
                <platform>unix</platform>
              </platforms>
            </program>
          </programs>
                   
          <daemons>
            <daemon>
              <id>james</id>
              <mainClass>org.apache.james.container.spring.Main</mainClass>
              <commandLineArguments>
                <commandLineArgument>start</commandLineArgument>
              </commandLineArguments>
              <platforms>
                <platform>jsw</platform>
              </platforms>   
              <generatorConfigurations>
                <generatorConfiguration>
                  <generator>jsw</generator>
                  <includes>
                    <include>linux-x86-32</include>
                    <include>linux-x86-64</include>
                    <include>linux-ppc-64</include>
                    <include>macosx-x86-universal-32</include>
                    <include>macosx-ppc-32</include>
                    <include>solaris-sparc-32</include>
                    <include>solaris-sparc-64</include>
                    <include>solaris-x86-32</include>
                    <include>windows-x86-32</include>  
                  </includes>
                  
                  <configuration>
                    <property>
                      <name>configuration.directory.in.classpath.first</name>
                      <value>../conf</value>
                    </property>
                    <property>
                      <name>set.default.REPO_DIR</name>
                      <value>../lib</value>
                    </property>
                    <property>
                      <name>wrapper.working.dir</name>
                      <value>.</value>
                    </property>
                    <property>
                      <name>wrapper.logfile</name>
                      <value>log/wrapper.log</value>
                    </property>
                    <property>
                      <name>wrapper.java.library.path</name>
                      <value>../lib</value>
                    </property>
                    <property>
                      <name>wrapper.java.initmemory</name>
                      <value>128</value>
                    </property>
                    <property>
                      <name>wrapper.java.maxmemory</name>
                      <value>512</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.1</name>
                      <value>-Djava.system.class.loader=org.apache.james.container.spring.JamesClassLoader</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.2</name>
                      <value>${jmx.system-property1}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.3</name>
                      <value>${jmx.system-property2}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.4</name>
                      <value>${javamail.system-property1}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.5</name>
                      <value>${javamail.system-property2}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.6</name>
                      <value>${javamail.system-property3}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.7</name>
                      <value>${javamail.system-property4}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.8</name>
                      <value>${javamail.system-property5}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.9</name>
                      <value>${javamail.system-property6}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.10</name>
                      <value>${javamail.system-property7}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.11</name>
                      <value>${javamail.system-property8}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.12</name>
                      <value>${javamail.system-property9}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.13</name>
                      <value>${javamail.system-property10}</value>
                    </property>
                    <property>
                      <name>wrapper.java.additional.14</name>
                      <value>${james.system-property1}</value>
                    </property>
                  </configuration>
                </generatorConfiguration>
              </generatorConfigurations>
                         
            </daemon>
          </daemons>
          
        </configuration>
        <executions>
          <execution>
            <id>make-appassemble</id>
            <phase>package</phase>
            <goals>
              <goal>assemble</goal>
              <goal>generate-daemons</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
       <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.2</version>
        <executions>
          <execution>
            <phase>package</phase>
            <configuration>

              <tasks>
                <!-- this is only needed because windows freak out on long cmd lines, so we strip of the absolute path
                     from the lib dir to make windows happy again
                -->
                <replace file="${project.build.directory}/appassembler/bin/run.bat" token="%BASEDIR%\lib" value="..\lib" />
                <replace file="${project.build.directory}/appassembler/bin/run.sh" token="setenv" value="setenv.sh" />
                
                <!-- this is needed because appassembler is not really smart on some settings -->
                <replace file="${project.build.directory}/appassembler/jsw/james/conf/wrapper.conf" token="lib/wrapper.jar" value="%REPO_DIR%/wrapper.jar" />
                <replace file="${project.build.directory}/appassembler/jsw/james/bin/james" token="logs" value="var" />
                
                <!--  copy the linux wrapper-linux-x86-32 to wrapper, so use it as default if no matching wrapper was found-->
                <copy file="${project.build.directory}/appassembler/jsw/james/bin/wrapper-linux-x86-32" tofile="${project.build.directory}/appassembler/jsw/james/bin/wrapper" />
              </tasks>

            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
	  <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptorSourceDirectory>src/assemble/</descriptorSourceDirectory>
          <tarLongFileMode>gnu</tarLongFileMode>
        </configuration>
        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <webResources>
            <resource>
              <directory>src/main/config/james</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/conf/</targetPath>
              <excludes>
                <exclude>log4j.properties</exclude>
                <exclude>META-INF/persistence.xml</exclude> 
                <exclude>**/lib/**</exclude>
              </excludes>
            </resource>
            <resource>
              <directory>src/main/config/james</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/classes/</targetPath>
              <includes>
                <include>log4j.properties</include>
                <include>META-INF/persistence.xml</include> 
              </includes>
            </resource>
            <resource>
              <directory>src/main/config/war</directory>
              <!-- override the destination directory for this resource -->
              <targetPath>WEB-INF/conf/</targetPath>
              
            </resource>

          </webResources>
        </configuration>
        <executions>
          <execution>
            <id>make-war</id>
            <phase>package</phase>
            <goals>
              <goal>war</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      
      <!--  be sure to start up james before run it -->
      <!--  
       <plugin>
        <groupId>org.apache.james</groupId>
        <artifactId>maven-mpt-plugin</artifactId>
        <version>0.2-SNAPSHOT</version>
         <configuration>
          <mailProtocolTests>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>110</port>
              <scriptFile>src/mpt/pop3.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>143</port>
              <scriptFile>src/mpt/imap.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
            <mailProtocolTest>
              <host>127.0.0.1</host>
              <port>25</port>
              <scriptFile>src/mpt/smtp.mpt</scriptFile>
              <addUsers>
                <addUser>
                  <host>127.0.0.1</host>
                  <port>4555</port>
                  <scriptFile>src/mpt/adduser.mpt</scriptFile>
                  <user>root</user>
                  <passwd><PASSWORD></passwd>
                </addUser>
              </addUsers>
            </mailProtocolTest>
          </mailProtocolTests>
         
        </configuration>
      </plugin>
      -->
      <!-- use version 2.4 of the plugin. This is needed as workaround for
           http://jira.codehaus.org/browse/MAPPASM-96 -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.4</version>
      </plugin>
      
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
         <configuration>       
           <archive>
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> 
            <manifest>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            </manifest>
          </archive>
        </configuration>       
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
      
  </build>
  
  <dependencies>
    <dependency>
      <groupId>org.apache.james</groupId>
      <artifactId>james-server-core-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.james</groupId>
      <artifactId>james-server-core-library</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
{'fraction_non_alphanumeric': 0.1213576500397749, 'fraction_numerical': 0.011166435874016676, 'mean_word_length': 1.4670737025730485, 'pattern_counts': {'":': 0, '<': 1107, '<?xml version=': 2, '>': 1107, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 10}, 'pii_count': 12, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3480869', 'n_tokens_mistral': 9364, 'n_tokens_neox': 8560, 'n_words': 1342}