You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniel Hannum <dh...@quovadx.com> on 2005/10/05 17:12:05 UTC

Deployed extensions hardcoded to jar

Hi, I'm using the ant tasks to add dependency management and repositories to
my ant project. I'm using the following tasks to deploy a zip that I built
to the repository.

		<artifact:pom file="pom.xml" id="maven.project"/>

		<artifact:deploy file="build/web/foo.zip">
			<pom refid="maven.project"/>
		</artifact:deploy>

When it gets there, though, Maven has changed the extension to .jar and I
can't find any way to turn it off. My archive has jsp's in it, so it's not a
true jar. The problem gets worse if I want to deploy a document: the
document gets its extension changed to .jar.

Any help would be appreciated, thanks
Dan

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


Re: Deployed extensions hardcoded to jar

Posted by Brett Porter <br...@gmail.com>.
it's controlled by <packaging/> in the pom. However, you might need
more functionality from the ant task - please file a bug.

- Brett

On 10/6/05, Daniel Hannum <dh...@quovadx.com> wrote:
> Hi, I'm using the ant tasks to add dependency management and repositories to
> my ant project. I'm using the following tasks to deploy a zip that I built
> to the repository.
>
>                 <artifact:pom file="pom.xml" id="maven.project"/>
>
>                 <artifact:deploy file="build/web/foo.zip">
>                         <pom refid="maven.project"/>
>                 </artifact:deploy>
>
> When it gets there, though, Maven has changed the extension to .jar and I
> can't find any way to turn it off. My archive has jsp's in it, so it's not a
> true jar. The problem gets worse if I want to deploy a document: the
> document gets its extension changed to .jar.
>
> Any help would be appreciated, thanks
> Dan
>
> ---------------------------------------------------------------------
> 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