Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Djdk.xml.maxGeneralEntitySizeLimit=0
-Djdk.xml.totalEntitySizeLimit=0
13 changes: 6 additions & 7 deletions build-config/src/main/resources/build-config/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!-- Based on sun_checks.xml from the CheckStyle distribution -->

<module name="Checker">
<property name="cacheFile" value="${checkstyle.cache.file}"/>
<!--
If you set the basedir property below, then all reported file
names will be relative to the specified directory. See
Expand All @@ -29,6 +30,10 @@

<module name="FileLength"/>

<module name="LineLength">
<property name="max" value="120"/>
</module>

<!-- Following interprets the header file as regular expressions. -->
<!-- <module name="RegexpHeader"/> -->

Expand Down Expand Up @@ -60,11 +65,9 @@

<module name="TreeWalker">

<property name="cacheFile" value="${checkstyle.cache.file}"/>

<!-- Required for SuppressionCommentFilter -->
<module name="FileContentsHolder"/>
<module name="SuppressWarningsHolder"/>
<module name="SuppressionCommentFilter"/>

<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
Expand Down Expand Up @@ -114,9 +117,6 @@

<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="LineLength">
<property name="max" value="120"/>
</module>
<module name="MethodLength"/>
<module name="ParameterNumber">
<property name="max" value="10"/>
Expand Down Expand Up @@ -196,7 +196,6 @@

</module>

<module name="SuppressionCommentFilter"/>
<module name="SuppressWarningsFilter"/>

</module>
14 changes: 14 additions & 0 deletions org.mapstruct.eclipse.feature/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,18 @@
# limitations under the License.
#

#
# //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
# //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#

bin.includes = feature.xml
6 changes: 3 additions & 3 deletions org.mapstruct.eclipse.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ See the License for the specific language governing permissions and
limitations under the License.
</copyright>

<license url="http://www.apache.org/licenses/LICENSE-2.0">
<license url="https://www.apache.org/licenses/LICENSE-2.0">
Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
Expand All @@ -70,8 +70,8 @@ limitations under the License.
</license>

<url>
<update label="MapStruct Eclipse Plugin Update Site" url="https://dl.bintray.com/mapstruct/mapstruct-eclipse-site/"/>
<discovery label="MapStruct" url="http://www.mapstruct.org"/>
<update label="MapStruct Eclipse Plugin Project" url="https://github.com/mapstruct/mapstruct-eclipse"/>
<discovery label="MapStruct" url="https://mapstruct.org"/>
</url>

<requires>
Expand Down
12 changes: 12 additions & 0 deletions org.mapstruct.eclipse.target/mapstruct-eclipse.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.8"?>
<target name="MapStruct Eclipse Target Platform" sequenceNumber="1">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/releases/2026-06"/>
<unit id="org.eclipse.platform.ide" version="0.0.0"/>
<unit id="org.eclipse.jdt.feature.group" version="0.0.0"/>
<unit id="org.eclipse.pde.feature.group" version="0.0.0"/>
</location>
</locations>
</target>
39 changes: 39 additions & 0 deletions org.mapstruct.eclipse.target/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-eclipse-parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

<artifactId>org.mapstruct.eclipse.target</artifactId>
<packaging>eclipse-target-definition</packaging>

<name>MapStruct Eclipse target platform</name>

</project>
8 changes: 4 additions & 4 deletions org.mapstruct.eclipse/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.jdt.core,
org.eclipse.jdt.ui,
org.eclipse.jface.text,
org.eclipse.ui.ide;bundle-version="3.10.0",
org.eclipse.core.resources;bundle-version="3.9.0",
org.eclipse.ui.editors;bundle-version="3.8.200"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
org.eclipse.ui.ide,
org.eclipse.core.resources,
org.eclipse.ui.editors
Bundle-RequiredExecutionEnvironment: JavaSE-21
Bundle-ActivationPolicy: lazy
Bundle-Vendor: MapStruct.org
14 changes: 14 additions & 0 deletions org.mapstruct.eclipse/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@
# limitations under the License.
#

#
# //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
# //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#

source.. = src/
bin.includes = .,\
META-INF/,\
Expand Down
4 changes: 3 additions & 1 deletion org.mapstruct.eclipse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<sourceDirectory>src</sourceDirectory>
<sourceDirectories>
<sourceDirectory>src</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal;

import org.eclipse.ui.plugin.AbstractUIPlugin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal.proposal;

import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal.proposal;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal.proposal;

import static org.mapstruct.eclipse.internal.MapStructAPIConstants.MAPPINGS_FQ_NAME;
Expand Down Expand Up @@ -65,7 +78,7 @@ protected List<ICompletionProposal> getProposals(final ICompilationUnit compilat

List<ICompletionProposal> returnValue = new ArrayList<ICompletionProposal>();

ASTParser parser = ASTParser.newParser( AST.JLS8 );
ASTParser parser = ASTParser.newParser( AST.getJLSLatest() );
parser.setKind( ASTParser.K_COMPILATION_UNIT );
parser.setSource( compilationUnit );
parser.setResolveBindings( true );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal.proposal.visitors;

import static org.mapstruct.eclipse.internal.MapStructAPIConstants.CONTEXT_FQ_NAME;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2012-2017 Gunnar Morling (http://www.gunnarmorling.de/)
* and/or other contributors as indicated by the @authors tag. See the
* copyright.txt file in the distribution for a full listing of all
Expand All @@ -16,6 +16,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* //www.gunnarmorling.de/)
and/or other contributors as indicated by the @authors tag. See the
copyright.txt file in the distribution for a full listing of all
contributors.
* //www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.mapstruct.eclipse.internal.quickfix;

import java.util.ArrayList;
Expand Down
Loading