You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2010/08/03 01:03:11 UTC

flexmojos-generator-maven-plugin is beta ready

i have multiple patches for flexmojos-generator-maven-plugin 
this is the code which creates flex startup files to compile with flex compiler
 
a couple of discoveries:
the author extracted his generator entries from a HashMap and assumed the returned value was not null..it was null..fixed..
there is now a Generator Impl class which is a concrete class for Generator interface
the sign goal for maven-jar-plugin  http://maven.apache.org/plugins/maven-jar-plugin/usage.html doesnt work
never see output for the signed jar
 
the maven-jar-plugin:sign workaround is to 
mv *.jar to work folder
jar -xvf *.jar
rm -ef META-INF
jar -cvf *.jar 
sign it with jarsigner (yes you'll need the keystore *.jks)
update the signed jar with META_INF/maven/plugin.xml
 
plugin classloader completely ignored <requiresDependencyResolution>runtime</requiresDependencyResolution>
from plugin.xml so i commented out requirement for GeneratorFactory class
(all of the Generator classes now are located in the flexmojos-generator-maven-plugin)
      <!-- requirements -->
        <!-- requirement -->
          <!-- role>org.sonatype.flexmojos.generator.api.GeneratorFactory</role -->
          <!-- field-name>generatorFactory</field-name -->
        <!-- /requirement -->
      <!-- /requirements -->

 
currently looking for beta-testers
all comments are welcome!
 
thanks,
Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de deni et de confidentialité

 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

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.


 		 	   		  

Re: flexmojos-generator-maven-plugin is beta ready

Posted by Marvin Froeder <ve...@gmail.com>.
I would suggest you to reach flexmojos at
http://groups.google.com/group/flex-mojos

I usually don't follow maven-dev list

On Mon, Aug 2, 2010 at 8:03 PM, Martin Gainty <mg...@hotmail.com> wrote:

>
> i have multiple patches for flexmojos-generator-maven-plugin
> this is the code which creates flex startup files to compile with flex
> compiler
>
> a couple of discoveries:
> the author extracted his generator entries from a HashMap and assumed the
> returned value was not null..it was null..fixed..
> there is now a Generator Impl class which is a concrete class for Generator
> interface
> the sign goal for maven-jar-plugin
> http://maven.apache.org/plugins/maven-jar-plugin/usage.html doesnt work
> never see output for the signed jar
>
> the maven-jar-plugin:sign workaround is to
> mv *.jar to work folder
> jar -xvf *.jar
> rm -ef META-INF
> jar -cvf *.jar
> sign it with jarsigner (yes you'll need the keystore *.jks)
> update the signed jar with META_INF/maven/plugin.xml
>
> plugin classloader completely ignored
> <requiresDependencyResolution>runtime</requiresDependencyResolution>
> from plugin.xml so i commented out requirement for GeneratorFactory class
> (all of the Generator classes now are located in the
> flexmojos-generator-maven-plugin)
>      <!-- requirements -->
>        <!-- requirement -->
>          <!--
> role>org.sonatype.flexmojos.generator.api.GeneratorFactory</role -->
>          <!-- field-name>generatorFactory</field-name -->
>        <!-- /requirement -->
>      <!-- /requirements -->
>
>
> currently looking for beta-testers
> all comments are welcome!
>
> thanks,
> Martin Gainty
> ______________________________________________
> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
> Vertraulichkeitanmerkung/Note de deni et de confidentialité
>
>
> Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése
> nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi
> alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen
> megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet
> tartalma miatt.
>
> 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.
>
>
>