3 Replies Latest reply on Nov 23, 2016 11:45 AM by gastaldi

    Project Java7 EAP7 problem POM.

    hugo.thomaz

      When creating the project with the following command:

      Project-new -named myfinance --top-level-package com.happforge --type war --final-name MyFinance --stack JAVA_EE_7 --version 0.0.1-Alpha --target-location D: \ Studies \ Finance
      project-new.png
      and


      Jpa-setup --jpa-provider HIBERNATE --jpa-container JBOSS_EAP7 --db-type MYSQL5_INNODB

      jpa-setup.PNG

      The POM.xml file does not show any dependency with JBoss EAP 7

       

      <?xml version="1.0" encoding="UTF-8"?>
      <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>org.MyFiance</groupId>
        <artifactId>MyFiance</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <packaging>war</packaging>
        <build>
          <finalName>Minhas Financas</finalName>
        </build>
        <dependencies>
          <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <scope>provided</scope>
          </dependency>
        </dependencies>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>javax</groupId>
              <artifactId>javaee-api</artifactId>
              <version>7.0</version>
              <scope>provided</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
        <properties>
          <failOnMissingWebXml>false</failOnMissingWebXml>
          <maven.compiler.source>1.8</maven.compiler.source>
          <maven.compiler.target>1.8</maven.compiler.target>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
      </project>