Have you defined your pluginRepository in your maven settings.xml file?
Something like:

<profiles>
                 <profile>
                        <id>nexus</id>
                        <!--Enable snapshots for the built in central
repo to direct -->
                        <!--all requests to nexus via the mirror -->
                        <repositories>
                                <repository>
                                        <id>central</id>
                                        <url>http://central</url>
 
<releases><enabled>true</enabled></releases>
 
<snapshots><enabled>true</enabled></snapshots>
                                </repository>
                        </repositories>
                        <pluginRepositories>
                                <pluginRepository>
                                        <id>central</id>
                                        <url>http://central</url>
 
<releases><enabled>true</enabled></releases>
 
<snapshots><enabled>true</enabled></snapshots>
                                </pluginRepository>
                        </pluginRepositories>
                </profile>
 </profiles>


> -----Original Message-----
> From: hujirong [mailto:jirong...@gmail.com]
> Sent: Tuesday, May 29, 2012 1:12 PM
> To: users@maven.apache.org
> Subject: Re: How to upload this pdf plugin on to my internal company
> repository?
> 
> Unfortunately I can't change what max-public has. I already explained
> why,
> because we have a internal central repo and everything is hosted there
> instead of using or proxying Maven central. This is not what I can
> change.
> 
> So my question remains the same: why I am getting this error and how
to
> fix
> this error? What I need to do to use pdf:pdf?
> 
> [ERROR] Error resolving version for plugin
> 'org.apache.maven.plugins:maven-pdf-plugin' from the repositories
> [local
> (C:\Users\c61271c5\.m2\repository), nexus
> (http://axddarep01.npr.bngf.local:8080/nexus/content/groups/mdm-
> public/)]:
> Plugin
> not found in any plugin repository -> [Help 1]
> 
> 
> In the settings.xml, I found this:
> 
>  <pluginGroups>
>     <pluginGroup>com.nbfg.fw.maven.plugins</pluginGroup>
>   </pluginGroups>
> 
> 
> 
> 
> 
> --
> View this message in context: http://maven.40175.n5.nabble.com/How-to-
> upload-this-pdf-plugin-on-to-my-internal-company-repository-
> tp5709832p5710314.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


______________________________________________________________________
This message, including any attachments, is confidential and contains 
information intended only for the person(s) named above. Any other 
distribution, copying or disclosure is strictly prohibited. If you are not the 
intended recipient or have received this message in error, please notify us 
immediately by reply email and permanently delete the original transmission 
from all of your systems and hard drives, including any attachments, without 
making a copy.

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

Reply via email to