mercredi, mai 19, 2010

Bug maven 2.x "plugin does not exist or no valid" (ie: The plugin 'org.codehaus.mojo:sonar-maven-plugin' does not exist or no valid version could be found)

maven sometimes stop working with plugin

The bug is well known and often appear when using Hudson and Sonar together.

The bug is about corrupt metadata xml file of local maven repository.
http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-novalidversion
http://jira.codehaus.org/browse/MNG-2408

- A simple work around is to erase the local maven repository
- The best work around is to use -U while using mvn.

In the context of hudson/sonar, just set in -U to the additional properties in the global configuration of the Sonar plugin for Hudson
>Add Sonar
>Nom : sonar2.0.1
>URL : http://host:16080/sonar
>URL du serveur public : http://host:16080/sonar
>URL BDD : jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
>Nom user BDD : xxx
>Mot de passe BDD : xxx
>Driver BDD : com.mysql.jdbc.Driver
>Additional properties : -U

jeudi, mai 13, 2010

Sacred 2

Partie en réseau local mais sur internet (via hamachi) :
- utiliser un réseau local constitué avec hamachi (testé avec la version 2.0.2.85)
- bien configurer hamachi (cad connexion hamachi devant les autres et métrique de la connexion a 10 )
tutorial : http://www.hamachifrance.com/forum/tutoriels-jeux-hamachi/149-tuto-configurer-hamachi-pour-xp-vista-et-7-a.html
- Aucun routage de port nécessaire vers la machine serveur à travers le réseau hamachi

Patchs officiels :
http://update.sacred2.com/apache2-default/

Hamachi

Toutes les versions :
http://www.filehippo.com/download_hamachi


Configuration de Hamashi sur win XP, vista, win7 :
http://www.hamachifrance.com/forum/tutoriels-jeux-hamachi/149-tuto-configurer-hamachi-pour-xp-vista-et-7-a.html

Dungeon Siege 2 et hamachi et resolution

http://logmeinwiki.com/wiki/Hamachi:Dungeon_Siege_2




Pour jouer en résolution plus élevée que la résolution standard, modifier l icone de lancement est ajoutée a la fin de la commande
height=1050 width=1680