« Return to Thread: problem with hbm2java - MappingNotFound exception

problem with hbm2java - MappingNotFound exception

by Meir Shahar :: Rate this Message:

Reply to Author | View in Thread

Hi,

 I am trying to use the hbm2java target but get errors. The problem is that the plugin can not find the mapping files if their path is not specified explicitly:

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>com.MyTest</groupId>
    <artifactId>MyTest-persist</artifactId>
    <packaging>jar</packaging>
    <version>0.9</version>
    <name>MyTest-persist</name>
    <url>http://maven.apache.org</url>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>hibernate</groupId>
                <artifactId>hibernate</artifactId>
                <version>3.0.5</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <properties>
        <hibernate.version>3.2.3.ga</hibernate.version>
    </properties>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                  <components>
                    <component>
                      <name>hbm2java</name>
                       <!-- 
                        <implementation>jpaconfiguration</implementation>
                        -->
                      <outputDirectory>src/main/java</outputDirectory>
                    </component>
                    <component>
                      <name>hbm2dao</name>
                      <outputDirectory>src/main/java</outputDirectory>
                    </component>
                  </components>
                  <!--
                  <componentProperties>
                    <configurationfile>/src/main/resources/hibernate.cfg.xml</configurationfile>
                  </componentProperties>
                  -->
                </configuration>
            </plugin>
        </plugins>
    </build>
    <repositories>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>snapshots</id>
            <url>http://snapshots.maven.codehaus.org/maven2</url>
        </pluginRepository>
    </pluginRepositories>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-tools</artifactId>
            <version>${hibernate.version}</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>${hibernate.version}</version>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.9</version>
        </dependency>
    </dependencies>
</project>


hibernate.cfg.xml +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
                                         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
 <session-factory name="SF">
  <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
  <property name="hibernate.connection.password">MyPwd</property>
  <property name="hibernate.connection.url">http://localhost:3306/MyTest</property>
  <property name="hibernate.connection.username">dbuser</property>
  <property name="hibernate.default_schema">MyTest</property>
  <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
  <mapping file="com/MyTest/persist/Station.hbm.xml"/>
  <mapping file="src/main/resources/com/MyTest/persist/Point.hbm.xml"/>
 </session-factory>
</hibernate-configuration>

directory structure: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


MyTest
     |------src
             |---- test
             |---- main
                     |----- resources
                     |           | - hibernate.cfg.xml
                     |           | - com/MyTest/persist
                     |                            | ----------------Station.hbm.xml
                     |                            | ---------------- Point.hbm.xml
                     | ----- java

If I run mvn hibernate3:hbm2java, I get the specified error (see text of mvn -X below).

if I change com/MyTest/persist/Station.hbm.xml to src/main/resources/com/MyTest/persist/Station.hbm.xml all works fine

If I copy resources/com to the base dir (i.e. now in the same dir of the pom.xml there is a com/MyTest/persist/Station.hbm.xml) all works fine.

 Please advice.

Thanx,

   Meir


++++++++++++++++++++++++++++++++++++ error file, result of mvn -X hibernate3:hbm2java ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


+ Error stacktraces are turned on.
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\meir\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'c:\Progra~1\develop\apache-maven-2\apache-maven-2.0.9\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Adding managed dependencies for com.MyTest:MyTest-persist
[DEBUG]   hibernate:hibernate:jar:3.0.5
[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[DEBUG] Skipping disabled repository codehaus-plugins-snapshots
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] Skipping disabled repository codehaus-plugins-snapshots
[DEBUG] Retrieving parent-POM: org.codehaus.mojo.hibernate3:maven-hibernate3::2.2 for project: org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:null from the repository.
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-parent::20 for project: org.codehaus.mojo.hibernate3:maven-hibernate3:pom:2.2 from the repository.
[DEBUG] Adding managed dependencies for org.codehaus.mojo:hibernate3-maven-plugin
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.7:test
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   org.hibernate:hibernate-core:jar:3.3.1.GA
[DEBUG]   org.hibernate:ejb3-persistence:jar:1.0.2.GA
[DEBUG]   org.hibernate:hibernate-entitymanager:jar:3.4.0.GA
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.GA
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG]   org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime
[DEBUG]   log4j:log4j:jar:1.2.14:runtime
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]   org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]   junit:junit:jar:3.8.2:test
[INFO] ------------------------------------------------------------------------
[INFO] Building MyTest-persist
[INFO]    task-segment: [hibernate3:hbm2java]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing hibernate3:hbm2java
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
[DEBUG] Plugin dependencies for:

org.apache.maven.plugins:maven-resources-plugin:2.2

are:

org.apache.maven:maven-plugin-api:jar:2.0:runtime
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-model:jar:2.0:runtime
org.codehaus.plexus:plexus-utils:jar:1.1:runtime


[DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-project
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-profile
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]     org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-model
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]       org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]     org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact-manager
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-repository-metadata
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-artifact
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime)
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG]  The following artifacts were filtered out for plugin: org.apache.maven.plugins:maven-resources-plugin:2.2 because they're already in the core of Maven:

org.apache.maven:maven-plugin-api:jar:2.0:runtime
org.apache.maven:maven-project:jar:2.0:runtime
org.apache.maven:maven-model:jar:2.0:runtime

These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().


[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
[DEBUG]   (f) filters = []
[DEBUG]   (f) outputDirectory = c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist\target\classes
[DEBUG]   (f) project = MavenProject: com.MyTest:MyTest-persist:0.9 @ c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist\pom.xml
[DEBUG]   (f) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist\src\main\resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG] -- end configuration --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[DEBUG] com.MyTest:MyTest-persist:jar:0.9 (selected for null)
[DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.ga:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.beanshell:beanshell::2.0b4 for project: org.beanshell:bsh:jar:2.0b4 from the repository.
[DEBUG]     org.beanshell:bsh:jar:2.0b4:compile (selected for compile)
[DEBUG]     freemarker:freemarker:jar:2.3.8:compile (selected for compile)
[DEBUG]     org.hibernate:jtidy:jar:r8-20060801:compile (selected for compile)
[DEBUG]   org.hibernate:hibernate:jar:3.2.3.ga:compile (selected for compile)
[DEBUG]     net.sf.ehcache:ehcache:jar:1.2.3:compile (selected for compile)
[DEBUG]       commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG]       commons-collections:commons-collections:jar:2.1:compile (selected for compile)
[DEBUG]     javax.transaction:jta:jar:1.0.1B:compile (selected for compile)
[DEBUG]     commons-logging:commons-logging:jar:1.0.4:compile (selected for compile)
[DEBUG]     asm:asm-attrs:jar:1.5.3:compile (selected for compile)
[DEBUG]     dom4j:dom4j:jar:1.6.1:compile (selected for compile)
[DEBUG]     antlr:antlr:jar:2.7.6:compile (selected for compile)
[DEBUG]     cglib:cglib:jar:2.1_3:compile (selected for compile)
[DEBUG]       asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG]     asm:asm:jar:1.5.3:compile (selected for compile)
[DEBUG]     commons-collections:commons-collections:jar:2.1:compile (removed - nearer found: 2.1.1)
[DEBUG]     commons-collections:commons-collections:jar:2.1.1:compile (selected for compile)
[DEBUG]   log4j:log4j:jar:1.2.9:compile (selected for compile)
[DEBUG] Plugin dependencies for:

org.codehaus.mojo:hibernate3-maven-plugin:2.2

are:

log4j:log4j:jar:1.2.14:runtime
org.hibernate:hibernate-tools:jar:3.2.3.GA:runtime
org.hibernate:hibernate-core:jar:3.3.1.GA:runtime
org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:2.2:runtime
org.apache.maven:maven-model:jar:2.0.6:runtime
org.apache.maven:maven-project:jar:2.0.6:runtime
org.apache.maven:maven-plugin-api:jar:2.0.6:runtime
org.codehaus.mojo.hibernate3:maven-hibernate3-jdk14:jar:2.2:runtime
org.codehaus.mojo.hibernate3:maven-hibernate3-jdk15:jar:2.2:runtime
org.codehaus.plexus:plexus-utils:jar:1.1:runtime


[DEBUG] org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:2.2:runtime (selected for runtime)
[DEBUG]   log4j:log4j:jar:1.2.14:runtime (selected for runtime)
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.GA:runtime (selected for runtime)
[DEBUG]     org.beanshell:bsh:jar:2.0b4:runtime (selected for runtime)
[DEBUG]     freemarker:freemarker:jar:2.3.8:runtime (selected for runtime)
[DEBUG]     org.hibernate:jtidy:jar:r8-20060801:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.hibernate:hibernate-parent::3.3.1.GA for project: org.hibernate:hibernate-core:jar:null from the repository.
[DEBUG] Adding managed dependencies for org.hibernate:hibernate-core
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.2
[DEBUG]   antlr:antlr:jar:2.7.6
[DEBUG]   commons-collections:commons-collections:jar:3.1
[DEBUG]   dom4j:dom4j:jar:1.6.1
[DEBUG]   org.hibernate:hibernate-core:jar:3.3.1.GA:runtime (selected for runtime)
[DEBUG]     antlr:antlr:jar:2.7.6:runtime (selected for runtime)
[DEBUG]     commons-collections:commons-collections:jar:3.1:runtime (selected for runtime)
[DEBUG]     dom4j:dom4j:jar:1.6.1:runtime (selected for runtime)
[DEBUG]       xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime)
[DEBUG]     org.slf4j:slf4j-api:jar:1.5.2:runtime (applying version: 1.5.6)
[DEBUG] Retrieving parent-POM: org.slf4j:slf4j-parent::1.5.6 for project: org.slf4j:slf4j-api:jar:null from the repository.
[DEBUG] Adding managed dependencies for org.slf4j:slf4j-api
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   log4j:log4j:jar:1.2.14
[DEBUG]     org.slf4j:slf4j-api:jar:1.5.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-hibernate3-api
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.7:test
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   org.hibernate:hibernate-core:jar:3.3.1.GA
[DEBUG]   org.hibernate:ejb3-persistence:jar:1.0.2.GA
[DEBUG]   org.hibernate:hibernate-entitymanager:jar:3.4.0.GA
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.GA
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG]   org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime
[DEBUG]   log4j:log4j:jar:1.2.14:runtime
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]   org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG]   org.codehaus.mojo.hibernate3:maven-hibernate3-api:jar:2.2:runtime (selected for runtime)
[DEBUG]     xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.6 for project: null:maven-plugin-api:jar:null from the repository.
[DEBUG] Adding managed dependencies for unknown:maven-plugin-api
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]     org.apache.maven:maven-plugin-api:jar:2.0.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-project
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]     org.apache.maven:maven-project:jar:2.0.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-settings
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]       org.apache.maven:maven-settings:jar:2.0.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-model
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]         org.apache.maven:maven-model:jar:2.0.6:runtime (selected for runtime)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.12 for project: null:plexus-utils:jar:1.5.6 from the repository.
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9-stable-1 from the repository.
[DEBUG]         org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime)
[DEBUG]           junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG]           junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG]           junit:junit:jar:3.8.2:test (selected for test)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG]           classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-profile
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]       org.apache.maven:maven-profile:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.apache.maven:maven-model:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG] Adding managed dependencies for unknown:maven-artifact-manager
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-repository-metadata
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]         org.apache.maven:maven-repository-metadata:jar:2.0.6:runtime (selected for runtime)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG] Adding managed dependencies for unknown:maven-artifact
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]         org.apache.maven:maven-artifact:jar:2.0.6:runtime (selected for runtime)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG] Retrieving parent-POM: org.apache.maven.wagon:wagon::1.0-beta-2 for project: null:wagon-provider-api:jar:1.0-beta-2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for project: org.apache.maven.wagon:wagon:pom:1.0-beta-2 from the repository.
[DEBUG] Adding managed dependencies for unknown:wagon-provider-api
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-provider-test:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-common-test:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2
[DEBUG]   junit:junit:jar:3.8.1
[DEBUG]   org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]         org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-registry
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven.reporting:maven-reporting-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-manager:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact-test:jar:2.0.6
[DEBUG]   org.apache.maven:maven-settings:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6
[DEBUG]   org.apache.maven:maven-profile:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-registry:jar:2.0.6
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-monitor:jar:2.0.6
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-beta-2
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2
[DEBUG]   easymock:easymock:jar:1.2_Java1.3:test
[DEBUG]   classworlds:classworlds:jar:1.1
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime (selected for runtime)
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG]         junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG]         junit:junit:jar:3.8.2:test (selected for test)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.geronimo.specs:specs::1.2 for project: null:geronimo-jta_1.0.1B_spec:jar:1.1.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.geronimo.genesis.config:project-config::1.1 for project: org.apache.geronimo.specs:specs:pom:1.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.geronimo.genesis.config:config::1.1 for project: null:project-config:pom:1.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.geronimo.genesis:genesis::1.1 for project: org.apache.geronimo.genesis.config:config:pom:1.1 from the repository.
[DEBUG] Adding managed dependencies for unknown:geronimo-jta_1.0.1B_spec
[DEBUG]   junit:junit:jar:3.8.1
[DEBUG]   org.apache.geronimo.genesis.plugins:plugin-support:jar:1.1
[DEBUG]   org.apache.geronimo.genesis.config:logging-config:jar:1.1
[DEBUG]     org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.slf4j:slf4j-log4j12
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   log4j:log4j:jar:1.2.14
[DEBUG]     org.slf4j:slf4j-log4j12:jar:1.5.6:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for org.slf4j:jcl-over-slf4j
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   log4j:log4j:jar:1.2.14
[DEBUG]     org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime (selected for runtime)
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6:runtime (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6:runtime (selected for runtime)
[DEBUG]     org.apache.maven:maven-settings:jar:2.0.6:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime)
[DEBUG]         junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG]         junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG]         junit:junit:jar:3.8.2:test (selected for test)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]     org.apache.maven:maven-profile:jar:2.0.6:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0.6:runtime (selected for runtime)
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.6:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:runtime (selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG]     org.apache.maven:maven-plugin-registry:jar:2.0.6:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0.6:runtime (selected for runtime)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.4.1:runtime (applying version: 1.5.6)
[DEBUG]     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime)
[DEBUG]       junit:junit:jar:3.8.1:runtime (applying version: 3.8.2)
[DEBUG]       junit:junit:jar:3.8.2:runtime (applying scope: test)
[DEBUG]       junit:junit:jar:3.8.2:test (selected for test)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (applying version: 1.5.6)
[DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.mojo.hibernate3:maven-hibernate3-components::2.2 for project: null:maven-hibernate3-jdk14:jar:null from the repository.
[DEBUG] Adding managed dependencies for unknown:maven-hibernate3-jdk14
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.7:test
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   org.hibernate:hibernate-core:jar:3.3.1.GA
[DEBUG]   org.hibernate:ejb3-persistence:jar:1.0.2.GA
[DEBUG]   org.hibernate:hibernate-entitymanager:jar:3.4.0.GA
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.GA
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG]   org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime
[DEBUG]   log4j:log4j:jar:1.2.14:runtime
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]   org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG]   org.codehaus.mojo.hibernate3:maven-hibernate3-jdk14:jar:2.2:runtime (selected for runtime)
[DEBUG] Adding managed dependencies for unknown:maven-hibernate3-jdk15
[DEBUG]   hsqldb:hsqldb:jar:1.8.0.7:test
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.6
[DEBUG]   org.apache.maven:maven-model:jar:2.0.6
[DEBUG]   org.apache.maven:maven-artifact:jar:2.0.6
[DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   org.hibernate:hibernate-core:jar:3.3.1.GA
[DEBUG]   org.hibernate:ejb3-persistence:jar:1.0.2.GA
[DEBUG]   org.hibernate:hibernate-entitymanager:jar:3.4.0.GA
[DEBUG]   org.hibernate:hibernate-tools:jar:3.2.3.GA
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG]   org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1.1:runtime
[DEBUG]   log4j:log4j:jar:1.2.14:runtime
[DEBUG]   org.slf4j:slf4j-log4j12:jar:1.5.6:runtime
[DEBUG]   org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]   org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]   junit:junit:jar:3.8.2:test
[DEBUG]   org.codehaus.mojo.hibernate3:maven-hibernate3-jdk15:jar:2.2:runtime (selected for runtime)
[DEBUG]     org.hibernate:hibernate-entitymanager:jar:3.4.0.GA:runtime (selected for runtime)
[DEBUG]       org.hibernate:ejb3-persistence:jar:1.0.2.GA:runtime (selected for runtime)
[DEBUG]       org.hibernate:hibernate-commons-annotations:jar:3.1.0.GA:runtime (selected for runtime)
[DEBUG]         org.slf4j:slf4j-api:jar:1.4.2:runtime (applying version: 1.5.6)
[DEBUG]       org.hibernate:hibernate-annotations:jar:3.4.0.GA:runtime (selected for runtime)
[DEBUG]         org.hibernate:hibernate-core:jar:3.3.0.SP1:runtime (applying version: 3.3.1.GA)
[DEBUG]         org.slf4j:slf4j-api:jar:1.4.2:runtime (applying version: 1.5.6)
[DEBUG]       org.hibernate:hibernate-core:jar:3.3.0.SP1:runtime (applying version: 3.3.1.GA)
[DEBUG]       org.slf4j:slf4j-api:jar:1.4.2:runtime (applying version: 1.5.6)
[DEBUG]       javax.transaction:jta:jar:1.1:runtime (selected for runtime)
[DEBUG]       javassist:javassist:jar:3.4.GA:runtime (selected for runtime)
[DEBUG]     org.hibernate:ejb3-persistence:jar:1.0.2.GA:runtime (selected for runtime)
[DEBUG]     org.hibernate:hibernate-annotations:jar:3.4.0.GA:runtime (selected for runtime)
[DEBUG]       org.hibernate:hibernate-core:jar:3.3.0.SP1:runtime (applying version: 3.3.1.GA)
[DEBUG]       org.slf4j:slf4j-api:jar:1.4.2:runtime (applying version: 1.5.6)
[DEBUG]     jboss:jboss-common:jar:4.0.2:runtime (selected for runtime)
[DEBUG]       slide:webdavlib:jar:2.0:runtime (selected for runtime)
[DEBUG]       xerces:xercesImpl:jar:2.6.2:runtime (selected for runtime)
[DEBUG]     javassist:javassist:jar:3.4.GA:runtime (selected for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.5.6:runtime (removed - nearer found: 1.1)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
[DEBUG]  The following artifacts were filtered out for plugin: org.codehaus.mojo:hibernate3-maven-plugin:2.2 because they're already in the core of Maven:

org.apache.maven:maven-model:jar:2.0.6:runtime
org.apache.maven:maven-project:jar:2.0.6:runtime
org.apache.maven:maven-plugin-api:jar:2.0.6:runtime

These will use the artifact files already in the core ClassRealm instead, to allow them to be included in PluginDescriptor.getArtifacts().


[DEBUG] Configuring mojo 'org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2java' -->
[DEBUG]   (s) name = hbm2java
[DEBUG]   (s) outputDirectory = src/main/java
[DEBUG]   (s) name = hbm2dao
[DEBUG]   (s) outputDirectory = src/main/java
[DEBUG]   (f) components = [org.codehaus.mojo.hibernate3.exporter.Component@1bfc4fc, org.codehaus.mojo.hibernate3.exporter.Component@11db6bb]
[DEBUG]   (f) project = MavenProject: com.MyTest:MyTest-persist:0.9 @ c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist\pom.xml
[DEBUG] -- end configuration --
[INFO] [hibernate3:hbm2java]
[INFO] using annotationconfiguration task.
[DEBUG] basedir: c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist
[INFO] Configuration XML file loaded: file:/c:/Documents%20and%20Settings/meir/workspace/MyTest/MyTest-persist/src/main/resources/hibernate.cfg.xml
01:12:24,359  INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.GA
01:12:24,375  INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
01:12:24,375  INFO org.hibernate.cfg.Environment - hibernate.properties not found
01:12:24,375  INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
01:12:24,375  INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
01:12:24,421  INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.1.0.GA
[DEBUG] basedir: c:\Documents and Settings\meir\workspace\MyTest\MyTest-persist
[INFO] Configuration XML file loaded: file:/c:/Documents%20and%20Settings/meir/workspace/MyTest/MyTest-persist/src/main/resources/hibernate.cfg.xml
01:12:24,421  INFO org.hibernate.cfg.Configuration - configuring from url: file:/c:/Documents%20and%20Settings/meir/workspace/MyTest/MyTest-persist/src/main/resources/hibernate.cfg.xml
01:12:24,578  INFO org.hibernate.cfg.Configuration - Reading mappings from file: com\MyTest\persist\Station.hbm.xml
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] file: com\MyTest\persist\Station.hbm.xml not found
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.hibernate.MappingNotFoundException: file: com\MyTest\persist\Station.hbm.xml not found
    at org.hibernate.cfg.Configuration.addFile(Configuration.java:334)
    at org.hibernate.cfg.AnnotationConfiguration.addFile(AnnotationConfiguration.java:915)
    at org.hibernate.cfg.AnnotationConfiguration.addFile(AnnotationConfiguration.java:64)
    at org.hibernate.cfg.Configuration.addFile(Configuration.java:320)
    at org.hibernate.cfg.AnnotationConfiguration.addFile(AnnotationConfiguration.java:909)
    at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:637)
    at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)
    at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:1047)
    at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:64)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)
    at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:1035)
    at org.hibernate.cfg.AnnotationConfiguration.doConfigure(AnnotationConfiguration.java:64)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1477)
    at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:1023)
    at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:64)
    at org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.doConfiguration(AbstractComponentConfiguration.java:95)
    at org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentConfiguration.java:56)
    at org.codehaus.mojo.hibernate3.HibernateExporterMojo.configureExporter(HibernateExporterMojo.java:200)
    at org.codehaus.mojo.hibernate3.exporter.Hbm2JavaGeneratorMojo.configureExporter(Hbm2JavaGeneratorMojo.java:64)
    at org.codehaus.mojo.hibernate3.HibernateExporterMojo.doExecute(HibernateExporterMojo.java:273)
    at org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:152)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu May 28 01:12:24 IDT 2009
[INFO] Final Memory: 6M/11M
[INFO] ------------------------------------------------------------------------

 « Return to Thread: problem with hbm2java - MappingNotFound exception