2 Replies Latest reply on Dec 18, 2007 10:38 AM by pgier

    outputDirectory is null (activeByDefault is ignored)

    wolfc

       

      [carlo@nymph pool]$ mvn compile
      /usr/lib/jvm/java
      [INFO] Scanning for projects...
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building JBoss EJB 3 Pool
      [INFO] task-segment: [compile]
      [INFO] ----------------------------------------------------------------------------
      [INFO] [resources:resources]
      [INFO] Using default encoding to copy filtered resources.
      [INFO] [compiler:compile]
      [INFO] Compiling 6 source files to /home/carlo/work/ejb3/pool/null
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 seconds
      [INFO] Finished at: Tue Dec 18 11:06:02 CET 2007
      [INFO] Final Memory: 8M/67M
      [INFO] ------------------------------------------------------------------------


        • 1. Re: outputDirectory is null (activeByDefault is ignored)
          wolfc

           

          [carlo@nymph pool]$ mvn -Pdefault compile
          /usr/lib/jvm/java
          [INFO] Scanning for projects...
          [INFO] ----------------------------------------------------------------------------
          [INFO] Building JBoss EJB 3 Pool
          [INFO] task-segment: [compile]
          [INFO] ----------------------------------------------------------------------------
          [INFO] [resources:resources]
          [INFO] Using default encoding to copy filtered resources.
          [INFO] [compiler:compile]
          [INFO] Compiling 6 source files to /home/carlo/work/ejb3/pool/target/classes
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD SUCCESSFUL
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 2 seconds
          [INFO] Finished at: Tue Dec 18 11:11:16 CET 2007
          [INFO] Final Memory: 8M/67M
          [INFO] ------------------------------------------------------------------------


          • 2. Re: outputDirectory is null (activeByDefault is ignored)
            pgier

            Ok, I see what's happening. I added a jboss-deploy profile that is being activated, and this is causing the default profile to not be activated because activeByDefault gets turned off if another profile is activated.

            I will fix this today.