Maven JPA Testing

Hi,
I am a maven newbie, and I have a project with two modules: EjbProject and TestProject.
The error that I have to perform the test is : javax.persistence.PersistenceException: No Persistence provider for EntityManager named testUnit
These are my codes:
persistence.xml into the Test Module
<?xml version="1.0" encoding="UTF8" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
             version="1.0">
      <persistence-unit name="testUnit" transaction-type="RESOURCE_LOCAL">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <jar-file>${project.build.directory}/classes</jar-file>
        <properties>
            <property name="eclipselink.jdbc.driver" value="org.hsqldb.jdbcDriver"/>
            <property name="eclipselink.jdbc.url" value="jdbc:hsqldb:mem:test"/>
            <property name="eclipselink.jdbc.user" value="sa"/>
            <property name="eclipselink.jdbc.password" value=""/>
            <property name="eclipselink.target-database"
                      value="org.eclipse.persistence.platform.database.HSQLPlatform"/>
            <property name="eclipselink.logging.level" value="OFF"/>
            <property name="eclipselink.orm.throw.exceptions" value="true"/>
            <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
            <property name="eclipselink.ddl-generation.output-mode" value="database"/>
            <property name="hibernate.show_sql" value="${hibernate.show_sql}"/>
        </properties>
    </persistence-unit>
</persistence>the test:
public class AbstractJPATestCase extends TestCase {
    @Before
    protected void setUp() throws Exception {
        log.debug("setUp");
        try {
        emf = Persistence.createEntityManagerFactory("testUnit");
        //EntityManager em = emf.createEntityManager();
        //EntityHolder.setEM(em);
        }catch (Exception e) {
          e.printStackTrace();
          throw e;
}These are the locations:
Test Module: src/test/resources/META-INF/persistence.xml
Anyway, this is the first approximation of the solution, because what I hope to do eventually is to run the test: the file is copied persistence.xml of ejb module to test module, and modify the lines that indicate it is a jta congiruarción a local configuration.
have suggestions
Thanks!
Felipe

A little reasoning time.
- you have a META-INF/persistence.xml file
- this persistence.xml file contains a persistence unit 'unitTest'
- yet the code still reports that this persistent unit cannot be found
My conclusion right now is that the file is actually not on the test classpath. Do you perhaps have a conflicting test resources setup in your maven pom? The file must somehow be excluded if it is not found.

Similar Messages

  • JPA tests problem

    Hi
    I've just started to code a small application using JPA, to be precise I've followed steps from http://schuchert.wikispaces.com/JPA+Tutorial+1+-GettingStarted and I get a strange error:
    I made a test class:
    package entity;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import org.apache.log4j.BasicConfigurator;
    import org.apache.log4j.Level;
    import org.apache.log4j.Logger;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    public class PersonTest {
        private EntityManagerFactory emf;
        private EntityManager em;
        @Before
        public void initEmfAndEm() {
            BasicConfigurator.configure();
            Logger.getLogger("org").setLevel(Level.ERROR);
            emf = Persistence.createEntityManagerFactory("examplePersistenceUnit");
            em = emf.createEntityManager();
        @After
        public void cleanup() {
            em.close();
        @Test
        public void emptyTest() {
    }My persistence.xml looks as follows:
    <persistence>
        <persistence-unit name="examplePersistenceUnit"
                          transaction-type="RESOURCE_LOCAL">
            <properties>
                <property name="hibernate.show_sql" value="false" />
                <property name="hibernate.format_sql" value="false" />
                <property name="hibernate.connection.driver_class"
                          value="org.hsqldb.jdbcDriver" />
                <property name="hibernate.connection.url"
                          value="jdbc:hsqldb:mem:mem:aname" />
                <property name="hibernate.connection.username" value="sa" />
                <property name="hibernate.dialect"
                          value="org.hibernate.dialect.HSQLDialect" />
                <property name="hibernate.hbm2ddl.auto" value="create" />
            </properties>
        </persistence-unit>
    </persistence>While running the test I'm getting null pointer exception on line
    em.close().
    I've surrounded it with try-catch, and the stack-trace is:
    java.lang.NullPointerException
         at entity.PersonTest.cleanup(PersonTest.java:33)
         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:597)
         at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
         at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)What did I do wrong?
    Greetings
    Michal

    It seems I used some incompatible jars. I still don't know which ones was it, but I've solved it.

  • Automated Composite build/test not work with non-default version

    Hello,
    I have a BPEL composite and I am trying to setup maven and soapUI to build, deploy, test, and upon successful test, set it as the default version. The difficulty I am having is testing the composite before it becomes the default version. I am able to hit the endpoint using the full URL with the randomly generated ID in it using soapUI (see below), but not by using the shortened URL.
    Full URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT*soa_13954572-b91f-480d-88d2-037e92083d72/bpelprocess1_client_ep
    Shortened URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT/bpelprocess1_client_ep
    I tried hitting the shortened URL outside of the maven build, just using soapUI, and the response is empty. However, if I then mark this new version as default (through EM), and then mark a previous version as default (let's say 0.0.11), then the shortened URL for 0.0.12 can be successfully hit.
    It seems to me then that before the shortened URL above can be used, that specific version must have been set as the default version at some point. This would make an automated maven/soapUI test of new version (but not default) quite difficult, as it would have to somehow retrieve the full URL.
    Is this a bug or can it be fixed with a config setting change?
    Here are the steps in the process, maven build (using the Oracle provided ant sca files):
    1. Compile
    2. Package
    3. Deploy, not as default
    4. Test the new version (using soapUI plugin)
    5. If successful tests, mark new version as default
    The problem is with step 4, can't determine what the full URL is and the shortened URL does not work.
    Thanks
    Ben

    I found a similar issue in Oracle's support site, Patch 13774839 (based on bug 13569816). I will try that out and post the results here.

  • Problem with axis2 and Tomcat

    Hello,
    I am having a strange problem with Tomcat and axis. I have a webservice that uses axis2 for wsdl2java class generation. When I compile my project in maven a Test is performed. During the test a glassfish server is established and the project is deployed -everything work great with the expected results. However when I try to deploy the webservice on tomcat it has some problems.
    At first I tried to call axis code in a POST method that takes a MultiPart message. The code is as below:
    *@Path("identifyWavestream")*
    *@POST*
    *@Consumes(MediaType.MULTIPART_FORM_DATA)*
    *@Produces(MediaType.APPLICATION_XML)*
    *public String multipartTest(com.sun.jersey.multipart.MultiPart multiPart) throws Exception {* 
    *// get first body part (index 0)*
    *//tomcat shows that the first error is here (line 122 is the nest one with bodypart)*
    BodyPart bp = multiPart.getBodyParts().get(0);
    BodyPartEntity bodyPartEntity = (BodyPartEntity) bp.getEntity();
    InputStream stream = bodyPartEntity.getInputStream();
    *//the rest of the code either saves the incoming file or implements the wsdl2java axis interface - neither works.*
    And the tomcat error is:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    java.util.ArrayList.RangeCheck(Unknown Source)
    java.util.ArrayList.get(Unknown Source)
    com.webserv.rest.resources.SearchResource.test.multipartTest(SearchResource.java:122)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:138)
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    It was strange to me since this simple approach of handling a Multipart method worked for me earlier. Then I decided skip the handling of multipart method and just call the axis code. But the results also caused an error. I then tried to call the axis code in a simple @GET method (to cross out any issues regarding the multipart) and the result where the same. Again everything works on the maven- glassfish test. In this case the tomcat error is the following:
    javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:361)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    com.sun.jersey.api.container.MappableContainerException: java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:74)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    root cause
    java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
    org.apache.axis2.transport.http.AbstractHTTPSender.initializeTimeouts(AbstractHTTPSender.java:454)
    org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient(AbstractHTTPSender.java:514)
    org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:156)
    org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
    org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
    org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
    org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
    org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
    org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
    org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
    com.webserv.rest.webapp.IntSoapServiceStub.getServerData(IntSoapServiceStub.java:2447)
    com.webserv..rest.resources.AIntSoapImpl.getServerData(AIntSoapImpl.java:112)
    com.webserv..rest.resources.SearchResource.test.pingTest(SearchResource.java:167)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProvider$TypeOutInvoker._dispatch(EntityParamDispatchProvider.java:138)
    com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
    com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:124)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)
    com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)
    com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)
    com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)
    com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    I think it is also a good ide to post the pom.xml file :
    Edited by: 803864 on 2010-10-21 00:30

    I think it is also a good ide to post the pom.xml file:
    +<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.myProjects</groupId>+
    +<artifactId>audioid-rest-interface</artifactId>+
    +<packaging>war</packaging>+
    +<name>AudioID Rest Interface</name>+
    +<version>0.1</version>+
    +<dependencies>+
    +<!--+
    +<dependency>+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-client</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>jersey-multipart</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.grizzly</groupId>+
    +<artifactId>grizzly-servlet-webserver</artifactId>+
    +<version>1.9.0</version>+
    +<scope>test</scope>+
    +</dependency>-->+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>jersey-multipart</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-client</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-bundle</artifactId>+
    +<version>1.0.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>commons-logging</groupId>+
    +<artifactId>commons-logging</artifactId>+
    +<version>1.0.4</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>commons-collections</groupId>+
    +<artifactId>commons-collections</artifactId>+
    +<version>3.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.slf4j</groupId>+
    +<artifactId>slf4j-log4j12</artifactId>+
    +<version>1.5.6</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>junit</groupId>+
    +<artifactId>junit</artifactId>+
    +<version>3.8.2</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.glassfish.distributions</groupId>+
    +<artifactId>web-all</artifactId>+
    +<version>10.0-build-20080430</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.glassfish.embedded</groupId>+
    +<artifactId>gf-embedded-api</artifactId>+
    +<version>1.0-alpha-4</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.hibernate</groupId>+
    +<artifactId>hibernate</artifactId>+
    +<version>3.2.5.ga</version>+
    +<exclusions>+
    +<exclusion>+
    +<groupId>javax.transaction</groupId>+
    +<artifactId>jta</artifactId>+
    +</exclusion>+
    +<exclusion>+
    +<groupId>cglib</groupId>+
    +<artifactId>cglib</artifactId>+
    +</exclusion>+
    +</exclusions>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2</artifactId>+
    +<version>1.4.1</version>+
    +</dependency>+
    +<!-- <dependency> -->+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-aar-maven-plugin</artifactId>+
    +<version>1.4.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-java2wsdl</artifactId>+
    +<version>1.4.1</version>+
    +<scope>test</scope>+
    +</dependency>+
    +<dependency>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-xmlbeans</artifactId>+
    +<version>1.4.1</version>+
    +</dependency>+
    +<!-- <dependency> -->+
    +<dependency>+
    +<groupId>com.sun.xml.bind</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1.12</version>+
    +</dependency>+
    +<dependency>+
    +<groupId>cglib</groupId>+
    +<artifactId>cglib-nodep</artifactId>+
    +<version>2.1_3</version>+
    +</dependency>+
    +</dependencies>+
    +<build>+
    +<finalName>audioid-rest-interface</finalName>+
    +<plugins>+
    +<plugin>+
    +<!-- This class is just generated for wadl support!!! -->+
    +<!-- Take care that folder ../music-dna-core is existing -->+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<phase>generate-sources</phase>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<generatePackage> com.webserv.wsparameters</generatePackage>+
    +<schemaDirectory>../audioid-rest-interface/src/main/resources+
    +</schemaDirectory>+
    +<includeSchemas>+
    +<includeSchema>**/*.xsd</includeSchema>+
    +</includeSchemas>+
    +<extension>true</extension>+
    +<strict>false</strict>+
    +<verbose>false</verbose>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-javadoc-plugin</artifactId>+
    +<!-- <version>2.6</version> -->+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>javadoc</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<encoding>UTF-8</encoding>+
    +<verbose>false</verbose>+
    +<show>public</show>+
    +<subpackages> com.webserv.rest.rest.resources: com.webserv.rest.rest.commons: com.webserv.wsparameters+
    +</subpackages>+
    +<doclet>com.sun.jersey.wadl.resourcedoc.ResourceDoclet</doclet>+
    +<docletPath>${path.separator}${project.build.outputDirectory}+
    +</docletPath>+
    +<docletArtifacts>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>wadl-resourcedoc-doclet</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>xerces</groupId>+
    +<artifactId>xercesImpl</artifactId>+
    +<version>2.6.1</version>+
    +</docletArtifact>+
    +</docletArtifacts>+
    +<additionalparam>-output+
    +${project.build.outputDirectory}/resourcedoc.xml</additionalparam>+
    +<useStandardDocletOptions>false</useStandardDocletOptions>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +<executions>+
    +<execution>+
    +<id>generate</id>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<wadlFile>${project.build.outputDirectory}/application.wadl+
    +</wadlFile>+
    +<formatWadlFile>true</formatWadlFile>+
    +<baseUri>http://192.168.2.149:8080/${project.build.finalName}+
    +</baseUri>+
    +<packagesResourceConfig>+
    +<param> com.webserv.rest.resources</param>+
    +</packagesResourceConfig>+
    +<wadlGenerators>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc+
    +</className>+
    +<properties>+
    +<property>+
    +<name>applicationDocsFile</name>+
    +<value>${basedir}/src/main/doc/application-doc.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport+
    +</className>+
    +<properties>+
    +<property>+
    +<name>grammarsFile</name>+
    +<value>${basedir}/src/main/doc/application-grammars.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +<wadlGeneratorDescription>+
    +<className>com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport+
    +</className>+
    +<properties>+
    +<property>+
    +<name>resourceDocFile</name>+
    +<value>${project.build.outputDirectory}/resourcedoc.xml</value>+
    +</property>+
    +</properties>+
    +</wadlGeneratorDescription>+
    +</wadlGenerators>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.codehaus.mojo</groupId>+
    +<artifactId>exec-maven-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>java</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<mainClass>com.sun.jersey.samples.generatewadl.Main</mainClass>+
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-compiler-plugin</artifactId>+
    +<inherited>true</inherited>+
    +<configuration>+
    +<source>1.5</source>+
    +<target>1.5</target>+
    +<!--+
    exclude temporary types that are only needed for wadl and doc
    generation
    -->
    +<!--+
    +<excludes> <exclude>com/webserv/types/temporary/**</exclude>+
    +<exclude>com/webserv/rest/commons/Examples.java</exclude>+
    +</excludes>+
    -->
    +</configuration>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.jvnet.jaxb2.maven2</groupId>+
    +<artifactId>maven-jaxb2-plugin</artifactId>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +<plugin>+
    +<groupId>org.apache.axis2</groupId>+
    +<artifactId>axis2-wsdl2code-maven-plugin</artifactId>+
    +<version>1.4.1</version>+
    +<executions>+
    +<execution>+
    +<id>generate reco core</id>+
    +<goals>+
    +<goal>wsdl2code</goal>+
    +</goals>+
    +<configuration>+
    +<packageName>com.webserv.rest.webapp</packageName>+
    +<wsdlFile>src/main/java/com/webserv/wsdl/web.wsdl</wsdlFile>+
    +<databindingName>adb</databindingName>+
    +</configuration>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +<plugin>+
    +<groupId>com.sun.tools.xjc.maven2</groupId>+
    +<artifactId>maven-jaxb-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<goals>+
    +<goal>generate</goal>+
    +</goals>+
    +</execution>+
    +</executions>+
    +<configuration>+
    +<generatePackage>com.webserv.wsparameters</generatePackage>+
    +<schemaDirectory>src/main/xsd</schemaDirectory> <includeSchemas>+
    +<includeSchema>**/*.xsd</includeSchema> </includeSchemas>+
    +<extension>true</extension>+
    +<strict>false</strict>+
    +<verbose>true</verbose>+
    +</configuration>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +<profiles>+
    +<profile>+
    +<id>jdk-1.5</id>+
    +<activation>+
    +<jdk>1.5</jdk>+
    +</activation>+
    +<dependencies>+
    +<dependency>+
    +<groupId>com.sun.xml.bind</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1.10</version>+
    +</dependency>+
    +</dependencies>+
    +<build>+
    +<plugins>+
    +<plugin>+
    +<groupId>org.apache.maven.plugins</groupId>+
    +<artifactId>maven-javadoc-plugin</artifactId>+
    +<configuration>+
    +<docletArtifacts>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>maven-wadl-plugin</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey.contribs</groupId>+
    +<artifactId>wadl-resourcedoc-doclet</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>com.sun.jersey</groupId>+
    +<artifactId>jersey-server</artifactId>+
    +<version>1.0.3.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>xerces</groupId>+
    +<artifactId>xercesImpl</artifactId>+
    +<version>2.6.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml.bind</groupId>+
    +<artifactId>jaxb-api</artifactId>+
    +<version>2.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml</groupId>+
    +<artifactId>jaxb-impl</artifactId>+
    +<version>2.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.activation</groupId>+
    +<artifactId>activation</artifactId>+
    +<version>1.1</version>+
    +</docletArtifact>+
    +<docletArtifact>+
    +<groupId>javax.xml.stream</groupId>+
    +<artifactId>stax-api</artifactId>+
    +<version>1.0</version>+
    +</docletArtifact>+
    +</docletArtifacts>+
    +</configuration>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +</profile>+
    +<profile>+
    +<id>xsltproc</id>+
    +<activation>+
    +<file>+
    +<exists>../xsltproc_win32/xsltproc.exe</exists>+
    +</file>+
    +</activation>+
    +<build>+
    +<plugins>+
    +<!-- Create/generate the application.html using xsltproc -->+
    +<!-- Create/generate the application.html using xsltproc -->+
    +<plugin>+
    +<groupId>org.codehaus.mojo</groupId>+
    +<artifactId>exec-maven-plugin</artifactId>+
    +<version>1.1</version>+
    +<executions>+
    +<execution>+
    +<id>copy-docs-to-builddir</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>compile</phase>+
    +<configuration>+
    +<executable>copy</executable>+
    +<commandlineArgs>src\\main\\doc\\*.* target\\classes+
    +</commandlineArgs>+
    +</configuration>+
    +</execution>+
    +<execution>+
    +<id>prepare-xsltproc</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>package</phase>+
    +<configuration>+
    +<executable>copy</executable>+
    +<commandlineArgs>..\\audioid-rest-interface\\src\\main\\resources\\*.xsd+
    target\\classes</commandlineArgs>
    +</configuration>+
    +</execution>+
    +<execution>+
    +<id>exec-xsltproc: target/application.html</id>+
    +<goals>+
    +<goal>exec</goal>+
    +</goals>+
    +<phase>package</phase>+
    +<configuration>+
    +<!--<executable>xsltproc</executable>-->+
    +<executable>../xsltproc_win32/xsltproc.exe</executable>+
    +<commandlineArgs>-o target/application.html+
    src/main/doc/wadl_documentation.xsl
    target/classes/application.wadl</commandlineArgs>
    +</configuration>+
    +</execution>+
    +</executions>+
    +</plugin>+
    +</plugins>+
    +</build>+
    +</profile>+
    +</profiles>+
    +<pluginRepositories>+
    +<pluginRepository>+
    +<id>maven2-repository.dev.java.net</id>+
    +<name>Java.net Repository for Maven</name>+
    +<url>http://download.java.net/maven/2/</url>+
    +<layout>default</layout>+
    +</pluginRepository>+
    +<pluginRepository>+
    +<id>maven-repository.dev.java.net</id>+
    +<name>Java.net Maven 1 Repository (legacy)</name>+
    +<url>http://download.java.net/maven/1</url>+
    +<layout>legacy</layout>+
    +</pluginRepository>+
    +</pluginRepositories>+
    +<repositories>+
    +<repository>+
    +<id>maven2-repository.dev.java.net</id>+
    +<name>Java.net Repository for Maven</name>+
    +<url>http://download.java.net/maven/2/</url>+
    +<layout>default</layout>+
    +</repository>+
    +<repository>+
    +<id>maven-repository.dev.java.net</id>+
    +<name>Java.net Maven 1 Repository (legacy)</name>+
    +<url>http://download.java.net/maven/1</url>+
    +<layout>legacy</layout>+
    +</repository>+
    +<repository>+
    +<id>glassfish-repository</id>+
    +<name>Java.net Repository for Glassfish</name>+
    +<url>http://download.java.net/maven/glassfish</url>+
    +</repository>+
    +</repositories>+
    +</project>+
    Can anyonr contribute?

  • Weblogic 10.3.0 Deployment error when using ejb-jar.xml

    Hi,
    I am getting the following error while deploying my EJB3 application on Weblogic 10.3.0. This is happening only if I include ejb-jar.xml.
    As per the EJB3 descriptor spec, Remote Home or Local home are not exists.
    Is this a issue in Weblogic 10.3.0 or am I missing any special setup ?
    Please help.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(egm-poc.jar)
    Unable to deploy EJB: C:\appsrv\domains\WeblogicRS1.1-domain\servers\admin\tmp\_WL_user\_appsdir_egmear_ear\ot2591\egm-poc.
    jar from egm-poc.jar:
    In EJB JPATestBean, both the remote home and remote component interface must be specified. Currently, only one of them is spec
    ified.
    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    My ejb-jar.xml is
    - <ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
    <description>JPA Test Application</description>
    <display-name>JPATest</display-name>
    - <enterprise-beans>
    - <session>
    <ejb-name>JPATestBean</ejb-name>
    <remote>egm.poc.jpa.JPATestBeanRemote</remote>
    <local>egm.poc.jpa.JPATestBeanLocal</local>
    <ejb-class>egm.poc.jpa.JPATestBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    - <session>
    <ejb-name>AuditInfoDAOH</ejb-name>
    <local>egm.poc.jpa.Audit</local>
    <ejb-class>egm.poc.jpa.AuditInfoDAOH</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    - <assembly-descriptor>
    - <container-transaction>
    - <method>
    <ejb-name>JPATestBean</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>RequiresNew</trans-attribute>
    </container-transaction>
    - <container-transaction>
    - <method>
    <ejb-name>AuditInfoDAOH</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Regards
    Saji

    Hi,
    Seems the issue is not common. Can anyone throw some light on this ?
    Regards
    Saji

  • [ERROR]   Unresolveable build extension

    Hello,
    This is my first time working with FlexPMD.  I'm trying to build it from source.  It builds for about 1/2 hour while downloading, then fails with an error that I cannot properly interpret. 
    Can someone suggest a resolution or identify the problem?
    This is on Mac 10.7 with Ant 1.8.1 and Java 1.6.0_33.
    Thank you!
    Steve
    mvn -X package amd
    Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
    Maven home: /usr/share/maven
    Java version: 1.6.0_33, vendor: Apple Inc.
    Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    Default locale: en_US, platform encoding: MacRoman
    OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"
    [INFO] Error stacktraces are turned on.
    [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
    [DEBUG] Reading user settings from /Users/erat/.m2/settings.xml
    [DEBUG] Using local repository at /Users/erat/.m2/repository
    [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /Users/erat/.m2/repository
    [INFO] Scanning for projects...
    [DEBUG] Extension realms for project com.adobe.ac:flex-pmd:pom:1.3-SNAPSHOT: (none)
    [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
    [DEBUG] Extension realms for project com.adobe.ac:flex-pmd-flex-parent:pom:1.3-SNAPSHOT: (none)
    [DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
    [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:3.5.0:
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-api:jar:3.5.0:compile
    [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-beta-3.0.6:compile
    [DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:1.4:compile
    [DEBUG]          org.apache.xbean:xbean-reflect:jar:3.4:compile
    [DEBUG]             log4j:log4j:jar:1.2.12:compile
    [DEBUG]             commons-logging:commons-logging-api:jar:1.1:compile
    [DEBUG]          com.google.code.google-collections:google-collect:jar:snapshot-20080530:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-1.1.0:jar:3.5.0:compile
    [DEBUG]       org.codehaus.groovy:groovy:jar:1.6.2:compile
    [DEBUG]          junit:junit:jar:3.8.2:compile
    [DEBUG]          org.apache.ant:ant:jar:1.7.1:compile
    [DEBUG]          org.apache.ant:ant-launcher:jar:1.7.1:compile
    [DEBUG]          asm:asm-util:jar:2.2.3:compile
    [DEBUG]          asm:asm-analysis:jar:2.2.3:compile
    [DEBUG]          asm:asm-tree:jar:2.2.3:compile
    [DEBUG]          jline:jline:jar:0.9.94:compile
    [DEBUG]       javax.persistence:persistence-api:jar:1.0:compile
    [DEBUG]       antlr:antlr:jar:2.7.7:compile
    [DEBUG]       asm:asm:jar:2.2:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.5.0:compile
    [DEBUG]       org.graniteds:granite-generator-share:jar:2.0.0.GA:compile
    [DEBUG]       org.codehaus.groovy:groovy-all:jar:1.6.2:compile
    [DEBUG]       javax.jdo:jdo2-api:jar:2.3-ea:compile
    [DEBUG]       javax.transaction:jta:jar:1.1:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-constraints:jar:3.5.0:compile
    [DEBUG]    com.adobe.flex:compiler:pom:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asdoc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-awt-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-bridge:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-css:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-ext:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-gvt:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-parser:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-script:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svg-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svggen:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-transcoder:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-xml:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-collections:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-discovery:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-logging:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:compc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:copylocale:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:digest:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fcsh:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fdb:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-compiler-oem:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-messaging-common:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mm-velocity:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mxmlc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:optimizer:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:swfutils:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xalan:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesImpl:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesPatch:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xmlParserAPIs:jar:3.2.0.3958:compile
    [DEBUG]    com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958:compile
    [DEBUG]    dom4j:dom4j:jar:1.6.1:compile
    [DEBUG]       xml-apis:xml-apis:jar:1.0.b2:compile
    [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-model:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.1:compile
    [DEBUG]       org.apache.maven:maven-artifact:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
    [DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.9:compile
    [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10:compile
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
    [DEBUG]       commons-cli:commons-cli:jar:1.0:compile
    [DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
    [DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
    [DEBUG]       classworlds:classworlds:jar:1.1:compile
    [DEBUG]    jaxen:jaxen:jar:1.1:compile
    [DEBUG]       jdom:jdom:jar:1.0:compile
    [DEBUG]       xerces:xercesImpl:jar:2.6.2:compile
    [DEBUG]       xom:xom:jar:1.0:compile
    [DEBUG]          xerces:xmlParserAPIs:jar:2.6.2:compile
    [DEBUG]          xalan:xalan:jar:2.6.0:compile
    [DEBUG]          com.ibm.icu:icu4j:jar:2.6.1:compile
    [DEBUG]    org.graniteds:granite-generator:jar:1.1.0:compile
    [DEBUG]    org.apache.maven.plugins:maven-eclipse-plugin:jar:2.5:compile
    [DEBUG]       org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:provided (scope managed from compile)
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-jline:jar:1.0-alpha-5:compile
    [DEBUG]       org.apache.maven:maven-archiver:jar:2.2:compile
    [DEBUG]       org.codehaus.plexus:plexus-resources:jar:1.0-alpha-4:compile
    [DEBUG]       biz.aQute:bndlib:jar:0.0.145:compile
    [DEBUG]       org.apache.maven.shared:maven-osgi:jar:0.2.0:compile
    [DEBUG]       org.eclipse.core:resources:jar:3.3.0-v20070604:compile
    [DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2:compile
    [DEBUG]       commons-validator:commons-validator:jar:1.1.4:compile
    [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7:compile
    [DEBUG]       oro:oro:jar:2.0.7:compile
    [DEBUG]       org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7:compile
    [DEBUG]          org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
    [DEBUG]          org.codehaus.plexus:plexus-velocity:jar:1.1.2:compile
    [DEBUG]             plexus:plexus-utils:jar:1.0.2:compile
    [DEBUG]             commons-collections:commons-collections:jar:2.0:compile
    [DEBUG]             velocity:velocity:jar:1.4:compile
    [DEBUG]                velocity:velocity-dep:jar:1.4:runtime
    [DEBUG]          org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7:compile
    [DEBUG]    commons-lang:commons-lang:jar:2.4:compile
    [DEBUG]    commons-io:commons-io:jar:1.4:compile
    [DEBUG]    commons-httpclient:commons-httpclient:jar:3.1:compile
    [DEBUG]       commons-logging:commons-logging:jar:1.0.4:compile
    [DEBUG]       commons-codec:commons-codec:jar:1.3:compile (version managed from 1.2)
    [DEBUG]    org.apache.maven.plugins:maven-source-plugin:jar:2.0.4:compile
    [DEBUG]    de.java2html:java2html:jar:5.0:compile
    [DEBUG]    org.aspectj:aspectjrt:jar:1.6.5:compile
    [DEBUG]    eu.cedarsoft.utils:zip:jar:1.1:compile
    [DEBUG]       eu.cedarsoft:guice-annotations:jar:1.0:compile
    [DEBUG]       com.intellij:annotations:jar:6.0.3:compile
    [DEBUG]    org.codehaus.plexus:plexus-component-annotations:jar:1.0-beta-3.0.6:compile
    [DEBUG]    org.jvnet:animal-sniffer-annotation:jar:1.0:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-tester:jar:3.5.0:compile
    [DEBUG]    net.sf.saxon:saxon-dom:jar:9.0:compile
    [DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.2:compile
    [DEBUG]       org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:compile
    [DEBUG] Created new class realm maven.api
    [DEBUG] Importing foreign packages into class realm maven.api
    [DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
    [DEBUG]   Imported: org.apache.maven.exception < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.version < plexus.core
    [DEBUG]   Imported: org.apache.maven.monitor < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
    [DEBUG]   Imported: org.apache.maven.repository < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
    [DEBUG]   Imported: org.apache.maven.profiles < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
    [DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
    [DEBUG]   Imported: org.apache.maven.execution < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
    [DEBUG]   Imported: org.apache.maven.reporting < plexus.core
    [DEBUG]   Imported: org.apache.maven.usability < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
    [DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.* < plexus.core
    [DEBUG]   Imported: org.apache.maven.settings < plexus.core
    [DEBUG]   Imported: org.codehaus.classworlds < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
    [DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
    [DEBUG]   Imported: org.apache.maven.configuration < plexus.core
    [DEBUG]   Imported: org.apache.maven.cli < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
    [DEBUG]   Imported: org.apache.maven.project < plexus.core
    [DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
    [DEBUG]   Imported: org.apache.maven.artifact < plexus.core
    [DEBUG]   Imported: org.apache.maven.model < plexus.core
    [DEBUG]   Imported: org.apache.maven.* < plexus.core
    [DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
    [DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
    [DEBUG]   Imported: org.apache.maven.plugin < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
    [DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
    [DEBUG] Populating class realm maven.api
    [DEBUG] Created new class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0
    [DEBUG] Importing foreign packages into class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0
    [DEBUG]   Imported:  < maven.api
    [DEBUG] Populating class realm extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-maven-plugin:jar:3.5.0
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-generator-api:jar:3.5.0
    [DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
    [DEBUG]   Included: log4j:log4j:jar:1.2.12
    [DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
    [DEBUG]   Included: com.google.code.google-collections:google-collect:jar:snapshot-20080530
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-generator-graniteds-1.1.0:jar:3.5.0
    [DEBUG]   Included: org.codehaus.groovy:groovy:jar:1.6.2
    [DEBUG]   Included: junit:junit:jar:3.8.2
    [DEBUG]   Included: org.apache.ant:ant:jar:1.7.1
    [DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.7.1
    [DEBUG]   Included: asm:asm-util:jar:2.2.3
    [DEBUG]   Included: asm:asm-analysis:jar:2.2.3
    [DEBUG]   Included: asm:asm-tree:jar:2.2.3
    [DEBUG]   Included: jline:jline:jar:0.9.94
    [DEBUG]   Included: javax.persistence:persistence-api:jar:1.0
    [DEBUG]   Included: antlr:antlr:jar:2.7.7
    [DEBUG]   Included: asm:asm:jar:2.2
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.5.0
    [DEBUG]   Included: org.graniteds:granite-generator-share:jar:2.0.0.GA
    [DEBUG]   Included: org.codehaus.groovy:groovy-all:jar:1.6.2
    [DEBUG]   Included: javax.jdo:jdo2-api:jar:2.3-ea
    [DEBUG]   Included: javax.transaction:jta:jar:1.1
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-generator-constraints:jar:3.5.0
    [DEBUG]   Included: com.adobe.flex:compiler:pom:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:asc:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:asdoc:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-awt-util:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-bridge:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-css:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-dom:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-ext:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-gvt:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-parser:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-script:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-svg-dom:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-svggen:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-transcoder:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-util:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:batik-xml:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:commons-collections:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:commons-discovery:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:commons-logging:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:compc:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:copylocale:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:digest:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:fcsh:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:fdb:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:flex-compiler-oem:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:flex-messaging-common:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:mm-velocity:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:mxmlc:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:optimizer:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:swfutils:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:xalan:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:xercesImpl:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:xercesPatch:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:xmlParserAPIs:jar:3.2.0.3958
    [DEBUG]   Included: com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958
    [DEBUG]   Included: dom4j:dom4j:jar:1.6.1
    [DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
    [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.1
    [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.9
    [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10
    [DEBUG]   Included: commons-cli:commons-cli:jar:1.0
    [DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
    [DEBUG]   Included: jaxen:jaxen:jar:1.1
    [DEBUG]   Included: jdom:jdom:jar:1.0
    [DEBUG]   Included: xerces:xercesImpl:jar:2.6.2
    [DEBUG]   Included: xom:xom:jar:1.0
    [DEBUG]   Included: xerces:xmlParserAPIs:jar:2.6.2
    [DEBUG]   Included: xalan:xalan:jar:2.6.0
    [DEBUG]   Included: com.ibm.icu:icu4j:jar:2.6.1
    [DEBUG]   Included: org.graniteds:granite-generator:jar:1.1.0
    [DEBUG]   Included: org.apache.maven.plugins:maven-eclipse-plugin:jar:2.5
    [DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-jline:jar:1.0-alpha-5
    [DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.2
    [DEBUG]   Included: org.codehaus.plexus:plexus-resources:jar:1.0-alpha-4
    [DEBUG]   Included: biz.aQute:bndlib:jar:0.0.145
    [DEBUG]   Included: org.apache.maven.shared:maven-osgi:jar:0.2.0
    [DEBUG]   Included: org.eclipse.core:resources:jar:3.3.0-v20070604
    [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2
    [DEBUG]   Included: commons-validator:commons-validator:jar:1.1.4
    [DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7
    [DEBUG]   Included: oro:oro:jar:2.0.7
    [DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7
    [DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6
    [DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.2
    [DEBUG]   Included: plexus:plexus-utils:jar:1.0.2
    [DEBUG]   Included: commons-collections:commons-collections:jar:2.0
    [DEBUG]   Included: velocity:velocity:jar:1.4
    [DEBUG]   Included: velocity:velocity-dep:jar:1.4
    [DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7
    [DEBUG]   Included: commons-lang:commons-lang:jar:2.4
    [DEBUG]   Included: commons-io:commons-io:jar:1.4
    [DEBUG]   Included: commons-httpclient:commons-httpclient:jar:3.1
    [DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
    [DEBUG]   Included: commons-codec:commons-codec:jar:1.3
    [DEBUG]   Included: org.apache.maven.plugins:maven-source-plugin:jar:2.0.4
    [DEBUG]   Included: de.java2html:java2html:jar:5.0
    [DEBUG]   Included: org.aspectj:aspectjrt:jar:1.6.5
    [DEBUG]   Included: eu.cedarsoft.utils:zip:jar:1.1
    [DEBUG]   Included: eu.cedarsoft:guice-annotations:jar:1.0
    [DEBUG]   Included: com.intellij:annotations:jar:6.0.3
    [DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.0-beta-3.0.6
    [DEBUG]   Included: org.jvnet:animal-sniffer-annotation:jar:1.0
    [DEBUG]   Included: org.sonatype.flexmojos:flexmojos-tester:jar:3.5.0
    [DEBUG]   Included: net.sf.saxon:saxon-dom:jar:9.0
    [DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.2
    [DEBUG]   Included: org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
    [DEBUG] Extension realms for project com.adobe.ac:flex-pmd-ruleset-creator:swf:1.3-SNAPSHOT: [ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0, parent: sun.misc.Launcher$AppClassLoader@7a9664a1]]
    [DEBUG] Created new class realm project>com.adobe.ac:flex-pmd-ruleset-creator:1.3-SNAPSHOT
    [DEBUG] Populating class realm project>com.adobe.ac:flex-pmd-ruleset-creator:1.3-SNAPSHOT
    [DEBUG] Looking up lifecyle mappings for packaging swf from ClassRealm[project>com.adobe.ac:flex-pmd-ruleset-creator:1.3-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
    [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:3.5.0:
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-api:jar:3.5.0:compile
    [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-beta-3.0.6:compile
    [DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:1.4:compile
    [DEBUG]          org.apache.xbean:xbean-reflect:jar:3.4:compile
    [DEBUG]             log4j:log4j:jar:1.2.12:compile
    [DEBUG]             commons-logging:commons-logging-api:jar:1.1:compile
    [DEBUG]          com.google.code.google-collections:google-collect:jar:snapshot-20080530:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-1.1.0:jar:3.5.0:compile
    [DEBUG]       org.codehaus.groovy:groovy:jar:1.6.2:compile
    [DEBUG]          junit:junit:jar:3.8.2:compile
    [DEBUG]          org.apache.ant:ant:jar:1.7.1:compile
    [DEBUG]          org.apache.ant:ant-launcher:jar:1.7.1:compile
    [DEBUG]          asm:asm-util:jar:2.2.3:compile
    [DEBUG]          asm:asm-analysis:jar:2.2.3:compile
    [DEBUG]          asm:asm-tree:jar:2.2.3:compile
    [DEBUG]          jline:jline:jar:0.9.94:compile
    [DEBUG]       javax.persistence:persistence-api:jar:1.0:compile
    [DEBUG]       antlr:antlr:jar:2.7.7:compile
    [DEBUG]       asm:asm:jar:2.2:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.5.0:compile
    [DEBUG]       org.graniteds:granite-generator-share:jar:2.0.0.GA:compile
    [DEBUG]       org.codehaus.groovy:groovy-all:jar:1.6.2:compile
    [DEBUG]       javax.jdo:jdo2-api:jar:2.3-ea:compile
    [DEBUG]       javax.transaction:jta:jar:1.1:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-constraints:jar:3.5.0:compile
    [DEBUG]    com.adobe.flex:compiler:pom:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asdoc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-awt-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-bridge:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-css:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-ext:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-gvt:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-parser:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-script:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svg-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svggen:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-transcoder:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-xml:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-collections:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-discovery:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-logging:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:compc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:copylocale:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:digest:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fcsh:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fdb:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-compiler-oem:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-messaging-common:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mm-velocity:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mxmlc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:optimizer:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:swfutils:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xalan:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesImpl:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesPatch:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xmlParserAPIs:jar:3.2.0.3958:compile
    [DEBUG]    com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958:compile
    [DEBUG]    dom4j:dom4j:jar:1.6.1:compile
    [DEBUG]       xml-apis:xml-apis:jar:1.0.b2:compile
    [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-model:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.1:compile
    [DEBUG]       org.apache.maven:maven-artifact:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
    [DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.9:compile
    [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10:compile
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
    [DEBUG]       commons-cli:commons-cli:jar:1.0:compile
    [DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
    [DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
    [DEBUG]       classworlds:classworlds:jar:1.1:compile
    [DEBUG]    jaxen:jaxen:jar:1.1:compile
    [DEBUG]       jdom:jdom:jar:1.0:compile
    [DEBUG]       xerces:xercesImpl:jar:2.6.2:compile
    [DEBUG]       xom:xom:jar:1.0:compile
    [DEBUG]          xerces:xmlParserAPIs:jar:2.6.2:compile
    [DEBUG]          xalan:xalan:jar:2.6.0:compile
    [DEBUG]          com.ibm.icu:icu4j:jar:2.6.1:compile
    [DEBUG]    org.graniteds:granite-generator:jar:1.1.0:compile
    [DEBUG]    org.apache.maven.plugins:maven-eclipse-plugin:jar:2.5:compile
    [DEBUG]       org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:provided (scope managed from compile)
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-jline:jar:1.0-alpha-5:compile
    [DEBUG]       org.apache.maven:maven-archiver:jar:2.2:compile
    [DEBUG]       org.codehaus.plexus:plexus-resources:jar:1.0-alpha-4:compile
    [DEBUG]       biz.aQute:bndlib:jar:0.0.145:compile
    [DEBUG]       org.apache.maven.shared:maven-osgi:jar:0.2.0:compile
    [DEBUG]       org.eclipse.core:resources:jar:3.3.0-v20070604:compile
    [DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2:compile
    [DEBUG]       commons-validator:commons-validator:jar:1.1.4:compile
    [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7:compile
    [DEBUG]       oro:oro:jar:2.0.7:compile
    [DEBUG]       org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7:compile
    [DEBUG]          org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
    [DEBUG]          org.codehaus.plexus:plexus-velocity:jar:1.1.2:compile
    [DEBUG]             plexus:plexus-utils:jar:1.0.2:compile
    [DEBUG]             commons-collections:commons-collections:jar:2.0:compile
    [DEBUG]             velocity:velocity:jar:1.4:compile
    [DEBUG]                velocity:velocity-dep:jar:1.4:runtime
    [DEBUG]          org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7:compile
    [DEBUG]    commons-lang:commons-lang:jar:2.4:compile
    [DEBUG]    commons-io:commons-io:jar:1.4:compile
    [DEBUG]    commons-httpclient:commons-httpclient:jar:3.1:compile
    [DEBUG]       commons-logging:commons-logging:jar:1.0.4:compile
    [DEBUG]       commons-codec:commons-codec:jar:1.3:compile (version managed from 1.2)
    [DEBUG]    org.apache.maven.plugins:maven-source-plugin:jar:2.0.4:compile
    [DEBUG]    de.java2html:java2html:jar:5.0:compile
    [DEBUG]    org.aspectj:aspectjrt:jar:1.6.5:compile
    [DEBUG]    eu.cedarsoft.utils:zip:jar:1.1:compile
    [DEBUG]       eu.cedarsoft:guice-annotations:jar:1.0:compile
    [DEBUG]       com.intellij:annotations:jar:6.0.3:compile
    [DEBUG]    org.codehaus.plexus:plexus-component-annotations:jar:1.0-beta-3.0.6:compile
    [DEBUG]    org.jvnet:animal-sniffer-annotation:jar:1.0:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-tester:jar:3.5.0:compile
    [DEBUG]    net.sf.saxon:saxon-dom:jar:9.0:compile
    [DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.2:compile
    [DEBUG]       org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:compile
    [DEBUG] Extension realms for project com.adobe.ac:flex-pmd-violations-viewer:swf:1.3-SNAPSHOT: [ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0, parent: sun.misc.Launcher$AppClassLoader@7a9664a1]]
    [DEBUG] Looking up lifecyle mappings for packaging swf from ClassRealm[project>com.adobe.ac:flex-pmd-ruleset-creator:1.3-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
    [DEBUG] Extension realms for project com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT: [ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0, parent: sun.misc.Launcher$AppClassLoader@7a9664a1]]
    [DEBUG] Looking up lifecyle mappings for packaging swc from ClassRealm[project>com.adobe.ac:flex-pmd-ruleset-creator:1.3-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
    [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:3.5.0:
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-api:jar:3.5.0:compile
    [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-beta-3.0.6:compile
    [DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:1.4:compile
    [DEBUG]          org.apache.xbean:xbean-reflect:jar:3.4:compile
    [DEBUG]             log4j:log4j:jar:1.2.12:compile
    [DEBUG]             commons-logging:commons-logging-api:jar:1.1:compile
    [DEBUG]          com.google.code.google-collections:google-collect:jar:snapshot-20080530:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-1.1.0:jar:3.5.0:compile
    [DEBUG]       org.codehaus.groovy:groovy:jar:1.6.2:compile
    [DEBUG]          junit:junit:jar:3.8.2:compile
    [DEBUG]          org.apache.ant:ant:jar:1.7.1:compile
    [DEBUG]          org.apache.ant:ant-launcher:jar:1.7.1:compile
    [DEBUG]          asm:asm-util:jar:2.2.3:compile
    [DEBUG]          asm:asm-analysis:jar:2.2.3:compile
    [DEBUG]          asm:asm-tree:jar:2.2.3:compile
    [DEBUG]          jline:jline:jar:0.9.94:compile
    [DEBUG]       javax.persistence:persistence-api:jar:1.0:compile
    [DEBUG]       antlr:antlr:jar:2.7.7:compile
    [DEBUG]       asm:asm:jar:2.2:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.5.0:compile
    [DEBUG]       org.graniteds:granite-generator-share:jar:2.0.0.GA:compile
    [DEBUG]       org.codehaus.groovy:groovy-all:jar:1.6.2:compile
    [DEBUG]       javax.jdo:jdo2-api:jar:2.3-ea:compile
    [DEBUG]       javax.transaction:jta:jar:1.1:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-generator-constraints:jar:3.5.0:compile
    [DEBUG]    com.adobe.flex:compiler:pom:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:asdoc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-awt-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-bridge:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-css:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-ext:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-gvt:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-parser:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-script:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svg-dom:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-svggen:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-transcoder:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-util:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:batik-xml:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-collections:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-discovery:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:commons-logging:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:compc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:copylocale:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:digest:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fcsh:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:fdb:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-compiler-oem:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:flex-messaging-common:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mm-velocity:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:mxmlc:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:optimizer:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:swfutils:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xalan:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesImpl:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xercesPatch:jar:3.2.0.3958:compile
    [DEBUG]       com.adobe.flex.compiler:xmlParserAPIs:jar:3.2.0.3958:compile
    [DEBUG]    com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958:compile
    [DEBUG]    dom4j:dom4j:jar:1.6.1:compile
    [DEBUG]       xml-apis:xml-apis:jar:1.0.b2:compile
    [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-project:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-settings:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-profile:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-model:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.1:compile
    [DEBUG]       org.apache.maven:maven-artifact:jar:2.0.9:compile
    [DEBUG]    org.apache.maven:maven-core:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile
    [DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.0.9:compile
    [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10:compile
    [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
    [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile
    [DEBUG]       commons-cli:commons-cli:jar:1.0:compile
    [DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
    [DEBUG]       org.apache.maven:maven-monitor:jar:2.0.9:compile
    [DEBUG]       classworlds:classworlds:jar:1.1:compile
    [DEBUG]    jaxen:jaxen:jar:1.1:compile
    [DEBUG]       jdom:jdom:jar:1.0:compile
    [DEBUG]       xerces:xercesImpl:jar:2.6.2:compile
    [DEBUG]       xom:xom:jar:1.0:compile
    [DEBUG]          xerces:xmlParserAPIs:jar:2.6.2:compile
    [DEBUG]          xalan:xalan:jar:2.6.0:compile
    [DEBUG]          com.ibm.icu:icu4j:jar:2.6.1:compile
    [DEBUG]    org.graniteds:granite-generator:jar:1.1.0:compile
    [DEBUG]    org.apache.maven.plugins:maven-eclipse-plugin:jar:2.5:compile
    [DEBUG]       org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:provided (scope managed from compile)
    [DEBUG]       org.codehaus.plexus:plexus-interactivity-jline:jar:1.0-alpha-5:compile
    [DEBUG]       org.apache.maven:maven-archiver:jar:2.2:compile
    [DEBUG]       org.codehaus.plexus:plexus-resources:jar:1.0-alpha-4:compile
    [DEBUG]       biz.aQute:bndlib:jar:0.0.145:compile
    [DEBUG]       org.apache.maven.shared:maven-osgi:jar:0.2.0:compile
    [DEBUG]       org.eclipse.core:resources:jar:3.3.0-v20070604:compile
    [DEBUG]    org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2:compile
    [DEBUG]       commons-validator:commons-validator:jar:1.1.4:compile
    [DEBUG]       org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7:compile
    [DEBUG]       oro:oro:jar:2.0.7:compile
    [DEBUG]       org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7:compile
    [DEBUG]          org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
    [DEBUG]          org.codehaus.plexus:plexus-velocity:jar:1.1.2:compile
    [DEBUG]             plexus:plexus-utils:jar:1.0.2:compile
    [DEBUG]             commons-collections:commons-collections:jar:2.0:compile
    [DEBUG]             velocity:velocity:jar:1.4:compile
    [DEBUG]                velocity:velocity-dep:jar:1.4:runtime
    [DEBUG]          org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7:compile
    [DEBUG]    commons-lang:commons-lang:jar:2.4:compile
    [DEBUG]    commons-io:commons-io:jar:1.4:compile
    [DEBUG]    commons-httpclient:commons-httpclient:jar:3.1:compile
    [DEBUG]       commons-logging:commons-logging:jar:1.0.4:compile
    [DEBUG]       commons-codec:commons-codec:jar:1.3:compile (version managed from 1.2)
    [DEBUG]    org.apache.maven.plugins:maven-source-plugin:jar:2.0.4:compile
    [DEBUG]    de.java2html:java2html:jar:5.0:compile
    [DEBUG]    org.aspectj:aspectjrt:jar:1.6.5:compile
    [DEBUG]    eu.cedarsoft.utils:zip:jar:1.1:compile
    [DEBUG]       eu.cedarsoft:guice-annotations:jar:1.0:compile
    [DEBUG]       com.intellij:annotations:jar:6.0.3:compile
    [DEBUG]    org.codehaus.plexus:plexus-component-annotations:jar:1.0-beta-3.0.6:compile
    [DEBUG]    org.jvnet:animal-sniffer-annotation:jar:1.0:compile
    [DEBUG]    org.sonatype.flexmojos:flexmojos-tester:jar:3.5.0:compile
    [DEBUG]    net.sf.saxon:saxon-dom:jar:9.0:compile
    [DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.2:compile
    [DEBUG]       org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:compile
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/3.2.0.3958/compiler-3.2.0.3958.pom from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/asc/3.2.0.3958/asc-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/asdoc/3.2.0.3958/asdoc-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-awt-util/3.2.0.3958/batik-awt-ut il-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-bridge/3.2.0.3958/batik-bridge-3 .2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-css/3.2.0.3958/batik-css-3.2.0.3 958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-dom/3.2.0.3958/batik-dom-3.2.0.3 958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-ext/3.2.0.3958/batik-ext-3.2.0.3 958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-gvt/3.2.0.3958/batik-gvt-3.2.0.3 958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-parser/3.2.0.3958/batik-parser-3 .2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-script/3.2.0.3958/batik-script-3 .2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-svg-dom/3.2.0.3958/batik-svg-dom -3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-svggen/3.2.0.3958/batik-svggen-3 .2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-transcoder/3.2.0.3958/batik-tran scoder-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-util/3.2.0.3958/batik-util-3.2.0 .3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/batik-xml/3.2.0.3958/batik-xml-3.2.0.3 958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/commons-collections/3.2.0.3958/commons -collections-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/commons-discovery/3.2.0.3958/commons-d iscovery-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/commons-logging/3.2.0.3958/commons-log ging-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/compc/3.2.0.3958/compc-3.2.0.3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (http://mc-repo.googlecode.com/svn/maven2/releases, releases), central (http://repo1.maven.org/maven2, releases)]
    [DEBUG] Verifying availability of /Users/erat/.m2/repository/com/adobe/flex/compiler/copylocale/3.2.0.3958/copylocale-3.2.0 .3958.jar from [dist.codehaus.org (http://dist.codehaus.org, releases+snapshots), repository.codehaus.org (http://repository.codehaus.org, releases+snapshots), mc-release (

    @Michael: Thank you!  I'm a Maven n00b.  This time FlexPMD project gets a lot farther when building with Maven 2.x, and when it encounters missing dependencies, it actually outputs how to obtain and install them.  That is soo much better than when I ran it it with Maven 3.
    Example:
    [INFO] Unable to find resource 'com.adobe.cairngorm:cairngorm:swc:2.2.1' in repository nexus.codehaus (https://nexus.codehaus.org/content/repositories/releases)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
    Missing:
    1) com.adobe.flex.framework:datavisualization:swc:3.2.0.3958
      Try downloading the file manually from the project website.
      Then, install it using the command:
          mvn install:install-file -DgroupId=com.adobe.flex.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      Path to dependency:
          1) com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT
          2) com.adobe.flex.framework:datavisualization:swc:3.2.0.3958
    2) com.adobe.flex.framework:datavisualization:rb.swc:en_US:3.2.0.3958
      Try downloading the file manually from the project website.
      Then, install it using the command:
          mvn install:install-file -DgroupId=com.adobe.flex.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=rb.swc -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=rb.swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      Path to dependency:
          1) com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT
          2) com.adobe.flex.framework:datavisualization:rb.swc:en_US:3.2.0.3958
    3) com.adobe.cairngorm:event-source:swc:1.1
      Try downloading the file manually from the project website.
      Then, install it using the command:
          mvn install:install-file -DgroupId=com.adobe.cairngorm -DartifactId=event-source -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=com.adobe.cairngorm -DartifactId=event-source -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      Path to dependency:
          1) com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT
          2) com.adobe.cairngorm:event-source:swc:1.1
    4) com.adobe.cairngorm:cairngorm:swc:2.2.1
      Try downloading the file manually from the project website.
      Then, install it using the command:
          mvn install:install-file -DgroupId=com.adobe.cairngorm -DartifactId=cairngorm -Dversion=2.2.1 -Dpackaging=swc -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=com.adobe.cairngorm -DartifactId=cairngorm -Dversion=2.2.1 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      Path to dependency:
          1) com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT
          2) com.adobe.cairngorm:cairngorm:swc:2.2.1
    4 required artifacts are missing.
    for artifact:
      com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT
    from the specified remote repositories:
      flexmojos-repository (http://repository.sonatype.org/content/groups/public/),
      central (http://repo1.maven.org/maven2),
      dist.codehaus.org (http://dist.codehaus.org/),
      nexus.codehaus (https://nexus.codehaus.org/content/repositories/releases),
      maven2-repository.dev.java.net (http://download.java.net/maven/2/),
      apache (http://cvs.apache.org/repository/),
      flex-mojos (http://repository.sonatype.org/content/groups/flexgroup)
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 10 minutes 30 seconds
    [INFO] Finished at: Wed Aug 01 11:39:21 EDT 2012
    [INFO] Final Memory: 67M/123M
    [INFO] ------------------------------------------------------------------------

  • Tiles 2 and JSF integration in tomcat 5.5.25

    hi all,
    "Tiles 2" is a new project extracted from Struts and is now integrated with various frameworks...
    I'm wondering if anyone here succeed to run Tiles 2 with JSF on tomcat 5.5.25.
    I'd downloaded a test from maven: (The test application is not working in my environment... i'll be happy to hear about any success from one of you...
    http://repo1.maven.org/maven2/org/apache/tiles/tiles-test/2.0.5/
    File name: tiles-test-2.0.5.war
    This test application should work on java 5.0.
    I will be glad to here some advice,
    thanks
    Edited by: buz_word on Nov 19, 2007 6:50 PM

    Are you sure that a new session is being created in step 6? Tomcat can be configured to persist sessions between restarts. Maybe check getCreationTime() on the session?
    --Jon                                                                                                                                                                                                                                                                                                                                                               

  • NPE while calling a simple SLSB

    Greetings,
    I a SLSB i have the following code:
    public String sayHello (String who)
    return "Hello " + who;
    public void insertArticle (String title, Magazine magazine)
    /* Do nothing */
    I'm calling from a remote client the sayHello methos and it works. Now, if I modify the code this way:
    public String sayHello (String who)
    return "Hello " + who;
    public void insertArticle (String title, ArrayList<Author> authors, Magazine magazine)
    /* Do nothing */
    and I call from the same remote client the same sayHello methos, I got:
    Exception in thread "Main Thread" java.lang.NullPointerException
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:162)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
         at $Proxy0.sayHello(Unknown Source)
         at fr.simplex_software.jpa.test.LoadDB.main(LoadDB.java:43)
    Please notice that I'm never calling the insertArticle methos which modifications obviously raises the exception.
    Many thanks in advance for any help,
    Nicolas

    All right, after having spent two days on this issue, I finally found out that in order to be able to use generics in EJB with WebLogic, one needs to have appc generated stubs on the client side. Doing that is not trivial in Eclipse (OEPE) but adding an ant script like the following
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project basedir="." default="build-project" name="ww204-ejb">
    <property name="jpa.project" value="../ww204-jpa"/>
    <target name="build-project">
    <echo message="${ant.project.name}: ${ant.file}" />
    <taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
    <wlappc source="build/classes" forceGeneration="true" verbose="true" deprecation="true">
    <classpath>
    <pathelement location="${jpa.project}/build/classes"/>
    </classpath>
    </wlappc>
    </target>
    </project>
    which generates the appc stubs in the EJB Project's binary output directory and using this directory in the remote client CLASSPATH solves the problem. This is probably not regular as there is no any other application server having such a requirement but, if you want to use EJB with WebLogic and if, as myself, you think it would be too stupide not to use generics, you need to do that. You may continue using the WTP build facilities of Eclipse (OEPE) but you need to add to your EJB Project an ant builder which runs the script above. That's a pain, I know, but it seems to be the only way to decently do EJB/JPA with WebLogic. That's crazy that I needed to spend two days to come to something which is probably already known since longtime. So, I hope that, as oposed to myself, other people will be luckyer and beneficiate of this post.
    Kind regards,
    Nicolas

  • Hi Anil, I was able to compile the Maven test build successfully but still has errors.

    Hi Anil, I am not able to compile the Maven test build successfully but still have errors/warning messages. Can you please help me or tell me if I can
    processed with the tutorials. Thanks.
    <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>
      <groupId>Maven-Test</groupId>
      <artifactId>Maven-Test</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
       <dependencies>
    <!-- check if <sap.cloud.sdk.version> and <sap.cloud.sdk.path> in settings.xml are correct -->
    <!-- SAP HANA Cloud SDK dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId>
    <version>1.48.16</version>
    <scope>system</scope>
    <systemPath>C:/dev/hanacloud.sdk/1.48.16</systemPath>
    </dependency>
    <!-- check if <eclipse.path> and <sap.cloud.ui5.version> in settings.xml are correct -->
    <!-- SAPUI5 dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId> (I am getting error here)
    <version>1.18.8</version>
    <scope>system</scope>
      <systemPath>C:/dev/eclipse</systemPath>
    </dependency>
    </dependencies>
    </project>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for Maven-Test:Maven-Test:pom:0.0.1-SNAPSHOT
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/hanacloud.sdk/1.48.16 @ line 16, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/eclipse @ line 25, column 15
    [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: Maven-Test:Maven-Test:jar -> version 1.48.16 vs 1.18.8 @ line 20, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar refers to a non-existing file C:\dev\eclipse @ line 25, column 15
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO]                                                                        
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Maven-Test 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom (5 KB at 4.3 KB/sec)
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Maven-Test ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.507s
    [INFO] Finished at: Mon Mar 24 02:27:14 EDT 2014
    [INFO] Final Memory: 5M/99M
    [INFO] ------------------------------------------------------------------------

    It's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
    I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
    to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
    For example in SQL 2008 there is ReportExecutionService
    object but on the SQL 2012 to service there only seems to be
    ReportExecutionServiceSOAPClient.
    R Campbell

  • [svn:cairngorm3:] 21199: Maven Tests failing for unkown reason:

    Revision: 21199
    Revision: 21199
    Author:   [email protected]
    Date:     2011-05-04 01:08:33 -0700 (Wed, 04 May 2011)
    Log Message:
    Maven Tests failing for unkown reason:
    https://bugs.adobe.com/jira/browse/CGM-60
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-60
    Modified Paths:
        cairngorm3/trunk/libraries/NavigationParsley/pom.xml

    Hi Suraj,
    > Since its graphical the blocks will take space, but
    > there is always an adavntage of processing time.
    > Ebven though it may appear bigger, it will take less
    > time as compared with Java code (for the same
    > mapping).
    Could you explain more why the graphical mapping has better performance? I thought the graphical mapping is compiled into a Java class in the runtime anyway.
    > Yes thats there, but same goes with Java mapping too
    > right (if you haven't mentioned it as constants)
    I mainly think about inheritance. If I have to build 10 interfaces and they all have some common behavior, I can create a base interface class to encapsulate the common logic. But with graphical mapping, you have to duplicate them in each interface.
    > Disadvantages of Java mapping:
    > 1. Performance
    Same as above. I just don't see why Java has worse performance. I actually think Java should have better performance. You can optimize the code anyway you want. In some cases, you have to use queue functions in graphical mapping but it's not necessary in Java.
    > 2. All might not be well versed with Java Code(though
    > everyone may know basic java) .
    I am not asking everyone to abandon graphical mapping. I am just wondering which one is better when you have skills for both.
    > 3. Lot of standard functions are available in GM
    > which you can choose, but you have to remember the
    > exact code for those in Java mapping.
    You can create functions in Java too. All you have to do is to remember the function name.
    Kenny

  • RCPTT Maven Test Runner failing

    Hi, I tried to run maven using the following in my build configuration
    <runner>
    <version>2.0.0-SNAPSHOT</version>
    </runner>
    The build is failing with the following error in command line
    vl-c-jrex-ice{14}> mvn clean install
    [INFO] Scanning for projects...
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/ci4rcptt-maven-plugin/1.5.6-SNAPSHOT/maven-metadata.xml
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/q7-maven-modules/1.5.6-SNAPSHOT/maven-metadata.xml
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/q7-maven-util/1.5.6-SNAPSHOT/maven-metadata.xml
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building MyApp 1.0.0
    [INFO] ------------------------------------------------------------------------
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ MyApp ---
    [INFO]
    [INFO] --- ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:resources (default-resources) @ MyApp ---
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/
    [INFO] Resolving artifact org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT, this may take a while ...
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/maven-metadata.xml
    Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/rcptt.runner-2.0.0-SNAPSHOT.zip
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7.918 s
    [INFO] Finished at: 2015-07-20T02:13:46-07:00
    [INFO] Final Memory: 13M/121M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal com.xored.ci4rcptt:ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:resources (default-resources) on project MyApp: Failed to resolve artifact org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT: Failure to find org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT in http://maven.xored.com/nexus/content/repositories/rcptt-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of rcptt-releases has elapsed or updates are forced -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    vl-c-jrex-ice{14}>
    I tried to re-run with this change in maven build configuration
    <runner>
    <explicit>../../../../../rcptt.runner-incubation-1.5.6-N201504152315.zip</explicit>
    </runner>
    with no other change and the build is passing.
    It was working and suddenly stopped working. Why is providing version failing? Kindly let me know,
    Thanks
    Jeevan.

    Hi Folks,
    We've found out the cause of the problem and have found out that this is not entirely RCPTT related. Apologies for the disturbance. Marking this as a non-issue.
    cheers!
    Joseph

  • Test execution order from Maven Plugin

    Hello,
    I would like to ask if there any option to set the order execution of the test as true in order to execute the test how I want.
    If it is possible, please provide any sample.
    Regards,
    Agustin Celentano

    Hi Agustin,
    You can use test suites to do that. I remember being able to set the order of the test cases in the test suite but now the up and down arrows are gone. But I remember reading somewhere here that there is a way to make it visible. Another alternative is you can prefix your test cases with numbers so that they'll be ordered in the test suite.
    cheers!
    Joseph

  • How to configure Spring Data JPA to handle sdo_geometry and Timestamp(0)?

    Hi all,
    I'm new to this community, not sure if I'm posting in the right place.
    I'm an Oracle old-hand, but new to Spring Data, having done a bit on postGIS, but now trying to apply it to Oracle.
    My problem:  I have a new maven project, with Entity and Repository classes, and a JUnit test program that uses DbUnit to preload test data.
    The current config uses a beans.xml file to set up:
      <bean id="entityManagerFactory"
        class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">...
        <property name="jpaProperties">....
      <bean id="vendorAdapter"
        class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="databasePlatform" value="org.hibernate.dialect.Oracle10gDialect" />
        <property name="generateDdl" value="false" />
      </bean>
      <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
        destroy-method="close">
        <property name="driverClass" value="oracle.jdbc.OracleDriver" />
        <property name="jdbcUrl"
         value="jdbc:oracle:thin:@localhost:2632:BLADE" />...
    <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
      <property name="entityManagerFactory" ref="entityManagerFactory" />
    </bean>
    Test of repos.count() works ok.
    Test to call repos.findByName(String) fails, (stack below).
    Now, the current setup doesn't handle SDO_GEOMETRY, or TIMESTAMP(0), but will manage TIMESTAMP(6).
    The warnings below show that I'm  using "DefaultDataTypeFactory" and should probably be using OracleDataTypeFactory.
    I've also found the OracleDataSource class, and tried that, but still get the same data type issues.
    Ok, the big questions:
    1. Can anyone point me at an example to configure the dataSource, or vendorAdapter, to use the OracleDataTypeFactory, and retrieve these data types?
    2. What data type should I be using in Java for the geometry column?
    Thanks,
    Phil
    Test output warnings:
    16:24:05.846 [main] INFO  org.springframework.test.context.transaction.TransactionalTestExecutionListener - Began transaction (2) for test context [DefaultTestContext@990034 testClass = NotamRepositoryTest, testInstance = com.thalesgroup.uk.airscape.common.data.domain.dao.notam.NotamRepositoryTest@3ff1d6, testMethod = testNotamFetchByDatasetName@NotamRepositoryTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@1346193 testClass = NotamRepositoryTest, locations = '{classpath:testBeans.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@1f1fe9d]; rollback [true]
    16:24:08.674 [main] WARN  org.dbunit.dataset.AbstractTableMetaData - Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'Oracle' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products.
    16:24:08.674 [main] WARN  org.dbunit.util.SQLHelper - DATA_SET.SEC_TAG_MODIFIED data type (1111, 'TIMESTAMP(0)') not recognized and will be ignored. See FAQ for more information.
    16:24:08.674 [main] WARN  org.dbunit.util.SQLHelper - DATA_SET.CREATED data type (1111, 'TIMESTAMP(0)') not recognized and will be ignored. See FAQ for more information.
    16:24:08.674 [main] WARN  org.dbunit.util.SQLHelper - DATA_SET.MODIFIED data type (1111, 'TIMESTAMP(0)') not recognized and will be ignored. See FAQ for more information.
    16:24:08.690 [main] WARN  org.dbunit.util.SQLHelper - DATA_SET.VALID_FROM data type (1111, 'TIMESTAMP(0)') not recognized and will be ignored. See FAQ for more information.
    16:24:08.690 [main] WARN  org.dbunit.util.SQLHelper - DATA_SET.VALID_TO data type (1111, 'TIMESTAMP(0)') not recognized and will be ignored. See FAQ for more information.
    16:24:08.690 [main] WARN  org.dbunit.dataset.AbstractTableMetaData - Potential problem found: The configured data type factory 'class org.dbunit.dataset.datatype.DefaultDataTypeFactory' might cause problems with the current database 'Oracle' (e.g. some datatypes may not be supported properly). In rare cases you might see this message because the list of supported database products is incomplete (list=[derby]). If so please request a java-class update via the forums.If you are using your own IDataTypeFactory extending DefaultDataTypeFactory, ensure that you override getValidDbProducts() to specify the supported database products.
    16:24:08.690 [main] WARN  org.dbunit.util.SQLHelper - NOTAM.Q_POINT data type (1111, 'SDO_GEOMETRY') not recognized and will be ignored. See FAQ for more information.
    16:24:08.690 [main] WARN  org.dbunit.util.SQLHelper - NOTAM.Q_RANGE_RING data type (1111, 'SDO_GEOMETRY') not recognized and will be ignored. See FAQ for more information.
    java.lang.UnsupportedOperationException
        at org.hibernate.spatial.GeometrySqlTypeDescriptor.getExtractor(GeometrySqlTypeDescriptor.java:57)
        at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:267)
        at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:263)
        at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:253)
        at org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:338)
        at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2969)
        at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1695)
        at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1627)
        at org.hibernate.loader.Loader.getRow(Loader.java:1514)
        at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:725)
        at org.hibernate.loader.Loader.processResultSet(Loader.java:952)
        at org.hibernate.loader.Loader.doQuery(Loader.java:920)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:354)
        at org.hibernate.loader.Loader.doList(Loader.java:2553)
        at org.hibernate.loader.Loader.doList(Loader.java:2539)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2369)
        at org.hibernate.loader.Loader.list(Loader.java:2364)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:496)
        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:387)
        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:231)
        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1264)
        at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
        at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
        at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:449)
        at org.hibernate.jpa.criteria.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:67)
        at org.springframework.data.jpa.repository.query.JpaQueryExecution$CollectionExecution.doExecute(JpaQueryExecution.java:81)
        at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:59)
        at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:97)
        at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:88)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:384)
        at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:344)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodIntercceptor.invoke(CrudMethodMetadataPostProcessor.java:111)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
        at com.sun.proxy.$Proxy67.findByDataSetNameAndDeletedIsNull(Unknown Source)
        at com.thalesgroup.uk.airscape.common.data.domain.dao.notam.NotamRepositoryTest.testNotamFetchByDatasetName(NotamRepositoryTest.java:103)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
        at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
        at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:233)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:87)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
        at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:176)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Hi
    You can use T-code NACE and then select your application based on your output type you can assign your  Print program and Form.
    Reward points, if it is helpful.
    Regards
    Raja.

  • Unit Test code using wrong persistence unit

    In the midst of learning Maven, I created a simple application in which I am using JPA (Java Persistence 1.0.2) with EclipseLink implementation (2.0.2).
    Note: This is an Application Managed environment. So I manually control EntityManager's life cycle.
    The persistence.xml file used by the main source code is different from the one that unit test code uses. Main code uses an Oracle DB and the test code uses an in-memory Derby.
    Running unit tests was updating the Oracle DB (!) and I eventually managed to fix that by using two different persistence-units in the XML files.
    However, I don't understand why that fixed the problem. I manually create and shut down the entity managers and they are not running concurrently. I'm pretty sure Maven (or the way I set it up) doesn't mess up the resources (XML files). In fact by looking at Maven's debug output I can see it's using the right XML file for unit tests.
    Could someone enlighten me, please?

    Do you have both persistence.xml files on your classpath? If so, and they contain the same name for their respective persistence units, you should be getting a warning or error since they must have unique names. There is no way to tell which one you want to access otherwise.
    Best Regards,
    Chris

  • Maven giving "annotations are not supported in -source 1.3" for  @Entity

    I m using maven for spring, hibernate with jpa . When i m running comman "mvn clean install" ,it is giving error in compilation of a bean class which is using jpa annotations.The error is :
    annotations are not supported in -source 1.3
    (use -source 5 or higher to enable annotations)
    @Entity
    Pom.xml is as below :
    <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.niit.core</groupId>
    <artifactId>Spring3Example</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>Spring3Example</name>
    <url>http://maven.apache.org</url>
    <properties>
    <org.springframework-version>3.1.2.RELEASE</org.springframework-version>
    </properties>
    <repositories>
    <repository>
    <id>JBoss Repo</id>
    <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
    </repository>
    </repositories>
    <build>
    <plugins>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.0</version>
    </plugin>
    </plugins>
    </build>
    <dependencies>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>${org.springframework-version}</version>
    </dependency>
    <!-- <dependency>
    <groupId>hsqldb</groupId>
    <artifactId>hsqldb</artifactId>
    <version>1.8.0.2</version>
    </dependency>
    -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>${org.springframework-version}</version>
    </dependency>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>6.0</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <version>3.6.10.Final</version>
    </dependency>
    <dependency>
    <groupId>org.hibernate.java-persistence</groupId>
    <artifactId>jpa-api</artifactId>
    <version>2.0-cr-1</version>
    </dependency>
    <dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>3.5.0-Beta-2</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.5</version>
    </dependency>
    </dependencies>
    </project>
    And class is as below :
    package com.niit.form;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.Table;
    @Entity
    @Table(name="CONTACTS")
    public class Contact {
    @Id
    @Column(name="ID")
    @GeneratedValue
    private Integer id;
    @Column(name="FIRSTNAME")
    private String firstname;
    public String getFirstname() {
    return firstname;
    public void setFirstname(String firstname) {
    this.firstname = firstname;
    public void setLastname(String lastname) {
    this.lastname = lastname;
    public Integer getId() {
    return id;
    public void setId(Integer id) {
    this.id = id;
    }

    java version is 1.6.0_24
    There is no settings.xml in users/.m2
    I think , maven is using default settings.xml which is in M2_HOME\conf which has everything commented as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    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.
    -->
    <!--
    | This is the configuration file for Maven. It can be specified at two levels:
    |
    | 1. User Level. This settings.xml file provides configuration for a single user,
    | and is normally provided in $HOME/.m2/settings.xml.
    |
    | NOTE: This location can be overridden with the system property:
    |
    | -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
    |
    | 2. Global Level. This settings.xml file provides configuration for all maven
    | users on a machine (assuming they're all using the same maven
    | installation). It's normally provided in
    | ${maven.home}/conf/settings.xml.
    |
    | NOTE: This location can be overridden with the system property:
    |
    | -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
    |
    | The sections in this sample file are intended to give you a running start at
    | getting the most out of your Maven installation. Where appropriate, the default
    | values (values used when the setting is not specified) are provided.
    |
    |-->
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <!-- localRepository
    | The path to the local repository maven will use to store artifacts.
    |
    | Default: ~/.m2/repository
    <localRepository>/path/to/local/repo</localRepository>
    -->
    <!-- interactiveMode
    | This will determine whether maven prompts you when it needs input. If set to false,
    | maven will use a sensible default value, perhaps based on some other setting, for
    | the parameter in question.
    |
    | Default: true
    <interactiveMode>true</interactiveMode>
    -->
    <!-- offline
    | Determines whether maven should attempt to connect to the network when executing a build.
    | This will have an effect on artifact downloads, artifact deployment, and others.
    |
    | Default: false
    <offline>false</offline>
    -->
    <!-- pluginGroups
    | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
    | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
    | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
    |-->
    <pluginGroups>
    <!-- pluginGroup
    | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
    </pluginGroups>
    <!-- proxies
    | This is a list of proxies which can be used on this machine to connect to the network.
    | Unless otherwise specified (by system property or command-line switch), the first proxy
    | specification in this list marked as active will be used.
    |-->
    <proxies>
    <!-- proxy
    | Specification for one proxy, to be used in connecting to the network.
    |
    <proxy>
    <id>optional</id>
    <active>true</active>
    <protocol>http</protocol>
    <username>proxyuser</username>
    <password>proxypass</password>
    <host>proxy.host.net</host>
    <port>80</port>
    <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
    -->
    </proxies>
    <!-- servers
    | This is a list of authentication profiles, keyed by the server-id used within the system.
    | Authentication profiles can be used whenever maven must make a connection to a remote server.
    |-->
    <servers>
    <!-- server
    | Specifies the authentication information to use when connecting to a particular server, identified by
    | a unique name within the system (referred to by the 'id' attribute below).
    |
    | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
    | used together.
    |
    <server>
    <id>deploymentRepo</id>
    <username>repouser</username>
    <password>repopwd</password>
    </server>
    -->
    <!-- Another sample, using keys to authenticate.
    <server>
    <id>siteServer</id>
    <privateKey>/path/to/private/key</privateKey>
    <passphrase>optional; leave empty if not used.</passphrase>
    </server>
    -->
    </servers>
    <!-- mirrors
    | This is a list of mirrors to be used in downloading artifacts from remote repositories.
    |
    | It works like this: a POM may declare a repository to use in resolving certain artifacts.
    | However, this repository may have problems with heavy traffic at times, so people have mirrored
    | it to several places.
    |
    | That repository definition will have a unique id, so we can create a mirror reference for that
    | repository, to be used as an alternate download site. The mirror site will be the preferred
    | server for that repository.
    |-->
    <mirrors>
    <!-- mirror
    | Specifies a repository mirror site to use instead of a given repository. The repository that
    | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
    | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
    |
    <mirror>
    <id>mirrorId</id>
    <mirrorOf>repositoryId</mirrorOf>
    <name>Human Readable Name for this Mirror.</name>
    <url>http://my.repository.com/repo/path</url>
    </mirror>
    -->
    </mirrors>
    <!-- profiles
    | This is a list of profiles which can be activated in a variety of ways, and which can modify
    | the build process. Profiles provided in the settings.xml are intended to provide local machine-
    | specific paths and repository locations which allow the build to work in the local environment.
    |
    | For example, if you have an integration testing plugin - like cactus - that needs to know where
    | your Tomcat instance is installed, you can provide a variable here such that the variable is
    | dereferenced during the build process to configure the cactus plugin.
    |
    | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
    | section of this document (settings.xml) - will be discussed later. Another way essentially
    | relies on the detection of a system property, either matching a particular value for the property,
    | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
    | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
    | Finally, the list of active profiles can be specified directly from the command line.
    |
    | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
    | repositories, plugin repositories, and free-form properties to be used as configuration
    | variables for plugins in the POM.
    |
    |-->
    <profiles>
    <!-- profile
    | Specifies a set of introductions to the build process, to be activated using one or more of the
    | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
    | or the command line, profiles have to have an ID that is unique.
    |
    | An encouraged best practice for profile identification is to use a consistent naming convention
    | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
    | This will make it more intuitive to understand what the set of introduced profiles is attempting
    | to accomplish, particularly when you only have a list of profile id's for debug.
    |
    | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
    <profile>
    <id>jdk-1.4</id>
    <activation>
    <jdk>1.4</jdk>
    </activation>
    <repositories>
    <repository>
    <id>jdk14</id>
    <name>Repository for JDK 1.4 builds</name>
    <url>http://www.myhost.com/maven/jdk14</url>
    <layout>default</layout>
    <snapshotPolicy>always</snapshotPolicy>
    </repository>
    </repositories>
    </profile>
    -->
    <!--
    | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
    | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
    | might hypothetically look like:
    |
    | ...
    | <plugin>
    | <groupId>org.myco.myplugins</groupId>
    | <artifactId>myplugin</artifactId>
    |
    | <configuration>
    | <tomcatLocation>${tomcatPath}</tomcatLocation>
    | </configuration>
    | </plugin>
    | ...
    |
    | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
    | anything, you could just leave off the <value/> inside the activation-property.
    |
    <profile>
    <id>env-dev</id>
    <activation>
    <property>
    <name>target-env</name>
    <value>dev</value>
    </property>
    </activation>
    <properties>
    <tomcatPath>/path/to/tomcat/instance</tomcatPath>
    </properties>
    </profile>
    -->
    </profiles>
    <!-- activeProfiles
    | List of profiles that are active for all builds.
    |
    <activeProfiles>
    <activeProfile>alwaysActiveProfile</activeProfile>
    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
    </activeProfiles>
    -->
    </settings>

Maybe you are looking for

  • ID CS4 slow after pasting text from MS Word

    Each time I paste text from a Word document into my ID CS4 document, ID begins to run very slowly. I can't even type properly. Has anyone else seen this? I have fixed this problem by copying all the text and pasting in the a new document (I thought t

  • Install R12  on Windows XP

    Gurus- I have a Windows XP sp2 , 1gb RAM and 40 GB internal HD with 500 gb External HDD. Trying to install R12 on windows. Also I have all the set of CDs/DVDs sent by Oracle. Please advice on below items 1. What are the required CDs?DVDS that I need

  • Time taken to clear content and data

    I have just cleared the content and data from my 64G Ipad1, and it has been showing the Apple icon with progress bar (with no progress at all) for the past 3 hours.  May I enquire how long does it usually take?? THe ipad does not respond at all now a

  • Userexit for changing financial period(MONAT)

    Hello. We need to change financial period(BKPF-MONAT) on FI document which is created by Other Goods Receipts(Trcd:MB1C). In additoion, we also need to do it following documents. -Profit center document -FI-SL document Does anyone know how to handle

  • Is there any kind of readablity formulas built in as proofreading tools?  MS Office has one.  I'm a teacher trying to match writing to reading levels

    is there any way, as part of proofreading or spell check, to get readablity? MS Office uses a specific formula, and shows you corresponding grade level of what you have typed. As a teacher, this feature comes in very handy!