You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2010/12/21 17:47:04 UTC

svn commit: r1051551 - in /wicket/trunk: pom.xml wicket-core/ wicket-core/pom.xml

Author: mgrigorov
Date: Tue Dec 21 16:47:03 2010
New Revision: 1051551

URL: http://svn.apache.org/viewvc?rev=1051551&view=rev
Log:
WICKET-3261 Create wicket-core Maven module that contains wicket + wicket-util + wicket-request

Add wicket-core that is a jarjar for wicket, wicket-util and wicket-request

Added:
    wicket/trunk/wicket-core/
    wicket/trunk/wicket-core/pom.xml   (with props)
Modified:
    wicket/trunk/pom.xml

Modified: wicket/trunk/pom.xml
URL: http://svn.apache.org/viewvc/wicket/trunk/pom.xml?rev=1051551&r1=1051550&r2=1051551&view=diff
==============================================================================
--- wicket/trunk/pom.xml (original)
+++ wicket/trunk/pom.xml Tue Dec 21 16:47:03 2010
@@ -63,6 +63,7 @@
 				<module>wicket-objectssizeof-agent</module>
 				<module>wicket-examples</module>
 				<module>archetypes/quickstart</module>
+				<module>wicket-core</module>
 			</modules>
 			<build>
 				<plugins>
@@ -138,6 +139,7 @@
 				<module>wicket-objectssizeof-agent</module>
 				<module>wicket-examples</module>
 				<module>archetypes/quickstart</module>
+				<module>wicket-core</module>
 			</modules>
 			<build>
 				<plugins>
@@ -197,6 +199,7 @@
 				<module>wicket-examples</module>
 				<module>archetypes/quickstart</module>
 				<module>testing/wicket-threadtest</module>
+				<module>wicket-core</module>
 			</modules>
 
 			<distributionManagement>

Added: wicket/trunk/wicket-core/pom.xml
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/pom.xml?rev=1051551&view=auto
==============================================================================
--- wicket/trunk/wicket-core/pom.xml (added)
+++ wicket/trunk/wicket-core/pom.xml Tue Dec 21 16:47:03 2010
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.wicket</groupId>
+    <artifactId>wicket-parent</artifactId>
+    <version>1.5-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <artifactId>wicket-core</artifactId>
+  <name>Wicket Core</name>
+  <description>
+	A module that creates a .jar from the classes in wicket, wicket-util and wicket-request modules.
+	This way all users - Maven and non-Maven ones can depend only on the artifact produced by this module without
+	bothering that Wicket core depends on other modules.
+  </description>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket</artifactId>
+      <version>${project.parent.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-util</artifactId>
+      <version>${project.parent.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.wicket</groupId>
+      <artifactId>wicket-request</artifactId>
+      <version>${project.parent.version}</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>1.4</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <artifactSet>
+                <includes>
+                  <include>org.apache.wicket:wicket</include>
+                  <include>org.apache.wicket:wicket-util</include>
+                  <include>org.apache.wicket:wicket-request</include>
+                </includes>
+              </artifactSet>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: wicket/trunk/wicket-core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native