You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2014/03/11 20:28:10 UTC

svn commit: r1576481 - in /jspwiki/trunk: ChangeLog jspwiki-war/pom.xml

Author: metskem
Date: Tue Mar 11 19:28:10 2014
New Revision: 1576481

URL: http://svn.apache.org/r1576481
Log:
2014-03-11  Harry Metske (metskem@apache.org)

       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml

Modified:
    jspwiki/trunk/ChangeLog
    jspwiki/trunk/jspwiki-war/pom.xml

Modified: jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/jspwiki/trunk/ChangeLog?rev=1576481&r1=1576480&r2=1576481&view=diff
==============================================================================
--- jspwiki/trunk/ChangeLog (original)
+++ jspwiki/trunk/ChangeLog Tue Mar 11 19:28:10 2014
@@ -1,5 +1,9 @@
 2014-03-11  Harry Metske (metskem@apache.org)
 
+       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
+
+2014-03-11  Harry Metske (metskem@apache.org)
+
        * Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
 
 2014-03-03  Harry Metske (metskem@apache.org)

Modified: jspwiki/trunk/jspwiki-war/pom.xml
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/pom.xml?rev=1576481&r1=1576480&r2=1576481&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/pom.xml (original)
+++ jspwiki/trunk/jspwiki-war/pom.xml Tue Mar 11 19:28:10 2014
@@ -218,6 +218,9 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
+          <systemPropertyVariables>
+              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
+          </systemPropertyVariables>          
           <excludes>
             <!-- time-consuming tests excluded by default -->
             <exclude>**/StressTestVersioningProvider.java</exclude>
@@ -351,6 +354,32 @@
           </webResources>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <!-- Unpack the JSP Wiki Pages -->
+          <execution>
+            <id>unpack-wikipages-private</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.jspwiki.wikipages</groupId>
+                  <artifactId>jspwiki-wikipages-en</artifactId>
+                  <version>${project.version}</version>
+                </artifactItem>
+              </artifactItems>
+              <excludes>META-INF/**</excludes>
+              <outputDirectory>${project.build.directory}/jspwiki/data/jspwiki-files</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>  
+      </plugin>
     </plugins>
   </build>
 </project>



Re: svn commit: r1576481 - in /jspwiki/trunk: ChangeLog jspwiki-war/pom.xml

Posted by Siegfried Goeschl <sg...@gmx.at>.
Hi folks,

sorry my fault - I have too many cross-cutting changes on my box

unpacking the JSP Wiki pages for running the jspwiki-war is 
https://issues.apache.org/jira/browse/JSPWIKI-824

The relevant change is

+          <systemPropertyVariables>
+              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
+          </systemPropertyVariables>


to use "./target" as temporary directory

I cloned the current trunk on Github 
(https://github.com/sgoeschl/apache-jspwiki) to have my changes under 
version control

+ JSPWIKI-823 
https://github.com/sgoeschl/apache-jspwiki/commit/81e77ad1ed585cb3cad253511e7fd2543abaa5e8
+ JSPWIKI-824 
https://github.com/sgoeschl/apache-jspwiki/commit/05259e090f6a37f93d8ececb698dfaa81f6bf8a4 
& 
https://github.com/sgoeschl/apache-jspwiki/commit/dd6f7d919136dc49fcc12df8fa198d5612385b8d 
but requires JSPWIKI-826
+ JSPWIKI-826 
https://github.com/sgoeschl/apache-jspwiki/commit/c310177f86e0aff34b9387771f61a7361e17ac8a

In the meantime I'm working on JSPWIKI-829 Integrate jspwiki-portable 
into the jspwiki maven build

Cheers,

Siegfried Goeschl

On 12.03.14 01:37, Craig L Russell wrote:
> Hi Harry,
>
> Was your change to jspwiki/trunk/jspwiki-war/pom.xml intentional? It doesn't appear to be related to the JSPWIKI-823...
>
> Craig
>
> On Mar 11, 2014, at 12:28 PM, metskem@apache.org wrote:
>
>> Author: metskem
>> Date: Tue Mar 11 19:28:10 2014
>> New Revision: 1576481
>>
>> URL: http://svn.apache.org/r1576481
>> Log:
>> 2014-03-11  Harry Metske (metskem@apache.org)
>>
>>        * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
>>
>> Modified:
>>     jspwiki/trunk/ChangeLog
>>     jspwiki/trunk/jspwiki-war/pom.xml
>>
>> Modified: jspwiki/trunk/ChangeLog
>> URL: http://svn.apache.org/viewvc/jspwiki/trunk/ChangeLog?rev=1576481&r1=1576480&r2=1576481&view=diff
>> ==============================================================================
>> --- jspwiki/trunk/ChangeLog (original)
>> +++ jspwiki/trunk/ChangeLog Tue Mar 11 19:28:10 2014
>> @@ -1,5 +1,9 @@
>> 2014-03-11  Harry Metske (metskem@apache.org)
>>
>> +       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
>> +
>> +2014-03-11  Harry Metske (metskem@apache.org)
>> +
>>         * Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
>>
>> 2014-03-03  Harry Metske (metskem@apache.org)
>>
>> Modified: jspwiki/trunk/jspwiki-war/pom.xml
>> URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/pom.xml?rev=1576481&r1=1576480&r2=1576481&view=diff
>> ==============================================================================
>> --- jspwiki/trunk/jspwiki-war/pom.xml (original)
>> +++ jspwiki/trunk/jspwiki-war/pom.xml Tue Mar 11 19:28:10 2014
>> @@ -218,6 +218,9 @@
>>        <plugin>
>>          <artifactId>maven-surefire-plugin</artifactId>
>>          <configuration>
>> +          <systemPropertyVariables>
>> +              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
>> +          </systemPropertyVariables>
>>            <excludes>
>>              <!-- time-consuming tests excluded by default -->
>>              <exclude>**/StressTestVersioningProvider.java</exclude>
>> @@ -351,6 +354,32 @@
>>            </webResources>
>>          </configuration>
>>        </plugin>
>> +
>> +      <plugin>
>> +        <groupId>org.apache.maven.plugins</groupId>
>> +        <artifactId>maven-dependency-plugin</artifactId>
>> +        <executions>
>> +          <!-- Unpack the JSP Wiki Pages -->
>> +          <execution>
>> +            <id>unpack-wikipages-private</id>
>> +            <phase>generate-resources</phase>
>> +            <goals>
>> +              <goal>unpack</goal>
>> +            </goals>
>> +            <configuration>
>> +              <artifactItems>
>> +                <artifactItem>
>> +                  <groupId>org.apache.jspwiki.wikipages</groupId>
>> +                  <artifactId>jspwiki-wikipages-en</artifactId>
>> +                  <version>${project.version}</version>
>> +                </artifactItem>
>> +              </artifactItems>
>> +              <excludes>META-INF/**</excludes>
>> +              <outputDirectory>${project.build.directory}/jspwiki/data/jspwiki-files</outputDirectory>
>> +            </configuration>
>> +          </execution>
>> +        </executions>
>> +      </plugin>
>>      </plugins>
>>    </build>
>> </project>
>>
>>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@oracle.com
> P.S. A good JDO? O, Gasp!
>


Re: svn commit: r1576481 - in /jspwiki/trunk: ChangeLog jspwiki-war/pom.xml

Posted by Craig L Russell <cr...@oracle.com>.
ahem.

Was your change to the part of jspwiki/trunk/jspwiki-war/pom.xml 

*related to maven-dependency-plugin* 

intentional? It doesn't appear to be related to the JSPWIKI-823...

Craig

On Mar 11, 2014, at 5:37 PM, Craig L Russell wrote:

> Hi Harry,
> 
> Was your change to jspwiki/trunk/jspwiki-war/pom.xml intentional? It doesn't appear to be related to the JSPWIKI-823...
> 
> Craig
> 
> On Mar 11, 2014, at 12:28 PM, metskem@apache.org wrote:
> 
>> Author: metskem
>> Date: Tue Mar 11 19:28:10 2014
>> New Revision: 1576481
>> 
>> URL: http://svn.apache.org/r1576481
>> Log:
>> 2014-03-11  Harry Metske (metskem@apache.org)
>> 
>>      * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
>> 
>> Modified:
>>   jspwiki/trunk/ChangeLog
>>   jspwiki/trunk/jspwiki-war/pom.xml
>> 
>> Modified: jspwiki/trunk/ChangeLog
>> URL: http://svn.apache.org/viewvc/jspwiki/trunk/ChangeLog?rev=1576481&r1=1576480&r2=1576481&view=diff
>> ==============================================================================
>> --- jspwiki/trunk/ChangeLog (original)
>> +++ jspwiki/trunk/ChangeLog Tue Mar 11 19:28:10 2014
>> @@ -1,5 +1,9 @@
>> 2014-03-11  Harry Metske (metskem@apache.org)
>> 
>> +       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
>> +
>> +2014-03-11  Harry Metske (metskem@apache.org)
>> +
>>       * Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
>> 
>> 2014-03-03  Harry Metske (metskem@apache.org)
>> 
>> Modified: jspwiki/trunk/jspwiki-war/pom.xml
>> URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/pom.xml?rev=1576481&r1=1576480&r2=1576481&view=diff
>> ==============================================================================
>> --- jspwiki/trunk/jspwiki-war/pom.xml (original)
>> +++ jspwiki/trunk/jspwiki-war/pom.xml Tue Mar 11 19:28:10 2014
>> @@ -218,6 +218,9 @@
>>      <plugin>
>>        <artifactId>maven-surefire-plugin</artifactId>
>>        <configuration>
>> +          <systemPropertyVariables>
>> +              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
>> +          </systemPropertyVariables>          
>>          <excludes>
>>            <!-- time-consuming tests excluded by default -->
>>            <exclude>**/StressTestVersioningProvider.java</exclude>
>> @@ -351,6 +354,32 @@
>>          </webResources>
>>        </configuration>
>>      </plugin>
>> +
>> +      <plugin>
>> +        <groupId>org.apache.maven.plugins</groupId>
>> +        <artifactId>maven-dependency-plugin</artifactId>
>> +        <executions>
>> +          <!-- Unpack the JSP Wiki Pages -->
>> +          <execution>
>> +            <id>unpack-wikipages-private</id>
>> +            <phase>generate-resources</phase>
>> +            <goals>
>> +              <goal>unpack</goal>
>> +            </goals>
>> +            <configuration>
>> +              <artifactItems>
>> +                <artifactItem>
>> +                  <groupId>org.apache.jspwiki.wikipages</groupId>
>> +                  <artifactId>jspwiki-wikipages-en</artifactId>
>> +                  <version>${project.version}</version>
>> +                </artifactItem>
>> +              </artifactItems>
>> +              <excludes>META-INF/**</excludes>
>> +              <outputDirectory>${project.build.directory}/jspwiki/data/jspwiki-files</outputDirectory>
>> +            </configuration>
>> +          </execution>
>> +        </executions>  
>> +      </plugin>
>>    </plugins>
>>  </build>
>> </project>
>> 
>> 
> 
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@oracle.com
> P.S. A good JDO? O, Gasp!
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!


Re: svn commit: r1576481 - in /jspwiki/trunk: ChangeLog jspwiki-war/pom.xml

Posted by Craig L Russell <cr...@oracle.com>.
Hi Harry,

Was your change to jspwiki/trunk/jspwiki-war/pom.xml intentional? It doesn't appear to be related to the JSPWIKI-823...

Craig

On Mar 11, 2014, at 12:28 PM, metskem@apache.org wrote:

> Author: metskem
> Date: Tue Mar 11 19:28:10 2014
> New Revision: 1576481
> 
> URL: http://svn.apache.org/r1576481
> Log:
> 2014-03-11  Harry Metske (metskem@apache.org)
> 
>       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
> 
> Modified:
>    jspwiki/trunk/ChangeLog
>    jspwiki/trunk/jspwiki-war/pom.xml
> 
> Modified: jspwiki/trunk/ChangeLog
> URL: http://svn.apache.org/viewvc/jspwiki/trunk/ChangeLog?rev=1576481&r1=1576480&r2=1576481&view=diff
> ==============================================================================
> --- jspwiki/trunk/ChangeLog (original)
> +++ jspwiki/trunk/ChangeLog Tue Mar 11 19:28:10 2014
> @@ -1,5 +1,9 @@
> 2014-03-11  Harry Metske (metskem@apache.org)
> 
> +       * Fixed JSPWIKI-823 - set java.io.tmpdir to ${project.build.directory} in pom.xml
> +
> +2014-03-11  Harry Metske (metskem@apache.org)
> +
>        * Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
> 
> 2014-03-03  Harry Metske (metskem@apache.org)
> 
> Modified: jspwiki/trunk/jspwiki-war/pom.xml
> URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/pom.xml?rev=1576481&r1=1576480&r2=1576481&view=diff
> ==============================================================================
> --- jspwiki/trunk/jspwiki-war/pom.xml (original)
> +++ jspwiki/trunk/jspwiki-war/pom.xml Tue Mar 11 19:28:10 2014
> @@ -218,6 +218,9 @@
>       <plugin>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
> +          <systemPropertyVariables>
> +              <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
> +          </systemPropertyVariables>          
>           <excludes>
>             <!-- time-consuming tests excluded by default -->
>             <exclude>**/StressTestVersioningProvider.java</exclude>
> @@ -351,6 +354,32 @@
>           </webResources>
>         </configuration>
>       </plugin>
> +
> +      <plugin>
> +        <groupId>org.apache.maven.plugins</groupId>
> +        <artifactId>maven-dependency-plugin</artifactId>
> +        <executions>
> +          <!-- Unpack the JSP Wiki Pages -->
> +          <execution>
> +            <id>unpack-wikipages-private</id>
> +            <phase>generate-resources</phase>
> +            <goals>
> +              <goal>unpack</goal>
> +            </goals>
> +            <configuration>
> +              <artifactItems>
> +                <artifactItem>
> +                  <groupId>org.apache.jspwiki.wikipages</groupId>
> +                  <artifactId>jspwiki-wikipages-en</artifactId>
> +                  <version>${project.version}</version>
> +                </artifactItem>
> +              </artifactItems>
> +              <excludes>META-INF/**</excludes>
> +              <outputDirectory>${project.build.directory}/jspwiki/data/jspwiki-files</outputDirectory>
> +            </configuration>
> +          </execution>
> +        </executions>  
> +      </plugin>
>     </plugins>
>   </build>
> </project>
> 
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@oracle.com
P.S. A good JDO? O, Gasp!