Skip to content

Commit

Permalink
[dsl] Add Eclipse-CS plugin into the DSL product.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Feb 10, 2020
1 parent 6145c10 commit d00f8ba
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 2 deletions.
Expand Up @@ -109,7 +109,6 @@
<module name="JavadocMethod">
<property name="scope" value="package" />
<property name="validateThrows" value="true" />
<property name="allowUndeclaredRTE" value="true" />
</module>

<!-- Every public/protected/package fields must have a documentation. -->
Expand Down
4 changes: 4 additions & 0 deletions main/features/io.sarl.baseplatform.dsl/feature.xml
Expand Up @@ -289,6 +289,10 @@ for the SARL DSL Environment
id="org.jboss.tools.maven.apt.feature"
version="0.0.0"/>

<includes
id="net.sf.eclipsecs"
version="0.0.0"/>

<requires>
<import plugin="org.eclipse.swt" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
Expand Down
4 changes: 4 additions & 0 deletions main/targetplatform/io.sarl.lang.targetplatform.target
Expand Up @@ -79,6 +79,10 @@
<repository location="https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.8.1/N/LATEST"/>
<unit id="org.sonatype.tycho.m2e.feature.feature.group" version="0.8.1.201704211436"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://checkstyle.org/eclipse-cs/update"/>
<unit id="net.sf.eclipsecs.feature.group" version="8.29.0.202001290016"/>
</location>
</locations>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
</target>
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -844,7 +844,7 @@
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<!-- Same version as inside Eclipse IDE -->
<version>8.27</version>
<version>8.29</version>
</dependency>
</dependencies>
</plugin>
Expand Down
1 change: 1 addition & 0 deletions products/sarl-dsl/io.sarl.lang.sarl-dsl.product
Expand Up @@ -148,6 +148,7 @@
<feature id="org.eclipse.ecf.core.feature.source" installMode="root"/>
<feature id="org.eclipse.emf.mapping.ui.source" installMode="root"/>
<feature id="org.eclipse.emf.ecore.edit.source" installMode="root"/>
<feature id="net.sf.eclipsecs" installMode="root"/>
<feature id="org.eclipse.equinox.p2.extras.feature" installMode="root"/>
<feature id="org.eclipse.equinox.p2.extras.feature.source" installMode="root"/>
<feature id="org.eclipse.ecf.core.feature" installMode="root"/>
Expand Down
6 changes: 6 additions & 0 deletions tycho-parent/pom.xml
Expand Up @@ -333,6 +333,12 @@
<layout>p2</layout>
<url>http://dependencies.sarl.io</url>
</repository>
<!-- For Checkstyle in Eclipse -->
<repository>
<id>org.checkstyle.eclipse-cs.update</id>
<layout>p2</layout>
<url>https://checkstyle.org/eclipse-cs/update/</url>
</repository>
<!-- For pre-installing the m2e connectors -->
<repository>
<id>org.jboss.m2e-jdt-compiler.update.lastest</id>
Expand Down

0 comments on commit d00f8ba

Please sign in to comment.