2
0
Эх сурвалжийг харах

Add notice.txt to generated artifacts.

Ben Alex 20 жил өмнө
parent
commit
bb1e96c85a

+ 12 - 0
adapters/cas/project.xml

@@ -19,5 +19,17 @@
       <url>http://www.yale.edu/tp/cas</url>
     </dependency>
   </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>${basedir}/../../</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>notice.txt</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>
+    </resources>
+  </build>
 </project>
 

+ 40 - 0
adapters/catalina/project.xml

@@ -18,5 +18,45 @@
       <type>jar</type>
     </dependency>
   </dependencies>
+  <build>
+    <unitTest>
+      <includes>
+        <include>**/*Tests.java</include>
+      </includes>
+      <resources>
+<!--        <resource>
+          <directory>${basedir}/../../core/src/test/resources</directory>
+          <includes>
+            <include>**/**</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>-->
+        <resource>
+          <directory>${basedir}/src/main/resources</directory>
+          <includes>
+            <include>**/**</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>
+      </resources>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>${basedir}/../../</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>notice.txt</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>
+ <!--     <resource>
+        <directory>${basedir}/../../src/main/resources</directory>
+        <includes>
+          <include>**/**</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>-->
+    </resources>
+  </build>
 </project>
 

+ 19 - 2
adapters/jboss/project.xml

@@ -36,6 +36,14 @@
         <include>**/*Tests.java</include>
       </includes>
       <resources>
+        <resource>
+          <directory>${basedir}/../../</directory>
+          <targetPath>META-INF</targetPath>
+          <includes>
+            <include>notice.txt</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>
         <resource>
           <directory>${basedir}/../../core/src/main/resources</directory>
           <includes>
@@ -45,6 +53,15 @@
         </resource>
       </resources>
     </unitTest>
+    <resources>
+        <resource>
+          <directory>${basedir}/../../</directory>
+          <targetPath>META-INF</targetPath>
+          <includes>
+            <include>notice.txt</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>
+    </resources>
   </build>
-</project>
-
+</project>

+ 10 - 0
adapters/jetty/project.xml

@@ -33,6 +33,16 @@
         </resource>
       </resources>
     </unitTest>
+    <resources>
+        <resource>
+          <directory>${basedir}/../../</directory>
+          <targetPath>META-INF</targetPath>
+          <includes>
+            <include>notice.txt</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>
+    </resources>
   </build>
 </project>
 

+ 24 - 0
adapters/resin/project.xml

@@ -30,6 +30,13 @@
         <include>**/*Tests.java</include>
       </includes>
       <resources>
+        <resource>
+          <directory>${basedir}/../../core/src/test/resources</directory>
+          <includes>
+            <include>**/**</include>
+          </includes>
+          <filtering>false</filtering>
+        </resource>
         <resource>
           <directory>${basedir}/../../core/src/main/resources</directory>
           <includes>
@@ -39,6 +46,23 @@
         </resource>
       </resources>
     </unitTest>
+    <resources>
+      <resource>
+        <directory>${basedir}/../../</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>notice.txt</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>
+ <!--     <resource>
+        <directory>${basedir}/../../src/main/resources</directory>
+        <includes>
+          <include>**/**</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>-->
+    </resources>
   </build>
 </project>
 

+ 8 - 0
core/project.xml

@@ -12,6 +12,14 @@
   </repository>
   <build>
     <resources>
+      <resource>
+        <directory>${basedir}/../</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>notice.txt</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>
       <resource>
         <directory>${basedir}/src/main/resources/net/sf/acegisecurity/taglibs</directory>
         <targetPath>META-INF</targetPath>