Re: [mevenide-user] Dependency resolution problems

Johan Andrén <johan.andren-QSmn85sxxjbV5dz/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
I think I used the wrong description about how we have set up our  
local maven proxy/repository.

In our settings.xml we have this kind of blocks:

<repositories>
	<repository>
		<id>central</id>
		<url>http://smith:8080/artifactory/repo</url>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
	</repository>
	...

</repositories>

<pluginRepositories>
	<pluginRepository>
		<id>central</id>
		<url>http://smith:8080/artifactory/repo</url>
		<snapshots>
			<enabled>false</enabled>
		</snapshots>
	</pluginRepository>
	...

</pluginRepositories>


Would this be affected by the netbeans/jvm proxy settings?


28 nov 2007 kl. 18.33 skrev Milos Kleint:

> There's one proxy related issue i know about. (need to add to FAQ)
>
> Maven defines it's proxies in settings.xml file, however the IDE's  
> own proxy settings seem to override that value in some cases.  
> Especially when settings.xml has no proxy settings (as you are  
> expected to connect to intranet only repository) but the IDE has  
> proxies defined (in order to get to the update center for example).  
> The IDE will set JVM wide proxy settings, so even embedded maven  
> will use that values. A workaround should be to add excludes  for  
> repository urls in Tools/Options proxy settings. I havent figured a  
> way to have the embedded maven (both project loading and execution)  
> to behave exactly like the command-line one so far.
>
> I think this changed in 6.0 timeframe, 5.5 worked differently.
>
> Could your problem be related?
>
> Milos
>
> On Nov 28, 2007 4:35 PM, Johan Andrén < johan.andren-QSmn85sxxjbV5dz/[email protected]>  
> wrote:
> We are working on a fairly complex multi-level maven2 project here  
> and we have some problems with mevenide not being able to resolve  
> artifacts of our project as expected.
>
> We have a local proxy with artifactory running on a tomcat/linux  
> server, all workstations run NetBeans 6 rc2 and are pointed to the  
> proxy through settings.xml.
>
> I work on OSX and don't think that I have had any problems  
> whatsoever but those working on the windows boxes from time to time  
> have the problem that mevenide/maven does not actually fetch updates  
> from the proxy when "update snapshots" is checked. Today we also  
> have had the problem that one windows vista machine claims that some  
> of our deployed artifacts (not all) are not available. When running  
> a standalone maven ( 2.0.7) the problems does not appear.
>
> Has someone else been experiencing these problems and if so, have  
> you solved the problem?
>
> --
>
> Thanks
>
> Johan Andrén          johan.andren-QSmn85sxxjbV5dz/[email protected]
> Databyrån AB        http://www.databyran.se/
> Tel:  +46(0) 8 50 65 64 00
> Fax: +46(0) 8 50 65 64 30
>
> Databyrån AB är certifierat enligt ISO 9001:2000
>
>
>
>
>
>

--

Med vänlig hälsning

Johan Andrén        johan.andren-QSmn85sxxjbV5dz/[email protected]
Databyrån AB        http://www.databyran.se/
Tel:  +46(0) 8 50 65 64 00
Fax: +46(0) 8 50 65 64 30

Databyrån AB är certifierat enligt ISO 9001:2000
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.