directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r700762 - in /directory/studio/trunk: help-pom.xml pom.xml
Date Wed, 01 Oct 2008 13:23:37 GMT
Author: felixk
Date: Wed Oct  1 06:23:37 2008
New Revision: 700762

URL: http://svn.apache.org/viewvc?rev=700762&view=rev
Log:
Hack hack hack ...

As discussed in http://www.archivum.info/dev@directory.apache.org/2008-10/msg00010.html we
try to create a fastbuild (don't create existing *help modules again).
To run fast build add -Dfastbuild to your CLI:
mvn install -Dfastbuild

The build will fail if running -Dfastbuild without existing *help modules or
<NOTE>
will download them from the snapshot server without building them!
</NOTE>

Modified:
    directory/studio/trunk/help-pom.xml
    directory/studio/trunk/pom.xml

Modified: directory/studio/trunk/help-pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/help-pom.xml?rev=700762&r1=700761&r2=700762&view=diff
==============================================================================
--- directory/studio/trunk/help-pom.xml (original)
+++ directory/studio/trunk/help-pom.xml Wed Oct  1 06:23:37 2008
@@ -166,13 +166,9 @@
         </plugins>
       </build>
     </profile>
-    <profile>
-      <activation>
-        <file>
-          <missing>schemaeditor-help/timestamp</missing>
-        </file>
-      </activation>
-    <build>
+  </profiles>
+
+  <build>
     <resources>
       <resource>
         <directory>.</directory>
@@ -339,7 +335,6 @@
                   <outputproperty name="encoding" value="iso8859_1" />
                   <outputproperty name="indent" value="es" />
                 </xslt>
-                <touch file="timestamp" />
               </tasks>
             </configuration>
             <goals>
@@ -349,17 +344,6 @@
         </executions>
       </plugin>
 
-<!-- Remove if above config of studio plugin is needed with the goal prepare-jar-package
-      <plugin>
-        <groupId>org.apache.directory.studio</groupId>
-        <artifactId>studio-maven-plugin</artifactId>
-        <configuration>
-          <skip>false</skip>
-          <createManifest>true</createManifest>
-        </configuration>
-      </plugin>
--->
-
       <!-- No tests to run -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -370,9 +354,5 @@
       </plugin>
     </plugins>
   </build>
-    </profile>
-  </profiles>
-    
-  
 
 </project>
\ No newline at end of file

Modified: directory/studio/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/pom.xml?rev=700762&r1=700761&r2=700762&view=diff
==============================================================================
--- directory/studio/trunk/pom.xml (original)
+++ directory/studio/trunk/pom.xml Wed Oct  1 06:23:37 2008
@@ -103,6 +103,45 @@
         <maven.test.skip>true</maven.test.skip>
       </properties>
     </profile>
+    <!-- 
+      Building help modules can be skipped by adding 
+      -Dfastbuild
+      to the commandline.
+    -->
+    <profile>
+      <id>build-help-modules</id>
+      <activation>
+        <property>
+          <name>!fastbuild</name>
+        </property>
+      </activation>
+      <modules>
+        <module>schemaeditor-help</module>
+        <module>ldifeditor-help</module>
+        <module>ldapbrowser-help</module>
+        <module>apacheds-configuration-help</module>
+        <module>rcp-help</module>
+        <module>apacheds-help</module>
+      </modules>
+    </profile>
+    <!--
+      Add the dist modules as profile to force them being built
+      AFTER the help modules, otherwise we run into a backlog
+      of at least 1 iteration because the dist modules would be
+      built before the help modules ...
+    -->
+    <profile>
+      <id>build-dist-modules</id>
+      <activation>
+        <property>
+          <name>!must_stay_empty_property</name>
+        </property>
+      </activation>
+      <modules>
+        <module>updatesite</module>
+        <module>studio</module>
+      </modules>
+    </profile>
   </profiles>
 
   <dependencyManagement>
@@ -986,28 +1025,20 @@
     <module>aciitemeditor</module>
     <module>schemaeditor</module>
     <module>schemaeditor-feature</module>
-    <module>schemaeditor-help</module>
     <module>rcp</module>
     <module>rcp-feature</module>
-    <module>rcp-help</module>
     <module>ldifeditor</module>
     <module>ldifeditor-feature</module>
-    <module>ldifeditor-help</module>
     <module>ldapbrowser-ui</module>
     <module>ldapbrowser-feature</module>
-    <module>ldapbrowser-help</module>
     <module>apacheds-configuration</module>
     <module>apacheds-configuration-feature</module>
-    <module>apacheds-configuration-help</module>
     <module>apacheds-launcher</module>
     <module>apacheds</module>
     <module>apacheds-feature</module>
-    <module>apacheds-help</module>
     <module>jars</module>
     <module>test-integration-core</module>
     <module>test-integration-ui</module>
-    <module>updatesite</module>
-    <module>studio</module>
   </modules>
 
   <build>
@@ -1125,21 +1156,6 @@
             -->
           </dependencies>
         </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-clean-plugin</artifactId>
-            <configuration>
-              <filesets>
-                <fileset>
-                  <directory>.</directory>
-                  <includes>
-                    <include>**/timestamp</include>
-                  </includes>
-                  <followSymlinks>false</followSymlinks>
-                </fileset>
-              </filesets>
-            </configuration>
-          </plugin>
       </plugins>
     </pluginManagement>
 



Mime
View raw message