aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1202391 - /aries/trunk/blueprint/blueprint-core/pom.xml
Date Tue, 15 Nov 2011 19:30:53 GMT
Author: dkulp
Date: Tue Nov 15 19:30:53 2011
New Revision: 1202391

URL: http://svn.apache.org/viewvc?rev=1202391&view=rev
Log:
Copy the blueprint.xsd into blueprint core so eclipse:eclipse actually
will work.  (still cannot just checkout blueprint-core and build though)

Modified:
    aries/trunk/blueprint/blueprint-core/pom.xml

Modified: aries/trunk/blueprint/blueprint-core/pom.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-core/pom.xml?rev=1202391&r1=1202390&r2=1202391&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-core/pom.xml (original)
+++ aries/trunk/blueprint/blueprint-core/pom.xml Tue Nov 15 19:30:53 2011
@@ -172,11 +172,7 @@
                 <directory>src/main/resources</directory>
             </resource>
             <resource>
-                <directory>../blueprint-api/src/main/resources/org/osgi/service/blueprint</directory>
-                <targetPath>org/apache/aries/blueprint</targetPath>
-                <includes>
-                    <include>blueprint.xsd</include>
-                </includes>
+                <directory>${basedir}/target/extra-resources</directory>
             </resource>
             <resource>
                   <directory>${project.build.sourceDirectory}</directory>
@@ -185,6 +181,29 @@
                   </includes>
             </resource>
         </resources>
+        <plugins>
+            <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-resources</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/extra-resources/org/apache/aries/blueprint</outputDirectory>
+                            <resources>          
+                                <resource>
+                                    <directory>../blueprint-api/src/main/resources/org/osgi/service/blueprint</directory>
+                                    <filtering>false</filtering>
+                                </resource>
+                            </resources>              
+                        </configuration>            
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
   
 </project>



Mime
View raw message