Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jpress
Commits
192b9d22
Commit
192b9d22
authored
3 years ago
by
yangfuhai
Browse files
Options
Download
Email Patches
Plain Diff
修复插件依赖外部 jar ,在某些情况下可能会导致无法被安装的问题
parent
a9483756
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jpress-addons/jpress-addon-helloworld/pom.xml
+29
-0
jpress-addons/jpress-addon-helloworld/pom.xml
jpress-addons/jpress-addon-message/pom.xml
+5
-2
jpress-addons/jpress-addon-message/pom.xml
with
34 additions
and
2 deletions
+34
-2
jpress-addons/jpress-addon-helloworld/pom.xml
+
29
-
0
View file @
192b9d22
...
...
@@ -13,15 +13,44 @@
<artifactId>
jpress-addon-helloworld
</artifactId>
<dependencies>
<dependency>
<groupId>
io.jpress
</groupId>
<artifactId>
jpress-core
</artifactId>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- 若没有依赖外部的jar,可以不用添加这个插件,相反,如果依赖了外部的jar,则必须添加 maven-assembly-plugin 插件-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>make-assembly</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>single</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <descriptorRefs>-->
<!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
<!-- </descriptorRefs>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
</plugins>
<resources>
<resource>
<directory>
src/main/resources
</directory>
...
...
This diff is collapsed.
Click to expand it.
jpress-addons/jpress-addon-message/pom.xml
+
5
-
2
View file @
192b9d22
...
...
@@ -13,16 +13,19 @@
<dependencies>
<dependency>
<groupId>
io.jpress
</groupId>
<artifactId>
jpress-core
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
io.jpress
</groupId>
<artifactId>
codegen
</artifactId>
<version>
4.0
</version>
<scope>
compile
</scope>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help