]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add transitive dependencies for vaadin-all zip to lib folder
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Thu, 31 Mar 2016 14:12:49 +0000 (17:12 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 1 Apr 2016 11:49:48 +0000 (11:49 +0000)
Change-Id: I020ddda7a11390c9a15e755abf0fc2528fe1cc3a

all/README.TXT [deleted file]
all/all-assembly-descriptor.xml
all/src/main/resources/WebContent/README.TXT [new file with mode: 0644]

diff --git a/all/README.TXT b/all/README.TXT
deleted file mode 100644 (file)
index 24d8afb..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-This Vaadin zip contains all the jars of the Vaadin Framework. Additionally all dependencies are provided in the lib folder.
-
-To use in a web project:
-1. Copy all vaadin-* files except vaadin-client and vaadin-client-compiler to WEB-INF/lib in your project
-2. Copy lib/*.jar to WEB-INF/lib in your project
-3. Copy vaadin-client and vaadin-client-compiler to a lib folder which is on your classpath but will not be deployed. These files are only needed when compiling a module (widget set) to Javascript.
-
-If you are using Eclipse and a standard WTP (Dynamic Web Project or Vaadin Project), step 3 can be:
-Create a /lib folder, copy the files there and right click the lib folder and select "Build Path" -> "Add to Build Path".
-Once this is done, the "Compile widgetset" button provided by the Vaadin Plug-in for Eclipse will work correctly.
-
-
-
index a514c5276f70202f8ab9d539d07e0fadb17dd9a8..3f8a3ab53cd370bde98510078944be201859ac22 100644 (file)
                        <unpack>false</unpack>
                        <useTransitiveDependencies>false</useTransitiveDependencies>
                </dependencySet>
+               <dependencySet>
+                       <scope>compile</scope>
+                       <outputDirectory>lib</outputDirectory>
+                       <useProjectArtifact>false</useProjectArtifact>
+                       <unpack>false</unpack>
+                       <useTransitiveDependencies>true</useTransitiveDependencies>
+                       <excludes>
+                               <exclude>${project.groupId}:vaadin-shared</exclude>
+                               <exclude>${project.groupId}:vaadin-push</exclude>
+                               <exclude>${project.groupId}:vaadin-server</exclude>
+                               <exclude>${project.groupId}:vaadin-themes</exclude>
+                               <exclude>${project.groupId}:vaadin-client</exclude>
+                               <exclude>${project.groupId}:vaadin-client-compiler</exclude>
+                               <exclude>${project.groupId}:vaadin-client-compiled</exclude>
+                               <exclude>${project.groupId}:vaadin-widgets</exclude>
+                       </excludes>
+               </dependencySet>
        </dependencySets>
        <fileSets>
                <fileSet>
diff --git a/all/src/main/resources/WebContent/README.TXT b/all/src/main/resources/WebContent/README.TXT
new file mode 100644 (file)
index 0000000..24d8afb
--- /dev/null
@@ -0,0 +1,13 @@
+This Vaadin zip contains all the jars of the Vaadin Framework. Additionally all dependencies are provided in the lib folder.
+
+To use in a web project:
+1. Copy all vaadin-* files except vaadin-client and vaadin-client-compiler to WEB-INF/lib in your project
+2. Copy lib/*.jar to WEB-INF/lib in your project
+3. Copy vaadin-client and vaadin-client-compiler to a lib folder which is on your classpath but will not be deployed. These files are only needed when compiling a module (widget set) to Javascript.
+
+If you are using Eclipse and a standard WTP (Dynamic Web Project or Vaadin Project), step 3 can be:
+Create a /lib folder, copy the files there and right click the lib folder and select "Build Path" -> "Add to Build Path".
+Once this is done, the "Compile widgetset" button provided by the Vaadin Plug-in for Eclipse will work correctly.
+
+
+