Custom plugins are not found in internal repository.

2007-03-07 Thread Marcos Silva Pereira

Hello, I've developed some custom mojos to Maven and try to install and
deploy to a internal repository. The internal repo is configured to me using
/local/repository/.m2/settings.xml like I show below:


   
   provider-profile
   
   
   provider-repository
   Repositorio de libs interno da Provider
Sistemas
   http://192.168.10.254/maven
   
   
   


And I have configured deployment management in mojos' pom.xml like the code
below:


   
   provider-deploy-repository
   Repositorio para Deploy das libs Provider
   file:192.168.10.254/maven
   
   
   provider-snapshot-repository
   Repositorio para guardar Snapshots
   file:192.168.10.254/maven
   
   
   ${project.groupId}.${project.artifactId}
   ${project.name}
   file:192.168.10.254/maven/sites/${project.artifactId}
   


I have fully access rights to this network path, after execute "mvn clean
install deploy" to some mojo, when I loook to its deployment path, the files
are there. But, when some other developers, that have settings configured
like me, try to use the mojo, he(she) get the following message:

Try downloading the file manually from the project website.

Then, install it using the command:
   mvn install:install-file
-DgroupId=com.provider.maven.plugins-DartifactId=maven-i18n-plugin
   -Dversion=1.0 -Dpackaging=maven-plugin -Dfile=/path/to/file

Must I configure profiles - or internal repositories - in some place in
order to enable mojos downloads?

Thanks.

--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com


Re: Custom plugins are not found in internal repository.

2007-03-07 Thread Marcos Silva Pereira


Hello, I've developed some custom mojos to Maven and try to install and
deploy to a internal repository. The internal repo is configured to me using
/local/repository/.m2/settings.xml like I show below:



A tiny correction, the path to settings.xml is
/local/repository/settings.xml instead ../.m2/settings.xml.

Kind Regards,

--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com


RE: Custom plugins are not found in internal repository.

2007-03-07 Thread David Jackman
I believe you have to specify your repository as a plugin repository
(using the pluginRepository element) if you want Maven to look there for
plugins.



provider-profile


provider-repository
Repositorio de libs interno da Provider
Sistemas
http://192.168.10.254/maven






-Original Message-
From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 12:20 PM
To: Maven Users List
Subject: Custom plugins are not found in internal repository.

Hello, I've developed some custom mojos to Maven and try to install and
deploy to a internal repository. The internal repo is configured to me
using /local/repository/.m2/settings.xml like I show below:



provider-profile


provider-repository
Repositorio de libs interno da Provider
Sistemas
http://192.168.10.254/maven





And I have configured deployment management in mojos' pom.xml like the
code
below:



provider-deploy-repository
Repositorio para Deploy das libs Provider
file:192.168.10.254/maven


provider-snapshot-repository
Repositorio para guardar Snapshots
file:192.168.10.254/maven


${project.groupId}.${project.artifactId}
${project.name}
 
file:192.168.10.254/maven/sites/${project.artifactId}



I have fully access rights to this network path, after execute "mvn
clean install deploy" to some mojo, when I loook to its deployment path,
the files are there. But, when some other developers, that have settings
configured like me, try to use the mojo, he(she) get the following
message:

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file
-DgroupId=com.provider.maven.plugins-DartifactId=maven-i18n-plugin
-Dversion=1.0 -Dpackaging=maven-plugin -Dfile=/path/to/file

Must I configure profiles - or internal repositories - in some place in
order to enable mojos downloads?

Thanks.

--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com

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



Re: Custom plugins are not found in internal repository.

2007-03-07 Thread Marcos Silva Pereira

David, thank you very much. Your tip solve my problem. Only to information
purpose, my plugin profile is configured like the following:


   
   provider-repository
   Repositorio de libs interno da Provider Sistemas
   http://192.168.10.254/maven
   


Kind Regards,

--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com


RE: Custom plugins are not found in internal repository.

2007-03-07 Thread David Jackman
Of course, you are right.  I forgot to change the repository tag to
pluginRepository.  I knew I should have looked at my own settings.xml
file to be sure.

..David..
 

-Original Message-
From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 1:26 PM
To: Maven Users List
Subject: Re: Custom plugins are not found in internal repository.

David, thank you very much. Your tip solve my problem. Only to
information purpose, my plugin profile is configured like the following:



provider-repository
Repositorio de libs interno da Provider Sistemas
http://192.168.10.254/maven



Kind Regards,

--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com

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