After some more googling I found this:

http://www.mailinglistarchive.com/[email protected]/msg43576.html

The trick also works for me. But of course I still have no idea what I'm doing 
wrong.

-will

On 21.05.2010, at 11:29, Will Scheidegger wrote:

> 
> Dear Fabrizio
> 
> I'm trying to integrate your Maven taglib Plug-in in one of my projects. 
> Unfortunately I have not been very successful yet which is most likely at 
> least to some degree my fault - but also some to faulty or missing docs. 
> Would you mind telling me what I'm doing wrong?
> 
> The documentation (http://maven-taglib.sourceforge.net/m2/index.html) claims 
> that all you need to do to use the taglib reports is adding the following to 
> the pom:
> 
> <reporting>
>      <plugin>
>        <groupId>net.sourceforge.maven-taglib</groupId>
>        <artifactId>maven-taglib-plugin</artifactId>
>      </plugin>
>    </plugins>
>  </reporting>
> 
> Of course, this piece of configuration misses an opening <plugins> tag, but I 
> did notice that and fixed it. Then I trired
> 
> mvn taglib:tagreference
> 
> as further described in "Usage", but this only leads to an error message 
> about a missing plugin:
> 
> ...
> [INFO] Searching repository for plugin with prefix: 'taglib'.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-taglib-plugin' does not 
> exist or no valid version could be found
> 
> So I guess there must be more to it. So I searched the web about how to 
> install Maven 2 plugins. I did find this 
> http://maven-plugins.sourceforge.net/installing.html, tried it but think this 
> is more likely for Maven 1 since there is no "plugins" folder in M2. Then I 
> read somewhere about adding a dependency to get this to work, so I added
> 
>        <dependency>
>            <groupId>net.sourceforge.maven-taglib</groupId>
>            <artifactId>maven-taglib-plugin</artifactId>
>            <version>2.4</version>
>            <type>plugin</type>
>        </dependency>
> 
> Afterwards maven told me that I needed to download the plugin jar manually - 
> I guess the sourceforge repository is not set in my maven config. After some 
> searching (there is now download link in the documentation) I could download 
> and install the binaries from the sourceforge repo. Now "mvn package" works 
> fine again, but when I try one of the new targets ("mvn taglib:tagreference") 
> I still get the error message about the missing 
> org.apache.maven.plugins:mavne-taglib-plugin as shown above.
> 
> I'm running out of ideas here. Therefore I would appreciate your help very 
> much.
> 
> Thanks!
> -will
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to