--save the maven pom
copy 
https://our.local.repo/nexus/content/repositories/thirdparty/com/agilepirates/mavenium/0.2/mavenium-0.2.pom
to pom.xml

mvn install:install-file -DgroupId=com.agilepirates
-DartifactId=mavenium -Dversion=0.2 -Dpackaging=maven-plugin
-Dfile=pom.xml

check the install script copied artifactId-plugin-version.jar to 
Default: ${user.home}/.m2/repository/groupId/artifactID/version

Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de 
déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.






> Date: Wed, 15 Apr 2009 18:17:47 -0400
> Subject: mavenium
> From: [email protected]
> To: [email protected]
> 
> I'm trying to use the mavenium plugin with my pom.xml. I followed the
> instructions as best I could from the mavenium web site. I downloaded a jar
> file, which I believe is version 0.2 from source forge.
> 
> I executed the following command:
> 
> First I changed the name from: mavenium.0.2.jar to mavenium.jar
> 
> Then from the same directory I executed :
> 
> mvn install:install-file -DgroupId=com.agilepirates
> -DartifactId=mavenium -Dversion=0.2 -Dpackaging=maven-plugin
> -Dfile=./mavenium.jar
> 
> That  put the jar file into my local repository.  I checked it's there.
> 
> The pom.xml file of the project has this stanza in it:
> 
>           <plugin>
>               <groupId>com.agilepirates</groupId>
>             <artifactId>mavenium</artifactId>
>             <version>0.2</version>
>             <executions>
>                 <execution>
>                     <goals>
>                         <goal>launch-selenium</goal>
>                          <goal>validate-selenium-tests</goal>
>                     </goals>
>                 </execution>
>             </executions>
>           </plugin>
> 
> 
> When I go to run maven it can't seem to find the plugin.
> 
> This is what shows up:
> 
> url = https://our.local.repo/nexus/content/repositories/central
> Downloading:
> https://our.local.repo/nexus/content/repositories/central/com/agilepirates/mavenium/0.2/mavenium-0.2.pom
> url = https://our.local.repo/nexus/content/repositories/releases
> Downloading:
> https://our.local.repo/nexus/content/repositories/releases/com/agilepirates/mavenium/0.2/mavenium-0.2.pom
> url = https://our.local.repo/nexus/content/repositories/thirdparty
> Downloading:
> https://our.local.repo/nexus/content/repositories/thirdparty/com/agilepirates/mavenium/0.2/mavenium-0.2.pom
> 
> 
> Which is our local repository (name removed for security reasons).
> 
> It doesn't seem to look in the local m2 repository and there is no
> mavenium-0.2.pom file there even if it did.
> 
> I'm a little confused, can someone shed some light on this and let me know
> what I'm missing?
> 
> 
> Tony

_________________________________________________________________
Rediscover Hotmail®: Get e-mail storage that grows with you. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009

Reply via email to