Actually I've found the error. It's to do with checkstyle, it should only
apply to the source "jspwiki-war" and not to all the modules (especially
not jspwiki-wikipages).

Find in pom.xml the section

        <plugin>
          <artifactId>maven-eclipse-plugin</artifactId>
          <version>2.9</version>
          <configuration>
            <downloadSources>true</downloadSources>
            <downloadJavadocs>true</downloadJavadocs>
            <additionalConfig>
              <file>
                <name>.checkstyle</name>

<location>./src/main/config/dev/jspwiki-checkstyle.xml</location>
              </file>
              <file>
                <name>.settings/org.eclipse.jdt.core.prefs</name>

<location>./src/main/config/dev/jspwiki-eclipse-codestyle.xml</location>
              </file>
            </additionalConfig>
            <additionalProjectnatures>
              <projectnature>net.sourceforge.metrics.nature</projectnature>

<projectnature>net.sf.eclipsecs.core.CheckstyleNature</projectnature>
            </additionalProjectnatures>
          </configuration>
        </plugin>

Cut this and move it to jspwiki-war/pom.mxl anywhere within
<build>/<plugins>.

Note: I've changed the location path to remove "jspwiki-war", as this is
now part of the "basedir"

That should fix it. Someone should make this change to the svn source!

Cheers,
David V

On Sat, Oct 11, 2014 at 10:43 PM, David Vittor <dvit...@gmail.com> wrote:

> Hi Jurgen,
>
> Try run "mvn install" once (this should work), and then afterwards runs
> mvn eclipse:eclipse.
>
> I've also created a page in JSPWiki, but have not had time to fully
> document. Feel free to update it based on your experience:
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=DevelopmentEnvironment
>
> Kind regards,
> David V
>
>
> On Fri, Oct 10, 2014 at 11:15 PM, Jürgen Weber <juer...@jwi.de> wrote:
>
>> Hi,
>>
>> how do you get the JSPWiki source into Eclipse Luna?
>>
>> I tried File - import existing Maven project - and selected the toplevel
>> pom, this imports several projects, but Java files result not in the
>> package structure and one cannot navigate in the source.
>>
>> Then I tried mvn eclipse:eclipse, but this fails.
>>
>> Could somebody please document how to get the JSPWiki source into Eclipse
>> Luna and work with it in
>> https://jspwiki-wiki.apache.org/Wiki.jsp?page=Getting%20Involved
>>
>> Thanks, Juergen
>>
>
>

Reply via email to