Re: Maven 2 : Jalopy plugin

2006-03-22 Thread SiD
It works, THANKS !

On 3/21/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:
>
> 2006/3/21, SiD  <[EMAIL PROTECTED]>:
> >
> > Ok, it still doesn't works,
> >
> > my pom.xml :
>
>
> [SNIP]
>
> I found that :
> > https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
> >
> > How can i use it ?
>
>
> I checked. The jalopy plugin was never released even never have deployed a
> snapshot version.
> So you have to checkout the source code
> svn checkout
> http://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
> 
> cd 
> mvn install -DupdateReleaseInfo=true
>
> then retry with your project.
>
> Hope this will help
>
> Raphaël
>
>
> [snip]
> >
>



--
SiD  ( http://guildetourment.free.fr/


Re: Maven 2 : Jalopy plugin

2006-03-21 Thread Piéroni Raphaël
2006/3/21, SiD  <[EMAIL PROTECTED]>:
>
> Ok, it still doesn't works,
>
> my pom.xml :


[SNIP]

I found that :
> https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
>
> How can i use it ?


I checked. The jalopy plugin was never released even never have deployed a
snapshot version.
So you have to checkout the source code
svn checkout
http://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
cd 
mvn install -DupdateReleaseInfo=true

then retry with your project.

Hope this will help

Raphaël


[snip]
>


Re: Maven 2 : Jalopy plugin

2006-03-21 Thread Stefan Fritz

Teh following works for me:


   org.codehaus.mojo
   jalopy-maven-plugin
   
   
   
   
c:/dev/var/configurations/jalopy.xml

   

   
   
   format-main-src
   
   process-sources
   
   


   
   
   format
   
   
   
   


HTH
Stefan


SiD  wrote:


Hey,

I just installed Maven 2 from http://maven.apache.org/

I want to use the Maven Jalopy Plugin, I followed this link :
http://mojo.codehaus.org/jalopy-maven-plugin/howto.html

I tried to add, in my pom.xml :


 

   
  org.codehaus.mojo
  maven-jalopy-plugin
  1.0-SNAPSHOT
   

 



 

   
  org.codehaus.mojo
  jalopy-maven-plugin
  1.0-SNAPSHOT
   

 


But, always the same error :

D:\Documents and Settings\sid\toto>mvn site

[INFO] Scanning for projects...
[INFO] -
---
[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [site]
[INFO] -
---
[INFO] -
---
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: jalopy-maven-plugin
Version: 1.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.codehaus.mojo:jalopy-maven-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)


[INFO] -
---
[INFO] For more information, run Maven with the -e switch
[INFO] -
---
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Mar 21 12:26:31 CET 2006
[INFO] Final Memory: 1M/4M
[INFO] -
---


Someone can help me ?

Thanks.

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2 : Jalopy plugin

2006-03-21 Thread SiD
Ok, it still doesn't works,

my pom.xml :

...


  junit
  junit
  3.8.1
  test

  
  

  codehaus
  Codehaus maven repository
  http://dist.codehaus.org/
  legacy


  apache-snapshots
  Apache snapshot repository
  http://cvs.apache.org/maven-snapshot-repository/
  legacy


  Maven Snapshots
  http://snapshots.maven.codehaus.org/maven2/
  
true
  
  
false
  

  
  

  Maven Snapshots
  http://snapshots.maven.codehaus.org/maven2/
  
true
  
  
false
  

  
  

  
org.codehaus.mojo
jalopy-maven-plugin
1.0-SNAPSHOT

  



Errors :

D:\Documents and Settings\sid\toto>mvn jalopy:format
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jalopy'.
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT: checking
for
 updates from codehaus
[INFO] snapshot org.codehaus.mojo:jalopy-maven-plugin:1.0-SNAPSHOT: checking
for
 updates from apache-snapshots
Downloading:
http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/jalop
y-maven-plugin/1.0-SNAPSHOT/jalopy-maven-plugin-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository Maven Snapshots (
http://snapsho
ts.maven.codehaus.org/maven2/)
Downloading:
http://dist.codehaus.org//org.codehaus.mojo/poms/jalopy-maven-plugi
n-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus (
http://dist.codehaus.
org/)
Downloading:
http://cvs.apache.org/maven-snapshot-repository//org.codehaus.mojo/
poms/jalopy-maven-plugin-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache-snapshots (
http://cvs.ap
ache.org/maven-snapshot-repository/)
Downloading:
http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/jalop
y-maven-plugin/1.0-SNAPSHOT/jalopy-maven-plugin-1.0-SNAPSHOT.pom
[WARNING] Unable to get resource from repository Maven Snapshots (
http://snapsho
ts.maven.codehaus.org/maven2/)
[INFO]
-
---
[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: jalopy-maven-plugin
Version: 1.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.codehaus.mojo:jalopy-maven-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
  central (http://repo1.maven.org/maven2),
  codehaus (http://dist.codehaus.org/),
  apache-snapshots (http://cvs.apache.org/maven-snapshot-repository/)


[INFO]
-
---
[INFO] For more information, run Maven with the -e switch
[INFO]
-
---
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Mar 21 13:36:16 CET 2006
[INFO] Final Memory: 1M/2M
[INFO]
-


Is it a configuration problem or the plugin isn't on codehaus ?

I found that :
https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/

How can i use it ?

On 3/21/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:
>
> Hello SiD,
>
> IIRC, you have to:
> configure the repositories to point to the mojo snapshot repo (cant
> remember
> the real address)
> or checkout the plugin and build it if it was never deployed.
>
> So check in the guides :
> http://maven.apache.org/guides/mini/guide-multiple-repositories.html
>
> 
>   
> Maven Snapshots
> http://snapshots.maven.codehaus.org/maven2/
> 
>   true
> 
> 
>   false
> 
>   
> 
> 
>   
> Maven Snapshots
> http://snapshots.maven.codehaus.org/maven2/
> 
>   true
> 
> 
>   false
> 
>   
> 
>
> You may also add a plugin group element in your settings. (can't
> remember how - but there is some information about it in the mail list
> archive)
>
> Hope this will help
>
> Regards
>
> Raphaël
>
>
>
>
> 2006/3/21, SiD  < [EMAIL PROTECTED]>:
> >
> > Hey,
> >
> > I just installed Maven 2 from http://maven.apache.org/
> >
> > I want to use the Maven Jalopy Plugin, I followed this link :
> > http://mojo.codehaus.org/jalopy-maven-plugin/howto.html
> >
> > I tried to add, in my pom.xml :
> >
> >
> > 
> >   
> >  
> > 
> >org.codehaus.mojo
> >jalopy-maven-plugin
> >1.0-SNAPSHOT
> > 
> >  
> >   
> > 
>
>
>
>
> This one is the correct one see
> http://mojo.codehaus.org/jalopy-maven-plugin/howto.html
>



--
SiD  ( http://guildetourment.free.fr/


Re: Maven 2 : Jalopy plugin

2006-03-21 Thread Piéroni Raphaël
Hello SiD,

IIRC, you have to:
configure the repositories to point to the mojo snapshot repo (cant remember
the real address)
or checkout the plugin and build it if it was never deployed.

So check in the guides :
http://maven.apache.org/guides/mini/guide-multiple-repositories.html


  
Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/

  true


  false

  


  
Maven Snapshots
http://snapshots.maven.codehaus.org/maven2/

  true


  false

  


You may also add a plugin group element in your settings. (can't
remember how - but there is some information about it in the mail list
archive)

Hope this will help

Regards

Raphaël




2006/3/21, SiD  <[EMAIL PROTECTED]>:
>
> Hey,
>
> I just installed Maven 2 from http://maven.apache.org/
>
> I want to use the Maven Jalopy Plugin, I followed this link :
> http://mojo.codehaus.org/jalopy-maven-plugin/howto.html
>
> I tried to add, in my pom.xml :
>
>
> 
>   
>  
> 
>org.codehaus.mojo
>jalopy-maven-plugin
>1.0-SNAPSHOT
> 
>  
>   
> 




This one is the correct one see
http://mojo.codehaus.org/jalopy-maven-plugin/howto.html


Maven 2 : Jalopy plugin

2006-03-21 Thread SiD
Hey,

I just installed Maven 2 from http://maven.apache.org/

I want to use the Maven Jalopy Plugin, I followed this link :
http://mojo.codehaus.org/jalopy-maven-plugin/howto.html

I tried to add, in my pom.xml :


  
 

   org.codehaus.mojo
   maven-jalopy-plugin
   1.0-SNAPSHOT

 
  



  
 

   org.codehaus.mojo
   jalopy-maven-plugin
   1.0-SNAPSHOT

 
  


But, always the same error :

D:\Documents and Settings\sid\toto>mvn site

[INFO] Scanning for projects...
[INFO] -
---
[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [site]
[INFO] -
---
[INFO] -
---
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: jalopy-maven-plugin
Version: 1.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.codehaus.mojo:jalopy-maven-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] -
---
[INFO] For more information, run Maven with the -e switch
[INFO] -
---
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Mar 21 12:26:31 CET 2006
[INFO] Final Memory: 1M/4M
[INFO] -
---


Someone can help me ?

Thanks.