You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yuvaraj Vanarase <yu...@synechron.com> on 2011/06/23 11:30:29 UTC

generated artifact name

Hi,

Sometimes I observed that jar/ear artifact created under target directory after maven install/package goal doesn't have version in its name. Well, while installing it does install to correct directory structure under local repository.

E.g.

<artifactId>abc</artifactId>
            <groupId>com.xyz</groupId>
            <version>1.0.0</version>

Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is the packaging).

Regards,
Yuvaraj

Yuvaraj Vanarase,
Lead Technology - Software
Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
SYNECHRON -
- Top 10 Best IT Employers for 4 consecutive years (link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
- Celebrating 10 Years!


RE: generated artifact name

Posted by Yuvaraj Vanarase <yu...@synechron.com>.
Thanks Nick. 

Regards,
Yuvaraj

Yuvaraj Vanarase,
Lead Technology – Software
Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
SYNECHRON - 
- Top 10 Best IT Employers for 4 consecutive years (link).
- Celebrating 10 Years!


-----Original Message-----
From: Nick Stolwijk [mailto:nick.stolwijk@gmail.com] 
Sent: Thursday, June 23, 2011 8:43 PM
To: Maven Users List
Subject: Re: generated artifact name

The name in your target directory is defined by the finalName in your
build section[1].

[1] http://maven.apache.org/pom.html#Build_Settings

Hth,

Nick Stolwijk
~Senior Java Developer~

iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl



On Thu, Jun 23, 2011 at 5:08 PM, Yuvaraj Vanarase
<yu...@synechron.com> wrote:
> Anyone has any clue?
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link).
> - Celebrating 10 Years!
>
>
> -----Original Message-----
> From: Yuvaraj Vanarase [mailto:yuvaraj.vanarase@synechron.com]
> Sent: Thursday, June 23, 2011 3:00 PM
> To: users@maven.apache.org
> Subject: generated artifact name
>
> Hi,
>
> Sometimes I observed that jar/ear artifact created under target directory after maven install/package goal doesn't have version in its name. Well, while installing it does install to correct directory structure under local repository.
>
> E.g.
>
> <artifactId>abc</artifactId>
>            <groupId>com.xyz</groupId>
>            <version>1.0.0</version>
>
> Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is the packaging).
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
> - Celebrating 10 Years!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: generated artifact name

Posted by Nick Stolwijk <ni...@gmail.com>.
The name in your target directory is defined by the finalName in your
build section[1].

[1] http://maven.apache.org/pom.html#Build_Settings

Hth,

Nick Stolwijk
~Senior Java Developer~

iPROFS
Wagenweg 208
2012 NM Haarlem
T +31 23 547 6369
F +31 23 547 6370
I www.iprofs.nl



On Thu, Jun 23, 2011 at 5:08 PM, Yuvaraj Vanarase
<yu...@synechron.com> wrote:
> Anyone has any clue?
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link).
> - Celebrating 10 Years!
>
>
> -----Original Message-----
> From: Yuvaraj Vanarase [mailto:yuvaraj.vanarase@synechron.com]
> Sent: Thursday, June 23, 2011 3:00 PM
> To: users@maven.apache.org
> Subject: generated artifact name
>
> Hi,
>
> Sometimes I observed that jar/ear artifact created under target directory after maven install/package goal doesn't have version in its name. Well, while installing it does install to correct directory structure under local repository.
>
> E.g.
>
> <artifactId>abc</artifactId>
>            <groupId>com.xyz</groupId>
>            <version>1.0.0</version>
>
> Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is the packaging).
>
> Regards,
> Yuvaraj
>
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years (link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
> - Celebrating 10 Years!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


RE: generated artifact name

Posted by Mark Struberg <st...@yahoo.de>.
Hi!

This happens if you set a <finalName> in your build section.

This is handy if you have some automated task which assumes that there exists a file this certain name.


LieGrue,
strub

--- On Thu, 6/23/11, Yuvaraj Vanarase <yu...@synechron.com> wrote:

> From: Yuvaraj Vanarase <yu...@synechron.com>
> Subject: RE: generated artifact name
> To: "Maven Users List" <us...@maven.apache.org>
> Date: Thursday, June 23, 2011, 3:08 PM
> Anyone has any clue?
> 
> Regards,
> Yuvaraj
> 
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870
> | http://www.synechron.com
> SYNECHRON - 
> - Top 10 Best IT Employers for 4 consecutive years (link).
> - Celebrating 10 Years!
> 
> 
> -----Original Message-----
> From: Yuvaraj Vanarase [mailto:yuvaraj.vanarase@synechron.com]
> 
> Sent: Thursday, June 23, 2011 3:00 PM
> To: users@maven.apache.org
> Subject: generated artifact name
> 
> Hi,
> 
> Sometimes I observed that jar/ear artifact created under
> target directory after maven install/package goal doesn't
> have version in its name. Well, while installing it does
> install to correct directory structure under local
> repository.
> 
> E.g.
> 
> <artifactId>abc</artifactId>
>            
> <groupId>com.xyz</groupId>
>            
> <version>1.0.0</version>
> 
> Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is
> the packaging).
> 
> Regards,
> Yuvaraj
> 
> Yuvaraj Vanarase,
> Lead Technology - Software
> Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
> SYNECHRON -
> - Top 10 Best IT Employers for 4 consecutive years
> (link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
> - Celebrating 10 Years!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

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


RE: generated artifact name

Posted by Yuvaraj Vanarase <yu...@synechron.com>.
Anyone has any clue?

Regards,
Yuvaraj

Yuvaraj Vanarase,
Lead Technology - Software
Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
SYNECHRON - 
- Top 10 Best IT Employers for 4 consecutive years (link).
- Celebrating 10 Years!


-----Original Message-----
From: Yuvaraj Vanarase [mailto:yuvaraj.vanarase@synechron.com] 
Sent: Thursday, June 23, 2011 3:00 PM
To: users@maven.apache.org
Subject: generated artifact name

Hi,

Sometimes I observed that jar/ear artifact created under target directory after maven install/package goal doesn't have version in its name. Well, while installing it does install to correct directory structure under local repository.

E.g.

<artifactId>abc</artifactId>
            <groupId>com.xyz</groupId>
            <version>1.0.0</version>

Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is the packaging).

Regards,
Yuvaraj

Yuvaraj Vanarase,
Lead Technology - Software
Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 | http://www.synechron.com
SYNECHRON -
- Top 10 Best IT Employers for 4 consecutive years (link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
- Celebrating 10 Years!


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


RE: generated artifact name

Posted by Diego Lin <di...@synnex.com>.
<build>
  <finalName>abc</finalName>
.............
</build> 

-----Original Message-----
From: Yuvaraj Vanarase [mailto:yuvaraj.vanarase@synechron.com] 
Sent: Thursday, 23 June 2011 17:30
To: users@maven.apache.org
Subject: generated artifact name

Hi,

Sometimes I observed that jar/ear artifact created under target
directory after maven install/package goal doesn't have version in its
name. Well, while installing it does install to correct directory
structure under local repository.

E.g.

<artifactId>abc</artifactId>
            <groupId>com.xyz</groupId>
            <version>1.0.0</version>

Creates abc.ear instead of abc-1.0.0.ear (or jar if jar is the
packaging).

Regards,
Yuvaraj

Yuvaraj Vanarase,
Lead Technology - Software
Phone: +91.20.40262000 Ext 2305|Mobile: +91.9850818870 |
http://www.synechron.com SYNECHRON -
- Top 10 Best IT Employers for 4 consecutive years
(link<http://www.synechron.com/news/news_best_employer_sep2010.htm>).
- Celebrating 10 Years!


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