Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13524

Default persistence.xml is added to main/src/resources when it is not desired

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Alpha2
    • 4.0.0.Final
    • maven, upstream
    • None
    • Hide
      1. Clone RichFaces showcase from: https://github.com/richfaces/showcase
      2. Import the project in Eclipse with JBoss Tools
      3. Alter the deployment assembly to contain also folder: src/main/webapp-jbas71
      4. Deploy the application on the JBoss AS 7.1.1.Final
      5. see that it can not be deployed, as it packages the war with the default empty persistence.xml
      Show
      Clone RichFaces showcase from: https://github.com/richfaces/showcase Import the project in Eclipse with JBoss Tools Alter the deployment assembly to contain also folder: src/main/webapp-jbas71 Deploy the application on the JBoss AS 7.1.1.Final see that it can not be deployed, as it packages the war with the default empty persistence.xml

      A default persistence.xml is added to src/main/resources/META-INF even when the file is located in other folder defined in maven-war plugin.

      The deployment of such application cease to function till the default persistence.xml is not deleted.

            fbricon@redhat.com Fred Bricon
            jhuska_jira Juraj Húska (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: