Well, partly. You can define the final name of the artifact. Search for
finalName; it has been discussed before. However, this will only affect the
file created in the target dir. The artifact stored in a repo will always
have the default name format (for different reasons).

/Anders

On Mon, Aug 17, 2009 at 09:03, JORGE LORENZO GALLARDO <[email protected]>wrote:

> We would like that our jar file names (generated with Maven) has the
> groupId and artifactId so that they are clearly identified with the project.
>
> For example:
>  <groupId>org.istmusic.mw</groupId>
>  <artifactId>model</artifactId>
>  <version>0.4.0</version>
>
> We would like that the jar file is in the form:
> org.istmusic.mw.model-0.4.0.jar
>
> We have achieved it with:
>  <groupId>org.istmusic.mw</groupId>
>  <artifactId>org.istmusic.mw.model</artifactId>
>  <version>0.4.0</version>
> But we don“t like very much because it's like adding some redundant
> information in the artifactId and the repository directories are worse.
>
> Is there any way to generate these custom jar file names?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to