Repository: incubator-juneau
Updated Branches:
  refs/heads/master e9d545f7e -> 4acfd9d33


More .project and m2e fixes

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/4acfd9d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/4acfd9d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/4acfd9d3

Branch: refs/heads/master
Commit: 4acfd9d33eb9a22b72cb3c67e83722b1986c1bc9
Parents: e9d545f
Author: Peter Haumer <[email protected]>
Authored: Sun May 21 16:09:26 2017 -0700
Committer: Peter Haumer <[email protected]>
Committed: Sun May 21 16:09:26 2017 -0700

----------------------------------------------------------------------
 .project                                        |  6 +++
 juneau-examples-rest/.classpath                 | 31 +++++++++++++--
 juneau-examples-rest/.project                   | 42 ++++++++++++--------
 .../juneau-examples-rest.launch                 |  2 +
 juneau-microservice/.classpath                  | 25 ++++++++++--
 juneau-microservice/.project                    | 40 +++++++++++--------
 juneau-rest-client/.classpath                   | 25 ++++++++++--
 juneau-rest-client/.project                     | 36 ++++++++++-------
 juneau-rest-jaxrs/.classpath                    | 24 ++++++++++-
 juneau-rest-jaxrs/.project                      | 35 +++++++++-------
 juneau-rest-test/.classpath                     | 31 +++++++++++++--
 juneau-rest-test/.project                       | 33 +++++++++------
 juneau-rest-test/juneau-rest-test.launch        |  2 +
 juneau-rest/.classpath                          | 31 +++++++++++++--
 juneau-rest/.project                            | 36 ++++++++++-------
 15 files changed, 292 insertions(+), 107 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/.project
----------------------------------------------------------------------
diff --git a/.project b/.project
index 3be417c..65e37d7 100644
--- a/.project
+++ b/.project
@@ -19,7 +19,13 @@
        <projects>
        </projects>
        <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
        </natures>
 </projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-examples-rest/.classpath
----------------------------------------------------------------------
diff --git a/juneau-examples-rest/.classpath b/juneau-examples-rest/.classpath
index 13d8f35..4fdd2c1 100644
--- a/juneau-examples-rest/.classpath
+++ b/juneau-examples-rest/.classpath
@@ -14,9 +14,23 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
-       <classpathentry excluding="**/*.java" kind="src" 
path="src/main/resources"/>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry excluding="**" kind="src" output="target/classes" 
path="src/main/resources">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="var" 
path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/mail/mail/1.4.1/mail-1.4.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
@@ -50,6 +64,15 @@
        <classpathentry kind="var" 
path="M2_REPO/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/junit/junit/4.11/junit-4.11.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-examples-rest/.project
----------------------------------------------------------------------
diff --git a/juneau-examples-rest/.project b/juneau-examples-rest/.project
index 0db3537..8a73b4c 100644
--- a/juneau-examples-rest/.project
+++ b/juneau-examples-rest/.project
@@ -14,20 +14,28 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-examples-rest</name>
-  <comment>Sample code packaged as a microservice. NO_M2ECLIPSE_SUPPORT: 
Project files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
-  <projects>
-    <project>juneau-microservice</project>
-    <project>juneau-rest</project>
-    <project>juneau-core</project>
-    <project>juneau-rest-client</project>
-  </projects>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-examples-rest</name>
+       <comment>Sample code packaged as a microservice. NO_M2ECLIPSE_SUPPORT: 
Project files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
+       <projects>
+               <project>juneau-microservice</project>
+               <project>juneau-rest</project>
+               <project>juneau-core</project>
+               <project>juneau-rest-client</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-examples-rest/juneau-examples-rest.launch
----------------------------------------------------------------------
diff --git a/juneau-examples-rest/juneau-examples-rest.launch 
b/juneau-examples-rest/juneau-examples-rest.launch
index 129975b..4004583 100644
--- a/juneau-examples-rest/juneau-examples-rest.launch
+++ b/juneau-examples-rest/juneau-examples-rest.launch
@@ -24,7 +24,9 @@
 <booleanAttribute key="org.eclipse.jdt.debug.ui.CONSIDER_INHERITED_MAIN" 
value="true"/>
 <booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" 
value="true"/>
 <booleanAttribute 
key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" 
value="org.eclipse.m2e.launchconfig.classpathProvider"/>
 <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" 
value="org.apache.juneau.microservice.RestMicroservice"/>
 <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" 
value="examples.cfg"/>
 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" 
value="juneau-examples-rest"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" 
value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
 </launchConfiguration>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-microservice/.classpath
----------------------------------------------------------------------
diff --git a/juneau-microservice/.classpath b/juneau-microservice/.classpath
index b4677a6..55a0b95 100644
--- a/juneau-microservice/.classpath
+++ b/juneau-microservice/.classpath
@@ -14,8 +14,18 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="var" 
path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/mail/mail/1.4.1/mail-1.4.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
@@ -44,6 +54,15 @@
        <classpathentry kind="var" path="M2_REPO/asm/asm/3.1/asm-3.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/commons-io/commons-io/2.2/commons-io-2.2.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-microservice/.project
----------------------------------------------------------------------
diff --git a/juneau-microservice/.project b/juneau-microservice/.project
index fd29d05..9f6f68a 100644
--- a/juneau-microservice/.project
+++ b/juneau-microservice/.project
@@ -14,19 +14,27 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-microservice</name>
-  <comment>API for creating standalone executable jars that can be used to 
start lightweight configurable REST interfaces. NO_M2ECLIPSE_SUPPORT: Project 
files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
-  <projects>
-    <project>juneau-rest</project>
-    <project>juneau-core</project>
-    <project>juneau-rest-client</project>
-  </projects>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-microservice</name>
+       <comment>API for creating standalone executable jars that can be used 
to start lightweight configurable REST interfaces. NO_M2ECLIPSE_SUPPORT: 
Project files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
+       <projects>
+               <project>juneau-rest</project>
+               <project>juneau-core</project>
+               <project>juneau-rest-client</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-client/.classpath
----------------------------------------------------------------------
diff --git a/juneau-rest-client/.classpath b/juneau-rest-client/.classpath
index 52a0f55..c33aec0 100644
--- a/juneau-rest-client/.classpath
+++ b/juneau-rest-client/.classpath
@@ -14,8 +14,18 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="src" path="/juneau-core"/>
        <classpathentry kind="var" 
path="M2_REPO/org/apache/jena/jena-core/2.7.1/jena-core-2.7.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/org/apache/jena/jena-iri/0.9.1/jena-iri-0.9.1.jar"/>
@@ -29,6 +39,15 @@
        <classpathentry kind="var" 
path="M2_REPO/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/org/apache/httpcomponents/httpmime/4.5/httpmime-4.5.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-client/.project
----------------------------------------------------------------------
diff --git a/juneau-rest-client/.project b/juneau-rest-client/.project
index d6327b0..ddd7643 100644
--- a/juneau-rest-client/.project
+++ b/juneau-rest-client/.project
@@ -14,17 +14,25 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-rest-client</name>
-  <comment>REST client API. NO_M2ECLIPSE_SUPPORT: Project files created with 
the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
-  <projects>
-    <project>juneau-core</project>
-  </projects>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-rest-client</name>
+       <comment>REST client API. NO_M2ECLIPSE_SUPPORT: Project files created 
with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+       <projects>
+               <project>juneau-core</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-jaxrs/.classpath
----------------------------------------------------------------------
diff --git a/juneau-rest-jaxrs/.classpath b/juneau-rest-jaxrs/.classpath
index 795ff2e..62245b3 100644
--- a/juneau-rest-jaxrs/.classpath
+++ b/juneau-rest-jaxrs/.classpath
@@ -14,7 +14,12 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="var" 
path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar"/>
        <classpathentry kind="src" path="/juneau-core"/>
@@ -27,6 +32,21 @@
        <classpathentry kind="var" 
path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-jaxrs/.project
----------------------------------------------------------------------
diff --git a/juneau-rest-jaxrs/.project b/juneau-rest-jaxrs/.project
index b6551cc..ac441eb 100644
--- a/juneau-rest-jaxrs/.project
+++ b/juneau-rest-jaxrs/.project
@@ -14,17 +14,24 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-rest</name>
-  <comment>REST servlet API. NO_M2ECLIPSE_SUPPORT: Project files created with 
the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
-  <projects>
-    <project>juneau-core</project>
-  </projects>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-rest-jaxrs</name>
+       <comment>REST servlet API. NO_M2ECLIPSE_SUPPORT: Project files created 
with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-test/.classpath
----------------------------------------------------------------------
diff --git a/juneau-rest-test/.classpath b/juneau-rest-test/.classpath
index 697dd28..df92ec6 100644
--- a/juneau-rest-test/.classpath
+++ b/juneau-rest-test/.classpath
@@ -14,9 +14,23 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
-       <classpathentry kind="src" path="src/main/resources"/>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry excluding="**" kind="src" output="target/classes" 
path="src/main/resources">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="var" 
path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/mail/mail/1.4.1/mail-1.4.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar"/>
@@ -51,7 +65,16 @@
        <classpathentry kind="var" 
path="M2_REPO/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/junit/junit/4.11/junit-4.11.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry combineaccessrules="false" kind="src" 
path="/juneau-core-rdf"/>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-test/.project
----------------------------------------------------------------------
diff --git a/juneau-rest-test/.project b/juneau-rest-test/.project
index 43c6fca..a078069 100644
--- a/juneau-rest-test/.project
+++ b/juneau-rest-test/.project
@@ -14,15 +14,24 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-rest-test</name>
-  <comment>Tests for Juneau Client and Server. NO_M2ECLIPSE_SUPPORT: Project 
files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
-  <projects/>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-rest-test</name>
+       <comment>Tests for Juneau Client and Server. NO_M2ECLIPSE_SUPPORT: 
Project files created with the maven-eclipse-plugin are not supported in 
M2Eclipse.</comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest-test/juneau-rest-test.launch
----------------------------------------------------------------------
diff --git a/juneau-rest-test/juneau-rest-test.launch 
b/juneau-rest-test/juneau-rest-test.launch
index ce62df7..41accb2 100644
--- a/juneau-rest-test/juneau-rest-test.launch
+++ b/juneau-rest-test/juneau-rest-test.launch
@@ -23,7 +23,9 @@
 <booleanAttribute key="org.eclipse.jdt.debug.ui.CONSIDER_INHERITED_MAIN" 
value="true"/>
 <booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" 
value="true"/>
 <booleanAttribute 
key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" 
value="org.eclipse.m2e.launchconfig.classpathProvider"/>
 <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" 
value="org.apache.juneau.microservice.RestMicroservice"/>
 <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" 
value="juneau-rest-test.cfg"/>
 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" 
value="juneau-rest-test"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" 
value="org.eclipse.m2e.launchconfig.sourcepathProvider"/>
 </launchConfiguration>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest/.classpath
----------------------------------------------------------------------
diff --git a/juneau-rest/.classpath b/juneau-rest/.classpath
index c467e23..0104f7f 100644
--- a/juneau-rest/.classpath
+++ b/juneau-rest/.classpath
@@ -14,9 +14,23 @@
  
***************************************************************************************************************************
 -->
 <classpath>
-       <classpathentry including="**/*.java" kind="src" 
output="target/test-classes" path="src/test/java"/>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
-       <classpathentry excluding="**/*.java" kind="src" 
path="src/main/resources"/>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry excluding="**" kind="src" output="target/classes" 
path="src/main/resources">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="var" 
path="M2_REPO/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar"/>
        <classpathentry kind="src" path="/juneau-core"/>
@@ -28,6 +42,15 @@
        <classpathentry kind="var" 
path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar"/>
        <classpathentry kind="var" 
path="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
        <classpathentry kind="output" path="target/classes"/>
 </classpath>

http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/4acfd9d3/juneau-rest/.project
----------------------------------------------------------------------
diff --git a/juneau-rest/.project b/juneau-rest/.project
index b6551cc..98f98ca 100644
--- a/juneau-rest/.project
+++ b/juneau-rest/.project
@@ -14,17 +14,25 @@
  
***************************************************************************************************************************
 -->
 <projectDescription>
-  <name>juneau-rest</name>
-  <comment>REST servlet API. NO_M2ECLIPSE_SUPPORT: Project files created with 
the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
-  <projects>
-    <project>juneau-core</project>
-  </projects>
-  <buildSpec>
-    <buildCommand>
-      <name>org.eclipse.jdt.core.javabuilder</name>
-    </buildCommand>
-  </buildSpec>
-  <natures>
-    <nature>org.eclipse.jdt.core.javanature</nature>
-  </natures>
-</projectDescription>
\ No newline at end of file
+       <name>juneau-rest</name>
+       <comment>REST servlet API. NO_M2ECLIPSE_SUPPORT: Project files created 
with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+       <projects>
+               <project>juneau-rest</project>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>

Reply via email to