I think

<schmaJar implemenetation="org.apache.maven.artifact.DefaultArtifact">
  <groupId>javax.j2ee</groupId>
  ...
</schemaJar>

will work, but I'm hesitant to recommend it.

I think the notation below is easier to read, and can be left as a
string. The plugin should digest that and search the project artifacts
for the relevant artifact (which it will need to do anyway, thus giving
a "real" artifact object).

- Brett

Kris Bravo wrote:

>I'd like to be able to refer to a dependency defined in a pom within the
>configuration of the xml beans plugin.
>
><configuration>
>  <schemaJar implementation="???">javax.j2ee:j2ee-schemas:1.0</schemaJar>
></configuration>
>
>Is it possible to define the schemaJar file as an artifact? If so, what
>should I put in "implementation" above?
>
>/**
> * @parameter
> */
>private Artifact schemaJar
>
>Kris Bravo
>Corridor Software, Inc.
>http://www.corridor-software.us
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

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

Reply via email to