Skip to content

Commit 27c5418

Browse files
committed
Polish IntelliJ IDEA plugin metadata
Closes gh-218
1 parent becd20b commit 27c5418

File tree

2 files changed

+22
-5
lines changed
  • spring-javaformat-intellij/spring-javaformat-intellij-plugin

2 files changed

+22
-5
lines changed

spring-javaformat-intellij/spring-javaformat-intellij-plugin/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@
122122
</dependency>
123123
</dependencies>
124124
<build>
125+
<resources>
126+
<resource>
127+
<directory>${basedir}/src/main/resources</directory>
128+
<filtering>true</filtering>
129+
<includes>
130+
<include>META-INF/plugin.xml</include>
131+
</includes>
132+
</resource>
133+
<resource>
134+
<directory>${basedir}/src/main/resources</directory>
135+
<excludes>
136+
<exclude>META-INF/plugin.xml</exclude>
137+
</excludes>
138+
</resource>
139+
</resources>
125140
<plugins>
126141
<plugin>
127142
<groupId>org.apache.maven.plugins</groupId>

spring-javaformat-intellij/spring-javaformat-intellij-plugin/src/main/resources/META-INF/plugin.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
<idea-plugin version="2">
1+
<idea-plugin url="https://github.com/spring-io/spring-javaformat">
22
<id>spring-javaformat</id>
3-
<name>spring-javaformat</name>
4-
<version>1.0</version>
5-
<vendor url="https://github.com/spring-io/spring-javaformat">Spring</vendor>
6-
<description><![CDATA[Code formatter for Spring.]]></description>
3+
<name>Spring Javaformat</name>
4+
<description>A source formatter that applies wrapping and whitespace conventions to
5+
provide a consistent “Spring” style.
6+
</description>
7+
<version>${project.version}</version>
8+
<vendor url="https://spring.io">Spring</vendor>
79
<idea-version since-build="162.0"/>
810
<depends>org.jetbrains.idea.maven</depends>
911
<depends>org.jetbrains.plugins.gradle</depends>

0 commit comments

Comments
 (0)