[Site] Deployment on a network drive

2007-10-01 Thread RomainTaz

Hi all,

I have a project with several modules:
myProject
myProject/commons
myProject/business
...

I want to deploy my site on a network drive, for example "\\\y", in a
directory "site\my-site".
If this network drive (e.g. F:\site\my-site), then I have no problem to
deploy it using the following code in pom.xml (the parent one):



website
file://F:/site/my-site



Now, imagine that my network drive is not mapped.
I update my distributionManagement definition, as explained in the page
http://www.sonatype.com/book/repository.html:



website
file://\\site\my-site\site\my-site



When I try to deploy my site, I get no error (the logs seem correct), but my
site is not deployed correctly :

The site of the parent is indeed deployed in the correct place (i.e.
\\site\my-site\site\my-site\myProject), but all modules of this parent
project are deployed in my C:\ directory.

It seems to be a bug.

I found a way to make the deployment works: For each modules, I redefine the
distributionManagement. For example, for the module "Commons", its pom.xml
contains:



website
file://\\site\my-site\site\my-site\commons



As my project contains 13 modules, I need to define 14 times the
distributionManagement !!

Can you confirm that it is a bug, or did I do something wrong?

ps: I use the version 2.0-beta5 of Maven Site plugin.

-- 
View this message in context: 
http://www.nabble.com/-Site--Deployment-on-a-network-drive-tf4546753s177.html#a12974726
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Make a Codehaus plugin works on a local configuration

2007-09-24 Thread RomainTaz

Hi James,

Sorry, but I didn't find any solution to solve this problem :(
Thus, this plugin has been disabled on my configuration.
Note that we still do not use Artifactory. So I can't tell you if this tool
can solve this problem...

If you have any idea...

Regards.

Romain


Jimbog wrote:
> 
> Hi,
> 
> I have exactly the same error on the same plugin, we are using artifactory
> locally and when the plugin is installed as a snapshot it frequently fails
> to download and fails the build. Running maven with a -U seems to fix the
> problem temporally.
> 
> Did you ever find a solution to this? Did using artifactory help?
> Thanks
> James 
> 

-- 
View this message in context: 
http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html#a12860139
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Make a Codehaus plugin works on a local configuration

2007-08-20 Thread RomainTaz

- Sorry, my previous mail was not properly sent. Here is a clen version -

Hi all,

I need to use a plugin available from Codehaus sandbox (this plugin is
dashboard-maven-plugin).

As explained in the plugin page, I need to add the following lines in my
settings.xml file:



Codehaus Snapshots
http://snapshots.repository.codehaus.org/



With this information, the plugin works correctly.

In my company, we use a global repository, which is currently a shared
directory on a network drive.
Thus, all users have the following settings.xml file:



C:\m2\repository\
 



global-repository
Global repo
file://F:\...\repository
central


 



true



global-repository

true


true

file://F:\...\repository




 


my.company.plugins



This repository is the mirror of the Global repository, and the users has no
access to external repositories (Maven is not configured to access Internet
on their computers).

So, I added the plugin Dashboard-Report in our global repository. Now, in
"local" configuration (i.e. with a settings.xml without external access),
Maven is not able to retrieve this plugin. It throws the following error
when I try to use it:

The plugin 'org.apache.maven.plugins:maven-dashboard-report-plugin' does not
exist or no valid version could be found

I think that somewhere, in a XML metadata file, something is wrong, because
Maven did not understand that the plugin is not a org.apache.maven.plugins
(the prefix of this plugin is "dashboard-report").

What do I need to change in the settings.xml to make this plugin works in a
"local" configuration?
Or is there a "good way" to install this plugin in my global repository in
order to work fine with "local" configuration?

Note that we will move to Artifactory asap, but for the moment, I need a
solution to make this plugin works with a repository based on a shared
drive...

Thanks for your help.

ps: If you have any link, any information that clearly explains what Maven
do with all metadata-*.xml, do not hesitate to share them :o)

-- 
View this message in context: 
http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html#a12232618
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Make a Codehaus plugin works on a local configuration

2007-08-20 Thread RomainTaz

Hi all,

I need to use a plugin available from Codehaus sandbox (this plugin is 
http://mojo.codehaus.org/dashboard-maven-plugin/ dashboard-maven-plugin ).

As explained in the plugin page, I need to add the following lines in my
settings.xml file:



Codehaus Snapshots
http://snapshots.repository.codehaus.org/



With this information, the plugin works correctly.

In my company, we use a global repository, which is currently a shared
directory on a network drive.
Thus, all users have the following settings.xml file:



C:\m2\repository\
 



global-repository
Global repo
file://F:\...\repository
central


 



true



global-repository

true


true

file://F:\...\repository




 


my.company.plugins



This repository is the mirror of the Global repository, and the users has no
access to external repositories (Maven is not configured to access Internet
on their computers).

So, I added the plugin Dashboard-Report in our global repository. Now, in
"local" configuration (i.e. with a settings.xml without external access),
Maven is not able to retrieve this plugin. It throws the following error
when I try to use it:

The plugin 'org.apache.maven.plugins:maven-dashboard-report-plugin' does not
exist or no valid version could be found

I think that somewhere, in a XML metadata file, something is wrong, because
Maven did not understand that the plugin is not a org.apache.maven.plugins
(the prefix of this plugin is "dashboard-report").

What do I need to change in the settings.xml to make this plugin works in a
"local" configuration?
Or is there a "good way" to install this plugin in my global repository in
order to work fine with "local" configuration?

Note that we will move to Artifactory asap, but for the moment, I need a
solution to make this plugin works with a repository based on a shared
drive...

Thanks for your help.

ps: If you have any link, any information that clearly explains what Maven
do with all metadata-*.xml, do not hesitate to share them :o)

-- 
View this message in context: 
http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html#a12232506
Sent from the Maven - Users mailing list archive at Nabble.com.