I should correct that the release:perform goal is not deploy the assembly to the remote repository as expected, not release:prepare. I run both release:prepare then release:perform with the assembly's profile and the assembly does not get deployed.

On 9/13/07, Ryan Breidenbach <[EMAIL PROTECTED]> wrote:
>
> I have a WAR project that contains an assembly configuration within a
> profile. (The purpose of the assembly is to create a ZIP'd version of
> the webapp that contains an embedded servlet container).
>
> Anyway, my assembly configuration in my POM looks like this:
>
> ...
> <profile>
>         <id>assembly</id>
>         <build>
>                 <plugins>
>                         <plugin>
>
> <artifactId>maven-assembly-plugin</ artifactId>
>                                 <executions>
>                                         <execution>
> <phase>package</ phase>
>                                                 <goals>
>
> <goal>attached</goal>
>                                                 </goals>
>                                                 <configuration>
>                                                         <descriptor>
>
> src/main/assembly/assembly.xml
>                                                         </descriptor>
>                                                 </configuration>
>                                         </execution>
>                                 </executions>
>                         </plugin>
>                 </plugins>
>         </build>
> </profile>
>
> When I execute mvn -Passembly package, I see the appropriate ZIP file
> created in my target directory (along with the WAR file).
>
> When I execute mvn -Passembly deploy, I see the ZIP file in the
> remote repository.
>
> However, when I try to create a release with mvn -Passembly
> release:prepare, I do *not* see the ZIP file in the remote
> repository. It is almost as if my profile is being ignored by the
> release plugin.
>
> Any thoughts?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to