You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by bi...@apache.org on 2010/10/24 20:43:11 UTC

svn commit: r1026862 - in /webservices/xmlschema/trunk: pom.xml xmlschema-core/pom.xml

Author: bimargulies
Date: Sun Oct 24 18:43:11 2010
New Revision: 1026862

URL: http://svn.apache.org/viewvc?rev=1026862&view=rev
Log:
Fix site production, sort of.

Modified:
    webservices/xmlschema/trunk/pom.xml
    webservices/xmlschema/trunk/xmlschema-core/pom.xml

Modified: webservices/xmlschema/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/pom.xml?rev=1026862&r1=1026861&r2=1026862&view=diff
==============================================================================
--- webservices/xmlschema/trunk/pom.xml (original)
+++ webservices/xmlschema/trunk/pom.xml Sun Oct 24 18:43:11 2010
@@ -133,24 +133,6 @@
                     </configuration>
                 </plugin>
                 <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-assembly-plugin</artifactId>
-                    <version>2.2</version>
-                    <configuration>
-                        <descriptors>
-                            <descriptor>src/main/assembly/bin.xml</descriptor>
-                            <descriptor>src/main/assembly/src.xml</descriptor>
-                            <descriptor>src/main/assembly/doc.xml</descriptor>
-                        </descriptors>
-                        <tarLongFileMode>gnu</tarLongFileMode>
-                    </configuration>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-site-plugin</artifactId>
-                    <version>3.0-beta-2</version>
-                </plugin>
-                <plugin>
                     <artifactId>maven-source-plugin</artifactId>
                     <executions>
                         <execution>
@@ -176,6 +158,20 @@
             <id>release</id>
             <build>
                 <plugins>
+		  <plugin>
+		    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-site-plugin</artifactId>
+		    <version>3.0-beta-2</version>
+                    <executions>
+                        <execution>
+                            <id>site</id>
+                            <phase>package</phase>
+                            <goals>
+                                <goal>site</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
                     <!--
     We want to sign the artifact, the POM, and all attached artifacts
 -->
@@ -191,18 +187,6 @@
                         </executions>
                     </plugin>
                     <plugin>
-                        <artifactId>maven-assembly-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>single</id>
-                                <phase>package</phase>
-                                <goals>
-                                    <goal>single</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-source-plugin</artifactId>
                         <executions>

Modified: webservices/xmlschema/trunk/xmlschema-core/pom.xml
URL: http://svn.apache.org/viewvc/webservices/xmlschema/trunk/xmlschema-core/pom.xml?rev=1026862&r1=1026861&r2=1026862&view=diff
==============================================================================
--- webservices/xmlschema/trunk/xmlschema-core/pom.xml (original)
+++ webservices/xmlschema/trunk/xmlschema-core/pom.xml Sun Oct 24 18:43:11 2010
@@ -20,9 +20,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-      <groupId>org.apache.ws.xmlschema</groupId>
-      <artifactId>xmlschema</artifactId>
-      <version>2.0-SNAPSHOT</version>
+        <groupId>org.apache.ws.xmlschema</groupId>
+        <artifactId>xmlschema</artifactId>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <groupId>org.apache.ws.xmlschema</groupId>
     <artifactId>xmlschema-core</artifactId>
@@ -39,7 +39,7 @@
                 <filtering>true</filtering>
             </resource>
         </resources>
-	<plugins>
+        <plugins>
             <plugin>
                 <artifactId>maven-remote-resources-plugin</artifactId>
                 <version>1.0</version>
@@ -71,19 +71,50 @@
                     </instructions>
                 </configuration>
             </plugin>
-	    <plugin>
-	      <groupId>org.apache.maven.plugins</groupId>
-	      <artifactId>maven-jar-plugin</artifactId>
-	      <version>2.2</version>
-	      <configuration>
-		<archive>
-		  <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
-		</archive>
-	      </configuration>
-	    </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.2</version>
+                <configuration>
+                    <archive>
+                        <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
+                    </archive>
+                </configuration>
+            </plugin>
         </plugins>
         <defaultGoal>install</defaultGoal>
     </build>
+    <profiles>
+        <profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <version>2.2</version>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/bin.xml</descriptor>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                                <descriptor>src/main/assembly/doc.xml</descriptor>
+                            </descriptors>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>single</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <dependencies>
         <dependency>
             <groupId>junit</groupId>