Re: mvn site [ERROR] Unable to determine if resource

2016-05-21 Thread Bernd Eckenfels
Hello,

the download URLs must be different if you use a mirror. If nothing
changes your settings file is most likely not honored.

Try specifying it explicitely with -s option and turn on debug
logging, it will print what settings are loaded and in effect.

1492 [DEBUG] Reading global settings from 
C:\devenv\apache-maven-3.2.5\conf\settings.xml
1492 [DEBUG] Reading user settings from ...\settings.xml
1527 [DEBUG] Using local repository at ...\repository
1556 [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 
for ...repository
1567 [INFO] Scanning for projects...
2032 [DEBUG] Using mirror xmirror (.../repository/seeburger/) for central 
(https://repo.maven.apache.org/maven2).

You might also want to share a debug output with us if you cant make
progress. 

I would start with a small simple maven project and then move to your
troubled pom.

Gruss
Bernd


 Am Fri, 20 May
2016 06:19:52 -0700 (MST) schrieb sekaijin <jean-yves.terr...@aphp.fr>:

> I tried somes settings.xml
> without a declaration of mirrors
> with a statement for all mirrors (*)
> with an individual statement by mirror
> 
> I always get the same result. exactly the same logs.
> 
> A+JYT
> 
> 
> 
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/mvn-site-ERROR-Unable-to-determine-if-resource-tp5868018p5868855.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: mvn site [ERROR] Unable to determine if resource

2016-05-21 Thread sekaijin
I tried somes settings.xml
without a declaration of mirrors
with a statement for all mirrors (*)
with an individual statement by mirror

I always get the same result. exactly the same logs.

A+JYT



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-site-ERROR-Unable-to-determine-if-resource-tp5868018p5868855.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: mvn site [ERROR] Unable to determine if resource

2016-05-17 Thread Adam Mitchell
Hi,
Do you have a mirror set up for your nexus so that maven knows to only use your 
configured repository?

i.e. in your settings.xml



my-nexus-server
internal nexus
http://my-nexus-server/mirror-repository
*



Central is inherited from the maven super-pom, declaring your repo as mirroring 
* makes it use it instead of any other configured 

Adam




| Adam Mitchell | Java Software Architect | Tel: +44 (0)207 633 3570 | Mobile:  
| Skype:  | www.playtech.com

This communication contains information which is privileged and confidential 
and is exclusively intended only for the individual or entity named above 
(recipient(s)). If you are not the intended recipient(s) or the person 
responsible for delivering it to the intended recipient(s), you are hereby 
notified that any review, disclosure, dissemination, distribution or 
reproduction of this communication message in any way or act is prohibited. If 
you receive this communication by mistake please notify the sender immediately 
and then destroy any copies of it. Please note that the sender monitors e-mails 
sent or received. Thank you.
-Original Message-
From: sekaijin [mailto:jean-yves.terr...@aphp.fr]
Sent: 17 May 2016 08:28
To: users@maven.apache.org
Subject: Re: mvn site [ERROR] Unable to determine if resource

Hi,


I use nexus. it contains all my artifacts and also the mirrors of the Internet 
repostories.
my settings.xml reference only my nexus server.

for all maven commands, all except , maven use my Nexus server to download the 
jar sources.jar tar.gz zip etc.

but when I execute  maven tries to upload my artifacts from 
repository.apache.org, mvnrepository.com, maven.java.net, etc.

it would not be a problem if it produced the site. but it puts enormously time 
trying all internet repositories while I have no internet access. and 
ultimately failed in creating the site after more than an hour.



A+JYT



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-site-ERROR-Unable-to-determine-if-resource-tp5868018p5868525.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn site [ERROR] Unable to determine if resource

2016-05-17 Thread sekaijin
Hi,


I use nexus. it contains all my artifacts and also the mirrors of the
Internet repostories.
my settings.xml reference only my nexus server.

for all maven commands, all except , maven use my Nexus server to download
the jar sources.jar tar.gz zip etc.

but when I execute  maven tries to upload my artifacts from
repository.apache.org, mvnrepository.com, maven.java.net, etc.

it would not be a problem if it produced the site. but it puts enormously
time trying all internet repositories while I have no internet access. and
ultimately failed in creating the site after more than an hour.



A+JYT



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-site-ERROR-Unable-to-determine-if-resource-tp5868018p5868525.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn site [ERROR] Unable to determine if resource

2016-05-14 Thread Karl Heinz Marbaise

Hi,

can you show exactly what you have tried and show the error messages you 
get? Best would be an example project which causes the problems...


And how your settings.xml looks like?

Kind regards
Karl Heinz Marbaise

On 5/13/16 6:31 PM, sekaijin wrote:

I'm runnig mvn 3.3.9
i'm using a nexus repository as a miror (not internet acces)

I've somes erros on mvn site command


I've added each repositories in mirror settings
but mvn continue to try to connect on internet

A+JYT




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



mvn site [ERROR] Unable to determine if resource

2016-05-14 Thread sekaijin
I'm runnig mvn 3.3.9
i'm using a nexus repository as a miror (not internet acces)

I've somes erros on mvn site command


I've added each repositories in mirror settings 
but mvn continue to try to connect on internet

A+JYT



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-site-ERROR-Unable-to-determine-if-resource-tp5868018.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org