Author: ieb
Date: Mon Dec 15 16:30:44 2008
New Revision: 726893

URL: http://svn.apache.org/viewvc?rev=726893&view=rev
Log:
SHINDIG-725 SHINDIG-789

Combination of 2 patches from Vincent Siverton, back ported to trunk

Fixes:
Some issues with license headers and XSD in poms and assembly files.
The correct processing of legal files for the incubator

Thanks

Modified:
    incubator/shindig/trunk/assembly/pom.xml
    incubator/shindig/trunk/assembly/src/main/assembly/binary.xml
    incubator/shindig/trunk/assembly/src/main/assembly/php.xml
    incubator/shindig/trunk/assembly/src/main/assembly/source.xml
    incubator/shindig/trunk/features/pom.xml
    incubator/shindig/trunk/java/common/pom.xml
    incubator/shindig/trunk/java/gadgets/pom.xml
    incubator/shindig/trunk/java/pom.xml
    incubator/shindig/trunk/java/samples/pom.xml
    incubator/shindig/trunk/java/server/pom.xml
    incubator/shindig/trunk/java/social-api/pom.xml
    incubator/shindig/trunk/pom.xml

Modified: incubator/shindig/trunk/assembly/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/assembly/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/assembly/pom.xml (original)
+++ incubator/shindig/trunk/assembly/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,25 +1,22 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
-<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";>
+<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>
@@ -44,6 +41,9 @@
   </scm>
 
   <build>
+    <filters>
+      <filter>src/main/assembly/binary-src/README</filter>
+    </filters>
     <plugins>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>

Modified: incubator/shindig/trunk/assembly/src/main/assembly/binary.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/assembly/src/main/assembly/binary.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/assembly/src/main/assembly/binary.xml (original)
+++ incubator/shindig/trunk/assembly/src/main/assembly/binary.xml Mon Dec 15 
16:30:44 2008
@@ -1,4 +1,21 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
 <assembly>
   <id>binary</id>
   <formats>

Modified: incubator/shindig/trunk/assembly/src/main/assembly/php.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/assembly/src/main/assembly/php.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/assembly/src/main/assembly/php.xml (original)
+++ incubator/shindig/trunk/assembly/src/main/assembly/php.xml Mon Dec 15 
16:30:44 2008
@@ -1,4 +1,21 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
 <assembly>
   <id>php</id>
   <formats>

Modified: incubator/shindig/trunk/assembly/src/main/assembly/source.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/assembly/src/main/assembly/source.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/assembly/src/main/assembly/source.xml (original)
+++ incubator/shindig/trunk/assembly/src/main/assembly/source.xml Mon Dec 15 
16:30:44 2008
@@ -1,4 +1,21 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
 <assembly>
   <id>source</id>
   <formats>

Modified: incubator/shindig/trunk/features/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/features/pom.xml (original)
+++ incubator/shindig/trunk/features/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,3 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
 <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>
 
@@ -139,15 +157,6 @@
           <exclude>target/**</exclude>
         </excludes>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
 

Modified: incubator/shindig/trunk/java/common/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/common/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/common/pom.xml (original)
+++ incubator/shindig/trunk/java/common/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>
@@ -57,15 +56,6 @@
       <resource>
         <directory>conf</directory>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
 

Modified: incubator/shindig/trunk/java/gadgets/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/gadgets/pom.xml (original)
+++ incubator/shindig/trunk/java/gadgets/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>
@@ -95,15 +94,6 @@
           <include>oauth.json</include>
         </includes>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
 

Modified: incubator/shindig/trunk/java/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/pom.xml (original)
+++ incubator/shindig/trunk/java/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>

Modified: incubator/shindig/trunk/java/samples/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/samples/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/samples/pom.xml (original)
+++ incubator/shindig/trunk/java/samples/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>
@@ -53,15 +52,6 @@
           <include>**/*</include>
         </includes>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
   <dependencies>

Modified: incubator/shindig/trunk/java/server/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/server/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/server/pom.xml (original)
+++ incubator/shindig/trunk/java/server/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>
@@ -53,18 +52,16 @@
             <resource>
               <!-- this is relative to the pom.xml directory -->
               <directory>${basedir}/../../javascript/</directory>
-              <targetPath>/gadgets/files</targetPath>
+              <targetPath>gadgets/files</targetPath>
               <includes>
                 <include>**/*.*</include>
               </includes>
             </resource>
             <resource>
               <targetPath>META-INF</targetPath>
-              <directory>${basedir}/../../</directory>
+              
<directory>${build.directory}/maven-shared-archive-resources/META-INF</directory>
               <includes>
-                <include>NOTICE</include>
-                <include>LICENSE</include>
-                <include>DISCLAIMER</include>
+                <include>**/*</include>
               </includes>
             </resource>
           </webResources>
@@ -83,7 +80,7 @@
     <resources>
       <resource>
         <directory>${basedir}/../../javascript/</directory>
-        <targetPath>/gadgets/files</targetPath>
+        <targetPath>gadgets/files</targetPath>
         <includes>
           <include>**/*.*</include>
         </includes>
@@ -105,15 +102,6 @@
       <resource>
         <directory>conf</directory>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
 

Modified: incubator/shindig/trunk/java/social-api/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/social-api/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/java/social-api/pom.xml (original)
+++ incubator/shindig/trunk/java/social-api/pom.xml Mon Dec 15 16:30:44 2008
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
+<?xml version="1.0" encoding="UTF-8"?><!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 <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>
@@ -51,15 +50,6 @@
           <include>**/*.*</include>
         </includes>
       </resource>
-      <resource>
-        <targetPath>META-INF</targetPath>
-        <directory>${basedir}/../../</directory>
-        <includes>
-          <include>NOTICE</include>
-          <include>LICENSE</include>
-          <include>DISCLAIMER</include>
-        </includes>
-      </resource>
     </resources>
   </build>
 

Modified: incubator/shindig/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/pom.xml?rev=726893&r1=726892&r2=726893&view=diff
==============================================================================
--- incubator/shindig/trunk/pom.xml (original)
+++ incubator/shindig/trunk/pom.xml Mon Dec 15 16:30:44 2008
@@ -537,6 +537,11 @@
     <defaultGoal>install</defaultGoal>
 
     <plugins>
+      <!-- We want to package up license resources in the JARs produced -->
+       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-remote-resources-plugin</artifactId>
+      </plugin>
       <plugin>
         <groupId>org.apache.geronimo.genesis.plugins</groupId>
         <artifactId>tools-maven-plugin</artifactId>
@@ -681,6 +686,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-remote-resources-plugin</artifactId>
+          <version>1.0</version>
           <executions>
             <execution>
               <goals>
@@ -689,6 +695,7 @@
               <configuration>
                 <resourceBundles>
                   
<resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
+                  
<resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
                 </resourceBundles>
               </configuration>
             </execution>
@@ -740,11 +747,6 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-remote-resources-plugin</artifactId>
-          <version>1.0-alpha-6</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
           <version>2.0-beta-6</version>
         </plugin>


Reply via email to