Hi John-
so plugin.xml would contain something like
<mojo>
<parameters>
<parameter>
<name>outputDirectory</name>
<type>java.lang.String</type>
<required>true</required>
<editable>true</editable>
<description>The directory for the generated mar.</description>
</parameter>
<parameter>
<name>marName</name>
<type>java.lang.String</type>
<required>true</required>
<editable>true</editable>
<description>The name of the generated mar.</description>
</parameter>
<parameter>
<name>classifier</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>Classifier to add to the artifact generated. If
given, the artifact will be an attachment instead.</description>
</parameter>
<parameter>
<name>groupId</name>
<type>java.lang.String</type>
<required>true</required>
<editable>true</editable>
<description>The plugin's groupId.</description>
</parameter>
<parameter>
<name>artifactId</name>
<type>java.lang.String</type>
<required>true</required>
<editable>true</editable>
<description>The plugin's artifactId.</description>
</parameter>
<parameter>
<name>version</name>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The plugin's version.</description>
</parameter>
<parameter>
<name>goal</name>
<type>java.lang.String</type>
<required>true</required>
<editable>true</editable>
<description>The mojo's goal that we're looking for, as an extra
validation step.</description>
</parameter>
<configuration>
<marName
implementation="java.lang.String">${project.build.finalName}</marName>
<outputDirectory
implementation="java.lang.String">${project.build.directory}</outputDirectory>
<groupId implementation="java.lang.String">${groupId}</groupId>
<artifactId
implementation="java.lang.String">${artifactId}</artifactId>
<version implementation="java.lang.String">${version}</version>
<goal implementation="java.lang.String">${goal}</goal>
</configuration>
Anyone else?
Martin
----- Original Message -----
From: "John" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Saturday, May 31, 2008 6:49 PM
Subject: Embedded error: Prohibited package name: java.lang
I am trying to use Maven 2.0.9 on OS X, with the latest Apple updates, and
am getting the following error when I run a basic "mvn install site"
command:
[INFO] Compiling 1 source file to
/Users/john/downloads/jms-mdb-sample/jms-mdb-sample-ejb/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Prohibited package name: java.lang
I have tried to research the error by doing some googling but haven't come
up with any helpful information.
I would be very appreciative of any assistance to help me get past this.
Thanks,
John
---------------------------------------------------------------------
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]