Hello Harald,
This is exactly what I have now.

Any other ideas?

Thanks
Matt

On Fri, Jul 29, 2011 at 12:44 PM, Harald Wellmann <[email protected]>wrote:

> Have you configured the maven-compiler-plugin to use 1.6? If not, the
> default is 1.4, and this is what gets picked up by m2eclipse when importing
> the Maven projects into your Eclipse workspace.
>
> Example:
>
>        <plugin>
>          <groupId>org.apache.maven.**plugins</groupId>
>          <artifactId>maven-compiler-**plugin</artifactId>
>          <version>2.3</version>
>          <configuration>
>            <source>1.6</source>
>            <target>1.6</target>
>          </configuration>
>        </plugin>
>
> HTH,
> Harald
>
>
> Am 29.07.2011 19:23, schrieb Matt Madhavan:
>
>  Hello,
>> We are using pax to generate project and bundles. By default the eclipse
>> project comes in as JDK 1.4. Even if we change it to JDK 1.6 and check
>> in into CVS (yes we still use CVS) and check the project out and do a
>> import maven projects the file *org.eclipse.jdt.core.prefs *file is
>> automatically updated to jdk 1.4 as below?
>>
>> org.eclipse.jdt.core.compiler.**problem.forbiddenReference=**warning
>> org.eclipse.jdt.core.compiler.**codegen.targetPlatform=1.4
>> eclipse.preferences.version=1
>> org.eclipse.jdt.core.compiler.**source=1.4
>> org.eclipse.jdt.core.compiler.**compliance=1.4
>>
>>
>> Not sure if its PAX issue or m2eclipse issue. Any ideas? Any help will
>> be appreciated. It has become a major irritant with my clients as
>> multiple team members are using it.
>>
>> Any help will be appreciated.
>>
>> Thanks
>> Matt
>>
>
> ______________________________**_________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/**mailman/listinfo/general<http://lists.ops4j.org/mailman/listinfo/general>
>
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to