Giter VIP home page Giter VIP logo

Comments (1)

dongchenxu avatar dongchenxu commented on August 14, 2024
  • jvm-sandbox对module是有完善的类隔离策略的,所以你不用担心自研的module所引入的第三方jar依赖会污染了目标应用程序和JVM-SANDBOX本身。第三方的JAR依赖你正常引用就好了,和普通的工程一样。

  • 目前我对module的实现比较偷懒,希望大家把module以及module所依赖的所有jar都打到一个jar文件中去,需要在pom.xml中增加maven-assembly-plugin的配置。

    以sandbox自带的debug-module工程为例:

    <build>
          <finalName>sandbox-debug-module-${project.version}</finalName>
          <plugins>
              <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-assembly-plugin</artifactId>
                  <executions>
                      <execution>
                          <goals>
                              <goal>attached</goal>
                          </goals>
                          <phase>package</phase>
                          <configuration>
                              <descriptorRefs>
                                  <descriptorRef>jar-with-dependencies</descriptorRef>
                              </descriptorRefs>
                          </configuration>
                      </execution>
                  </executions>
              </plugin>
          </plugins>
      </build>

from jvm-sandbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.