NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
digitalrinaldo
Joined: 21 Jun 2010 Posts: 3
|
Posted: Mon Jun 21, 2010 11:38 am Post subject: No Maven Browser Tab next to Projects|File|Services in 6.9RC1 |
|
|
Hi,
I am trying to create a maven based project that uses my own repository. I think I have followed the directions but I am not able to do the following.
1) I can't get a Maven2 Repository Browser to appear
2) I have modified my pom.xml file to point to my local artifactory repository with the intent of populating the "Libraries" node with libraries from this repository.
Will not resilve for you but this is my addition to the pom.xml file.
<repositories>
<repository>
<id>central</id>
<url>http://opensolaris:8080/artifactory/repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://opensolaris:8080/artifactory/repo</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories> |
|
| Back to top |
|
 |
Tonda Nebuzelsky Posted via mailing list.
|
Posted: Fri Jun 25, 2010 10:17 am Post subject: [platform-dev] Re: No Maven Browser Tab next to Projects|File|Services in 6.9RC1 |
|
|
Hi,
if you install one of the two big bundles (columns All and Java on the download page), the installation comes with Features On Demand functionality. Most features are OFF by default and get enabled automatically via several entry points (e.g. creating a project, opening an existing project, attaching debugger or profiler...). This is the reason you don't see Maven Repository Browser right after the first start. Besides opening or creating a project, you can activate the browser manually by going to Tools / Plugins, checking Java SE on Installed tab and invoking Activate. Then go to Window / Other / Maven Repository Browser.
To use your extra repository in NetBeans UI, you need to go through Add Repository action on the browser's window toolbar.
See also http://wiki.netbeans.org/MavenBestPractices#Dependency_management
HTH
~tonda
On 06/21/2010 01:38 PM, digitalrinaldo wrote: | Quote: | | Quote: | Hi,
I am trying to create a maven based project that uses my own repository. I think I have followed the directions but I am not able to do the following.
1) I can't get a Maven2 Repository Browser to appear
2) I have modified my pom.xml file to point to my local artifactory repository with the intent of populating the "Libraries" node with libraries from this repository.
Will not resilve for you but this is my addition to the pom.xml file.
<repositories>
<repository>
<id>central</id>
<url>http://opensolaris:8080/artifactory/repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://opensolaris:8080/artifactory/repo</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
| |
|
|
| Back to top |
|
 |
digitalrinaldo
Joined: 21 Jun 2010 Posts: 3
|
Posted: Sat Jun 26, 2010 2:32 am Post subject: Was there |
|
|
| Thanks for showing me where it is, I wonder if there is a way to have more of the relevant tools become be visible instead of being three menus away. First go to menu then windows then other. If I created a Maven project the repository could be closer to the project. I wonder if I am allowed to modify what right click does on pom.xml -- I would like to have the Repository browser there. Thanks again. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|