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.

Bug 256297 - Netbeans add mysql libraries from "unknown" repository.
Summary: Netbeans add mysql libraries from "unknown" repository.
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-31 19:44 UTC by alied
Modified: 2015-10-31 19:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (195.85 KB, text/plain)
2015-10-31 19:44 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2015-10-31 19:44:28 UTC
While reviewing the tutorial "Creating a Maven Swing Application Using Hibernate - NetBeans IDE Tutorial" in the step "Creating the Hibernate Configuration File"

[1] https://netbeans.org/kb/docs/java/maven-hib-java-se.html

Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 4.2.5 running on amd64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17

Reproducibility: Happens every time

STEPS:
  * Go through the tutorial
  * After the step "Creating the Hibernate Configuration File" check the project POM

ACTUAL:
 * A new local repository was added to the PO.xml:
    <repositories>
        <repository>
            <id>unknown-jars-temp-repo</id>
            <name>A temporary repository created by NetBeans for libraries and jars it could not identify. Please replace the dependencies in this repository with correct ones and delete this repository.</name>
            <url>file:${project.basedir}/lib</url>
        </repository>
    </repositories>
 * The dependency for mysql connector was added from group "unknown.binary" and version SNAPSHOT:
        <dependency>
            <groupId>unknown.binary</groupId>
            <artifactId>mysql-connector-java-5.1.23-bin</artifactId>
            <version>SNAPSHOT</version>
        </dependency>


EXPECTED:
 * Valid maven coordinates are added to the POM for the mysql connector
Comment 1 alied 2015-10-31 19:44:36 UTC
Created attachment 157084 [details]
IDE log