You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ws...@apache.org on 2006/04/09 07:40:50 UTC

svn commit: r392681 - in /struts/action/trunk: assembly/pom.xml pom.xml

Author: wsmoak
Date: Sat Apr  8 22:40:48 2006
New Revision: 392681

URL: http://svn.apache.org/viewcvs?rev=392681&view=rev
Log:
Wrap the assembly creation in the 'generate-assembly' profile, and link to it from the struts-action-parent pom, so that 'mvn -P generate-assembly' from /struts/current/action will actually generate the assembly, instead of requiring a second step.

Modified:
    struts/action/trunk/assembly/pom.xml
    struts/action/trunk/pom.xml

Modified: struts/action/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/assembly/pom.xml?rev=392681&r1=392680&r2=392681&view=diff
==============================================================================
--- struts/action/trunk/assembly/pom.xml (original)
+++ struts/action/trunk/assembly/pom.xml Sat Apr  8 22:40:48 2006
@@ -52,7 +52,10 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/action/trunk/assembly</developerConnection>
     <url>http://svn.apache.org/viewcvs.cgi/struts/action/trunk/assembly</url>
   </scm>
-
+  
+  <profiles>
+  <profile>
+  <id>generate-assembly</id>
   <build>
     <plugins>
        <plugin>
@@ -205,6 +208,8 @@
     </plugins>
 
   </build>
+  </profile>
+  </profiles>
 
   <dependencies>
 

Modified: struts/action/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/pom.xml?rev=392681&r1=392680&r2=392681&view=diff
==============================================================================
--- struts/action/trunk/pom.xml (original)
+++ struts/action/trunk/pom.xml Sat Apr  8 22:40:48 2006
@@ -75,6 +75,7 @@
         <module>scripting</module>
         <module>apps</module>
         <module>mailreader-dao</module>
+        <module>assembly</module>
     </modules>
 
     <licenses>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: svn commit: r392681 - in /struts/action/trunk: assembly/pom.xml pom.xml

Posted by Wendy Smoak <ws...@gmail.com>.
On 4/8/06, wsmoak@apache.org <ws...@apache.org> wrote:
> Author: wsmoak
> Date: Sat Apr  8 22:40:48 2006
> New Revision: 392681
>
> URL: http://svn.apache.org/viewcvs?rev=392681&view=rev
> Log:
> Wrap the assembly creation in the 'generate-assembly' profile, and link to it from the struts-action-parent pom, so that 'mvn -P generate-assembly' from /struts/current/action will actually generate the assembly, instead of requiring a second step.

Darn.  This actually doesn't create the assembly, you still have to
drop down into action/assembly and run 'mvn assembly:assembly' to get
it.

I tried binding the execution of the assembly plugin to the package
and install phases, but it isn't handling paths correctly.  Maybe
we'll call the profile 'pre-assembly'...

I do like having the assembly module linked in action/pom.xml, though,
so IDE config will get generated for it and you can edit the files as
part of struts-action.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org