You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "midnight.codder" <mi...@gmail.com> on 2008/10/08 22:46:29 UTC

clarification on maven-site-plugin (goal - site)

I have a project (call it A) with multiple modules (call them A1 and A2) for
which I am trying to execute the site goal:
org.apache.maven.plugins:maven-site-plugin:2.0-beta-7:site

A1 depends on A2
A2 depends on another in house project: nn-util

nnl-util depends on nnl-common (yet another on fo our artifacts)

So far this is the background.
When I am firing up above mentioned goal I get info messages in the console
reporting that snapshot for nnl-common was not found on all sorts of remote
repositories, such as codehaus and java.net. 
Of course it wasn't, it is our in house artifact and we deployed it to our
internal repository.

Here is a snippet:

...
[INFO] [project-info-reports:dependency-convergence]
[INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
updates from archiva.group.repo
[INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
(mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
[INFO] [project-info-reports:dependencies]
[INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
updates from archiva.group.repo
[INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
(mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
[INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
(mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
[INFO] repository metadata for: 'snapshot nnl:nnl-common:1.0.0-SNAPSHOT'
could not be found on repository: codehaus.snapshots, so will be created

And the last line repeats itself, like I've said, for all sorts of
repositories.

Does anybody know what is the actual meaning of "so will be created"?
Also, interesting enough, when the same goal is executed for nnl-util, that
depends on nnl-common, no such messages are displayed. (nnl-util is a simple
one layer project)

Does anyone have an idea why is this happening? Why am I getting these
messages?


-- 
View this message in context: http://www.nabble.com/clarification-on-maven-site-plugin-%28goal---site%29-tp19887275p19887275.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: clarification on maven-site-plugin (goal - site)

Posted by Brett Porter <br...@gmail.com>.
The project info reports plugin seems to be using the wrong method to
resolve the artifact. It can be safely ignored.

- Brett

2008/10/9 midnight.codder <mi...@gmail.com>:
>
> I have a project (call it A) with multiple modules (call them A1 and A2) for
> which I am trying to execute the site goal:
> org.apache.maven.plugins:maven-site-plugin:2.0-beta-7:site
>
> A1 depends on A2
> A2 depends on another in house project: nn-util
>
> nnl-util depends on nnl-common (yet another on fo our artifacts)
>
> So far this is the background.
> When I am firing up above mentioned goal I get info messages in the console
> reporting that snapshot for nnl-common was not found on all sorts of remote
> repositories, such as codehaus and java.net.
> Of course it wasn't, it is our in house artifact and we deployed it to our
> internal repository.
>
> Here is a snippet:
>
> ...
> [INFO] [project-info-reports:dependency-convergence]
> [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
> updates from archiva.group.repo
> [INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
> (mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
> [INFO] [project-info-reports:dependencies]
> [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for
> updates from archiva.group.repo
> [INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
> (mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
> [INFO] Using mirror: archiva.group.repo for repository: archiva.group.repo
> (mirror url: http://nnl-code.nnl.net:8080/archiva/repository/nnl-archiva)
> [INFO] repository metadata for: 'snapshot nnl:nnl-common:1.0.0-SNAPSHOT'
> could not be found on repository: codehaus.snapshots, so will be created
>
> And the last line repeats itself, like I've said, for all sorts of
> repositories.
>
> Does anybody know what is the actual meaning of "so will be created"?
> Also, interesting enough, when the same goal is executed for nnl-util, that
> depends on nnl-common, no such messages are displayed. (nnl-util is a simple
> one layer project)
>
> Does anyone have an idea why is this happening? Why am I getting these
> messages?
>
>
> --
> View this message in context: http://www.nabble.com/clarification-on-maven-site-plugin-%28goal---site%29-tp19887275p19887275.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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