Ahh, I stand corrected. It seems that the jalopy plugin has not had a
snapshot deployed yet. So you will have to build it yourself. You can
check out the sources from SVN using this URL:
http://svn.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
Christian Kölle wrote:
Hi Dennis,
Thanks for your quick response. I am afraid, your link did not help much.
For me everything leads to the question: Where are the mojo-plugins? I am
even prepared to put them to the repro manually.
Background:
If I try what you recommend, i.e. reading the documentation behind your
link and doing
<project>
...
<build>
...
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>maven-jalopy-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
</plugins>
...
</build>
...
</project>
as I did before, I get the message, that the plugin is nowhere available.
Note that all plugin repositories are configured in this way in my project
main pom.xml:
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
############## error ######################
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),
sateh.com (http://maven.sateh.com/repository),
dotsrc.org (http://mirrors.dotsrc.org/maven2),
Sateh.com (http://maven.sateh.com/repository),
ibiblio.net (http://www.ibiblio.net/pub/packages/maven2),
sunsite.dk (http://mirrors.sunsite.dk/maven2),
ggi-project.org (http://ftp.ggi-project.org/pub/packages/maven2),
lsu.edu (http://ibiblio.lsu.edu/main/pub/packages/maven2)
############################################
Unavailability problems are equivalent for:
<groupId>org.codehaus.mojo</groupId>
<artifactId>maven-jalopy-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jalopy-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>jalopy-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jalopy-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
Regards and thanks
Christian
----Ursprüngliche Nachricht----
Von: Dennis Lundberg [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 18. Juni 2006 22:12
An: Maven Users List
Betreff: Re: [m2] Code beautfier - FAQ/BestPractice (Jalopy-whatever)
| I think you are looking for this:
| http://mojo.codehaus.org/jalopy-maven-plugin/howto.html
|
|
| Christian Kölle wrote:
|| Hello,
||
|| Caution: Newbie!
|| I am new to m2 but used to use m1. I have a flat-folder-hierachy
|| m2-multi-module project.
||
|| Problem:
|| I want to run a beautifier plugin over my code, before everything is
|| build. I don't care what beautifier, it is just to unify the layout.
|| After 1,5 years, I decided to have a try on Jalopy, as it seems to
|| support java 1.5 now [1].
||
|| I am totally lost: I wanna use a build-plugin. As far as I found out
|| apache-plugins are named "maven-xxxx-plugin" and mojo-plugins are
|| named "xxx-maven-plugin". Unfortunaltelly there is no apache plugin,
|| see [2], or at least I cannot find it. I searched for mojo-plugins
|| but cannot find them either anywhere. In fact I am very insecure what
|| "Mojo" is. Mojos mailinglist seems to be dead and even the link I
|| found to the sources [3] seems to bee dead.
||
|| What would you suggest? Wait for a release of a maven-plugin, wait
|| for release of a mojo-plugin or trying to get this [4] running
|| somehow? -- all for M2 -- Any other M2-out-of-the-box-beatifiers
|| known?
||
|| Regards and thanks in advance.
|| Christian
||
|| [1] http://jalopy.sourceforge.net/jalopy/changes-report.html
|| [2] http://maven.sateh.com/repository/maven-plugins/
|| [3]
|| https://svn.mojo.codehaus.org/mojo/trunk/mojo/jalopy-maven-plugin/
|| [4] http://maven.sateh.com/repository/jalopy/jalopy/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]