Problem is not in mergeable velocity ocmponent - an
instance of it is registered by default inside plugin.


Problem is with config element - it allows one plugin
only, but EJB plugin is quite special and uses
"dummy"-plugin ( EjbConfig ) to provide configuration
for other plugins - and current configuration modality
allows only one plugin per configuration ( and since
every configuration is separate invocation - we have a
problem. 

Fixing this is already on my short range radar,  but 
it will not be ready before tomorrov evening

( if you know how to hack maven mojos - you may try to
do it  yorself )

regards,

--- Julien Faissolle <[EMAIL PROTECTED]>
wrote:

> I just tried removing my whole repository. I obtain
> the same result. Do 
> I have the correct version references in my pom file
> ?
> 
> Diogo Quintela (EF) a écrit :
> > Some while ago there was some problems with
> codehaus dist site.
> > The generama version there wasn't compatible. Can
> you try to remove you
> > local copies of generama and let maven download
> them again ?
> >
> > -----------------------------------
> > Diogo Bacelar Quintela
> > EF - Tecnologias de Informação, Lda.
> > Av. António Serpa, 26 - 4º Dto.
> > 1050-027 Lisboa, Portugal
> > Tel: (+351) 217 827 800
> > Fax: (+351) 217 827 830
> > Email: [EMAIL PROTECTED]
> > PGP: 0xF51A5AB9 
> >   
> >> -----Original Message-----
> >> From:
>
[EMAIL PROTECTED]
> >>
>
[mailto:[EMAIL PROTECTED]
> On Behalf
> >> Of Julien Faissolle
> >> Sent: quarta-feira, 9 de Agosto de 2006 9:48
> >> To:
> [email protected]
> >> Subject: [xdoclet-plugins-interest] ejb plugin
> execution dependency
> >> problem
> >>
> >> Hello,
> >>
> >> I am stuck trying to use the ejb plugin with
> maven2. I do not know if
> >> this problem belongs to this list but here is the
> error I am getting :
> >>
> >> [INFO] XDoclet plugin failed:
> >>
>
org.xdoclet.plugin.ejb.interfaces.LocalInterfacePlugin
> has unsatisfied
> >> dependency: class
> org.generama.MergeableVelocityTemplateEngine among
> >> unsatisfiable dependencies: [[class
> >> org.generama.MergeableVelocityTemplateEngine,
> interface
> >> org.generama.WriterMapper, class
> org.xdoclet.plugin.ejb.EjbConfig]]
> >> where
>
[EMAIL PROTECTED]
> was the
> >> leaf container being asked for dependenciess.
> >>
> >> The generama artifact is found in the repository
> so I cannot understand
> >> why this happens.
> >> Here is my pom file:
> >>
> >> <?xml version="1.0"?><project>
> >>   <modelVersion>4.0.0</modelVersion>
> >>   <groupId>com.experian.is</groupId>
> >>   <artifactId>workflowejb</artifactId>
> >>   <name>Workflow EJB</name>
> >>   <version>0.9</version>
> >>   <url>http://maven.apache.org</url>
> >>   <build>
> >>     <plugins>
> >>       <plugin>
> >>        
> <artifactId>maven-compiler-plugin</artifactId>
> >>         <configuration>
> >>           <source>1.5</source>
> >>           <target>1.5</target>
> >>         </configuration>
> >>       </plugin>
> >>       <plugin>
> >>         <groupId>xdoclet</groupId>
> >>        
> <artifactId>maven2-xdoclet2-plugin</artifactId>
> >>         <version>2.0.5-SNAPSHOT</version>
> >>         <executions>
> >>           <execution>
> >>             <phase>generate-sources</phase>
> >>             <goals>
> >>               <goal>xdoclet</goal>
> >>             </goals>
> >>           </execution>
> >>         </executions>
> >>         <dependencies>
> >>           <dependency>
> >>             <groupId>xdoclet-plugins</groupId>
> >>            
> <artifactId>xdoclet-plugin-ejb</artifactId>
> >>             <version>1.0.4-SNAPSHOT</version>
> >>           </dependency>
> >>           <dependency>
> >>               <groupId>javax.ejb</groupId>
> >>               <artifactId>ejb</artifactId>
> >>               <version>2.1</version>
> >>           </dependency>
> >>         </dependencies>
> >>         <configuration>
> >>           <configs>
> >>             <config>
> >>              
> <plugin>org.xdoclet.plugin.ejb.EjbConfig</plugin>
> >>             </config>
> >>             <config>
> >>
> >>
>
<plugin>org.xdoclet.plugin.ejb.interfaces.LocalInterfacePlugin</plugin>
> >>             </config>
> >>           </configs>
> >>         </configuration>
> >>       </plugin>
> >>     </plugins>
> >>   </build>
> >>   <pluginRepositories>
> >>     <pluginRepository>
> >>       <releases />
> >>       <snapshots />
> >>       <id>codehaus</id>
> >>       <url>http://dist.codehaus.org/</url>
> >>     </pluginRepository>
> >>     <pluginRepository>
> >>       <releases />
> >>       <snapshots />
> >>       <id>codehaus-plugins</id>
> >>       <url>http://dist.codehaus.org/</url>
> >>       <layout>legacy</layout>
> >>     </pluginRepository>
> >>   </pluginRepositories>
> >> </project>
> >>
> >> Can anybody help ?
> >> Julien
> >>
> >>
> >>
> >>
>
-------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support
> web services, security?
> >> Get stuff done quickly with pre-integrated
> technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
> >>
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> xdoclet-plugins-interest mailing list
> >> [email protected]
> >>
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> >>     
> >>
>
------------------------------------------------------------------------
> >>
> >>
>
-------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support
> web services, security?
> >> Get stuff done quickly with pre-integrated
> technology to make your job easier
> >> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
> >>
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >>
>
------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> xdoclet-plugins-interest mailing list
> >> [email protected]
> >>
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> >>     
> 
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> xdoclet-plugins-interest mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> 


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to