I think I noticed. With your config, I get a file called
"final-sar-file.sar.sar" in target/. It appears that .sar is added by
the plugin.

/Anders

On Tue, Nov 22, 2011 at 11:29, Anders Hammar <[email protected]> wrote:
> I tested this and it works for me.
>
> May I ask why you're trying to change the name of the artifact? IMHO
> it's not something you should do as it will trick you into thinking
> that you can do some stuff that you can't (in Maven). Please remember
> that this will NOT change the name of the artifact in the repo (local
> or remote). So keep the standard name and deal with that instead.
>
> /Anders
> On Mon, Nov 21, 2011 at 16:39, Jan Jirout <[email protected]> wrote:
>> Hello,
>> I have problem with JBoss Packaging Plugin. It seems that configuration
>> property "archiveName" is not working. Bellow is listed configuration that
>> should produce war file called 'final-sar-file.sar'. In my case is final sar
>> file called standard maven way as '${project.build.finalName}'.
>> Here is part of my pom.xml file:
>> ...
>> <artifactId>core</artifactId>
>> <packaging>jboss-sar</packaging>
>> ...
>> <plugin>
>> <groupId>org.codehaus.mojo</groupId>
>> <artifactId>jboss-packaging-maven-plugin</artifactId>
>> <version>2.2</version>
>> <extensions>true</extensions>
>> <configuration>
>> <libDirectory>${project.build.directory}/${project.build.finalName}</libDirectory>
>> <archiveName>final-sar-file.sar</archiveName>
>> </configuration>
>> </plugin>
>> ...
>> Is it problem of plugin or just misunderstanding of plugin functionality?
>> thanks for help
>> regards
>> Jan
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to