Hola,
Creo que es porque el criptoapplet necesita ser firmado para generar los
jars. Necesitas pasarle como parámetro al maven lo siguiente:
-DujiApplet.keytool.keystore=<ruta_keystore>
-DujiApplet.keytool.alias=<alias> -DujiApplet.keytool.password=<password>
Espero que te ayude.
un saludo
Ana Blasco escribió:
Hola,
Acabo de comenzar a utilizar maven y su aplicación CryptoApplet, estoy
utilizando eclipse con la integración de maven para compilar el proyecto.
Tras unos fallos en eclipse he conseguido compilar el proyecto, pero ahora
al utilizar la orden "package" para crear los archivos jar y poder integrar
el applet en una página web obtengo este error:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] CryptoApplet
[INFO] ujiConfig
[INFO] ujiUtils
[INFO] ujiCrypto
[INFO] ujiApplet
[INFO]
------------------------------------------------------------------------
[INFO] Building CryptoApplet
[INFO]
[INFO] Id: es.uji:CryptoApplet:pom:2.0.5
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO]
------------------------------------------------------------------------
[INFO] Building ujiConfig
[INFO]
[INFO] Id: es.uji:ujiConfig:jar:2.0.5
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building ujiUtils
[INFO]
[INFO] Id: es.uji:ujiUtils:jar:2.0.5
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] CryptoApplet .......................................... SUCCESS
[1.091s]
[INFO] ujiConfig ............................................. SUCCESS
[1.206s]
[INFO] ujiUtils .............................................. FAILED
[0.682s]
[INFO] ujiCrypto ............................................. NOT BUILT
[INFO] ujiApplet ............................................. NOT BUILT
[INFO]
------------------------------------------------------------------------
[ERROR]
One or more required mojo parameters have not been configured.
Mojo:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-jar-plugin
Version: 2.2
Mojo: sign
brought in via: POM
While building project:
Group-Id: es.uji
Artifact-Id: ujiUtils
Version: 2.0.5
>From file: C:\Users\Ana\Desktop\Applet\Applet\trunk\ujiUtils\pom.xml
Missing parameters include:
alias
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Feb 19 13:05:38 CET 2009
[INFO] Final Memory: 3M/13M
[INFO]
------------------------------------------------------------------------
Me gustaría que me dijeseis la manera de solucionarlo ya que llevo varios
días intentando encontrar una solución por Internet y no he conseguido
ningún avance, es bastante importanto por lo que cualquier solución que me
pudieseis dar me sería de gran ayuda.
Un saludo
_______________________________________________
CryptoApplet mailing list
[email protected]
http://llistes.uji.es/mailman/listinfo/cryptoapplet
begin:vcard
fn;quoted-printable:Jose Gargallo Tuz=C3=B3n
n;quoted-printable:Gargallo Tuz=C3=B3n;Jose
email;internet:[email protected]
tel;work:96 373 59 57
version:2.1
end:vcard
_______________________________________________
CryptoApplet mailing list
[email protected]
http://llistes.uji.es/mailman/listinfo/cryptoapplet