This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
generating of persistence classes from db adds dependencies to the project pom even though the same libraries are already there (by means of provided pom dependency containing libraries existing on used application server). e.g. if project dependency contains <dependency> <groupId>org.apache.openejb</groupId> <artifactId>tomee-plume-webapp</artifactId> <version>1.7.0</version> <type>pom</type> <scope>provided</scope> </dependency> which already includes eclipse-link-2.4.2 if entity classes from database are generated, the following dependencies are added to the pom (which should not be there, as they don't need to be in the resulting war) <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>eclipselink</artifactId> <version>2.4.2</version> </dependency> <dependency> <groupId>org.apache.openejb</groupId> <artifactId>javaee-api</artifactId> <version>6.0-6</version> </dependency>