maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <wayne...@gmail.com>
Subject Re: Maven and macker plugin working??[UPDATES]
Date Fri, 17 Aug 2007 20:59:48 GMT
I've seen enough people asking for a M2 Macker plugin in the last few
months/year that I finally decided to go ahead and write one myself.
In my limited testing, it works great, but I am not really a Macker
user so I'll need some feedback from people to improve it.

I will be submitting it to the Mojo sandbox shortly. I will post
another message when it is available -- you will need to download the
code and "mvn install" it on your own machine before using it, just
like all plugins in the sandbox.

Just wanted to let you know. For now, the rules need to be stored in
an external macker-rules.xml file but I will see about allowing the
configuration directly in the pom.xml file as well.

Wayne

On 8/13/07, copernic Jeremy <copernic.web@gmail.com> wrote:
> Hi all,
>
> just to let you know some updates on my maven-macker-plugin issue:
> I was not able to use the maven-macker-plugin available on repo1
> http://repo1.maven.org/maven2/maven-plugins/maven-macker-plugin/
> In fact I found a link explaining how to use Macker with Maven 2 through the
> maven-antrun-plugin.
> http://docs.codehaus.org/display/MAVENUSER/Running+Macker+with+Maven+2
> It works fine for now but I must admit that I would prefer using a full
> maven-macker-plugin without any ant tasks and build.xml files.
> I think it could be great if we could define all the macker.xml's rules
> directly into the pom.xml of the maven project, or simply specify the
> location of the macker.xml file like the JettyConfig file style. Something
> like that:
>
>   <plugin>
>                          <groupId>maven-plugins</groupId>
>                          <artifactId>maven-macker-plugin</artifactId>
>                          <version>0.4.2</version>
>                          <configuration>
>
> <mackerConfig>${basedir}src/test/macker.xml</mackerConfig>
>                         </configuration>
>
>
>  </plugin>
>
> or
>
>
>   <plugin>
>                          <groupId>maven-plugins</groupId>
>                          <artifactId>maven-macker-plugin</artifactId>
>                          <version>0.4.2</version>
>                          <configuration>
>                            <macker>
>                              <rulesets>
>                                    <ruleSet>
>                                         <accessRule>
>                                             <from>myClass</from>
>                                             <to>someJavaClass</to>
>                                        </accessRule>
>                                    </ruleSet>
>                                </ruleSets>
>
>                                  .....
>                              </macker>
>                         </configuration>
>
>
>  </plugin>
>
> Maybe someday, someone who knows well Macker and the development of maven
> plugins could try release one like that?!
> Yet, the main Macker developper is aware of these issue and suggestions and
> he told me that he would suggest them for a futur release so lets hope!
>
> regards,
>
> Jeremy
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message