You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2013/08/28 16:59:50 UTC

[5/6] git commit: MARMOTTA-292: minor changes on pom

MARMOTTA-292: minor changes on pom


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/1a2da39c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/1a2da39c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/1a2da39c

Branch: refs/heads/develop
Commit: 1a2da39cd73b0681a679a3cd727d195ce6ddf75c
Parents: 857281f
Author: Sergio Fernández <wi...@apache.org>
Authored: Wed Aug 28 16:38:04 2013 +0200
Committer: Sergio Fernández <wi...@apache.org>
Committed: Wed Aug 28 16:38:04 2013 +0200

----------------------------------------------------------------------
 extras/webjars/codemirror/pom.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/1a2da39c/extras/webjars/codemirror/pom.xml
----------------------------------------------------------------------
diff --git a/extras/webjars/codemirror/pom.xml b/extras/webjars/codemirror/pom.xml
index a7bfabf..9db02e9 100644
--- a/extras/webjars/codemirror/pom.xml
+++ b/extras/webjars/codemirror/pom.xml
@@ -13,6 +13,7 @@
 
     <properties>
         <webjar.version>3.16</webjar.version>
+        <webjar.path>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${webjar.version}</webjar.path>
     </properties>
 
     <groupId>org.apache.marmotta.webjars</groupId>
@@ -33,7 +34,7 @@
                         </goals>
                         <configuration>
                             <sourceDirectory>${project.basedir}/src/main/resources</sourceDirectory>
-                            <output>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${webjar.version}/codemirror.js</output>
+                            <output>${webjar.path}/codemirror.js</output>
                             <includes>
                                 <include>codemirror.js</include>
                                 <include>matchbrackets.js</include>
@@ -49,7 +50,7 @@
                         </goals>
                         <configuration>
                             <sourceDirectory>${project.basedir}/src/main/resources</sourceDirectory>
-                            <output>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${webjar.version}/codemirror.css</output>
+                            <output>${webjar.path}/codemirror.css</output>
                         </configuration>
                     </execution>
                 </executions>
@@ -63,7 +64,7 @@
                     <exclude>**/*.css</exclude>
                 </excludes>
                 <filtering>false</filtering>
-                <targetPath>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${webjar.version}</targetPath>
+                <targetPath>${webjar.path}</targetPath>
             </resource>
         </resources>
     </build>