I want to add the to a list of artifacts/dependencies of a project the projects 
artifactId,version itself.

<j:useList var="l" />
                        
<j:forEach var="x" items="${pom.artifacts}">                    
        ${xxx.add(x.dependency)}
</j:forEach> 
                        
<j:useBean var="v" class="org.apache.maven.project.Dependency" 
artifactId="${pom.artifactId}" .../>                     
${xxx.add(v)}

I get a java.lang.reflect.InvocationTargetException in the userBean statement. 
I guess this is correct because the contructor maybe takes some args (btw. 
where are the javadoc/xdocs for the org.apache.maven.project.* classes???)

Thanks
Jens Zastrow
DAI-Labor - Technische Universität Berlin
Sekretariat GOR 1-1, Franklinstraße 28/29, 10587 Berlin
Fon: +49 30 314 77777
Fax: +49 30 314 21799
[EMAIL PROTECTED]
http://www.dai-labor.de


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

Reply via email to