//acquire rpm plugin.xml pom.xml from here http://repository.sonatype.org/service/local/repositories/central-proxy/content/maven-plugins/maven-rpm-plugin/1.0/maven-rpm-plugin-1.0.pom
//then install the plugin cwd mgai...@localhost /cygdrive/f/maven-plugin/rpm $ mvn -e install:install-file -DgroupId=maven-plugins -DartifactId=maven-rpm-pl ugin -Dversion=1.0 -Dpackaging=type -Dfile=pom.xml + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - maven-plugins:maven-rpm-plugin:jar:1.0 [INFO] task-segment: [install:install-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [install:install-file] [INFO] Installing $MAVEN_PLUGIN\rpm\pom.xml to $MAVEN_PLUGIN\maven-plugins\m aven-rpm-plugin\1.0\maven-rpm-plugin-1.0.type [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Mon Jun 22 10:26:32 EDT 2009 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------ let us know if this installs the plugin to your localRepository defined in localRepository $MAVEN_HOME/settings.xml <settings> <localRepository>$Drive:/$Folder</localRepository> mgai...@localhost /cygdrive/$Drive/maven-plugin/maven-plugins $ ls -al total 40 drwxrwxrwx+ 3 BigCheese 0 Jun 22 10:26 . drwxrwxrwx+ 148 BigCheese 0 Jun 22 10:23 .. -rwxrwxrwx+ 1 BigCheese 1450 Jan 29 2000 maven-plugins-10-site .xml -rwxrwxrwx+ 1 BigCheese 1435 Jan 29 2000 maven-plugins-7-site. xml -rwxrwxrwx+ 1 BigCheese 13316 Jan 29 2000 maven-plugins-7.pom -rwxrwxrwx+ 1 BigCheese 12847 Jan 3 18:43 pom.xml BTW: BigCheese is the 'god group' HTH, Martin ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité 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: Mon, 22 Jun 2009 09:42:22 -0400 > Subject: Re: Creating RPM package under Windows XP > From: [email protected] > To: [email protected] > > Cygwin is a bit of a PITA, IMO. AFAIK, you have to download the setup.exe > and run it. It should list what you can install. You'll have to look > thoroughly through the packages and find rpm-build. I think Cygwin itself is > just a DLL that implements the necessary system calls to make the ports > work. So, I don't think you have to worry as much about the Cygwin version > as you have to worry about the packages that are installed in it. > > -Wes > > On Mon, Jun 22, 2009 at 9:38 AM, Danny Schimke > <[email protected]>wrote: > > > I have installed Cygwin, but I don't know which version. How can I check > > this? My cygwin installation has no rpm tools at least I have not seen.... > > Are they part of the latest version of Cygwin and have I to reinstall or > > can > > I add packages to my current cygwin installation? > > > > Thank you very much for helping me so quickly. > > > > -Danny > > > > 2009/6/22 Todd Thiessen <[email protected]> > > > > > Yes that would work too. We have a team here that has done exactly that > > > to get the rpmbuild command available on Windows. > > > > > > --- > > > Todd Thiessen > > > > > > > > > > -----Original Message----- > > > > From: Wes Wannemacher [mailto:[email protected]] > > > > Sent: Monday, June 22, 2009 9:23 AM > > > > To: Maven Users List > > > > Subject: Re: Creating RPM package under Windows XP > > > > > > > > Did you try installing cygwin ? > > > > > > > > http://www.cygwin.com/packages/ > > > > > > > > It looks like they have rpm tools (including rpm-build > > > > package, which may yield the rpmbuild script). > > > > > > > > -Wes > > > > > > > > On Mon, Jun 22, 2009 at 9:12 AM, Danny Schimke > > > > <[email protected]>wrote: > > > > > > > > > Hi! > > > > > > > > > > I have to create a RPM package within the package- phase. > > > > There is a > > > > > plugin from codehaus, the "rpm-maven-plugin". I tried it and had to > > > > > find out, that this is not working under Windows, because > > > > "rpmbuild" > > > > > was not found. Is there a way to create a RPM- Package > > > > under Windows? > > > > > Are there other Plugins, which allow this, instead using > > > > this one from > > > > > Codehaus? > > > > > > > > > > Thank you very much! > > > > > -Danny Schimke > > > > > > > > > > > > > > > > > > > > > -- > > > > Wes Wannemacher > > > > Author - Struts 2 In Practice > > > > Includes coverage of Struts 2.1, Spring, JPA, JQuery, > > > > Sitemesh and more http://www.manning.com/wannemacher > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > -- > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher _________________________________________________________________ Microsoft brings you a new way to search the web. Try Bing™ now http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1
