You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jon Strayer <jo...@strayer.org> on 2008/03/31 21:34:39 UTC

null in artifact name

I have a project with several modules.  All of the modules are packaged in a
file named null-1.0.0-SNAPSHOT.

I generated the effective pom for one of the modules and got:

  <artifactId>freehost3270-proxy</artifactId>

 <finalName>${artifactId}-1.0.0-SNAPSHOT</finalName>

Given those two entries, how do I end up with "null" in the package name?


-- 
Esse Quam Videre
To Be, rather than to Seem

Re: null in artifact name

Posted by Jon Strayer <jo...@strayer.org>.
On Mon, Mar 31, 2008 at 3:34 PM, Jon Strayer <jo...@strayer.org> wrote:

> I have a project with several modules.  All of the modules are packaged in
> a file named null-1.0.0-SNAPSHOT.
>
> I generated the effective pom for one of the modules and got:
>
>   <artifactId>freehost3270-proxy</artifactId>
>
>  <finalName>${artifactId}-1.0.0-SNAPSHOT</finalName>
>
> Given those two entries, how do I end up with "null" in the package name?
>
>
I'd like to emphasize that this is from the "effective pom" I.e. the output
of "mvn help:effective-pom".  I don't actually set the final name in the
pom.


>
> --
> Esse Quam Videre
> To Be, rather than to Seem




-- 
Esse Quam Videre
To Be, rather than to Seem

Re: null in artifact name

Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Mar 31, 2008 at 12:34 PM, Jon Strayer <jo...@strayer.org> wrote:

> I have a project with several modules.  All of the modules are packaged in a
>  file named null-1.0.0-SNAPSHOT.
>  I generated the effective pom for one of the modules and got:
>   <artifactId>freehost3270-proxy</artifactId>
>   <finalName>${artifactId}-1.0.0-SNAPSHOT</finalName>
>  Given those two entries, how do I end up with "null" in the package name?

Try ${project.artifactId} instead.  But given that artifactId-version
is the default, I don't see why you'd need this?

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: null in artifact name

Posted by lo...@jpmchase.com.
It should be ${pom.artifactId} there. 


Thanks & Regards,
Logu Rajamanickam




"Jon Strayer" <jo...@strayer.org> 
Sent by: jon.strayer@gmail.com
03/31/2008 02:34 PM
Please respond to
"Maven Users List" <us...@maven.apache.org>


To
"Maven Users List" <us...@maven.apache.org>
cc

Subject
null in artifact name






I have a project with several modules.  All of the modules are packaged in 
a
file named null-1.0.0-SNAPSHOT.

I generated the effective pom for one of the modules and got:

  <artifactId>freehost3270-proxy</artifactId>

 <finalName>${artifactId}-1.0.0-SNAPSHOT</finalName>

Given those two entries, how do I end up with "null" in the package name?


-- 
Esse Quam Videre
To Be, rather than to Seem



-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.