networknt / light-bot

A microservice based DevOps agent that handles multiple repositories and dependencies
Apache License 2.0
7 stars 3 forks source link

need to find a why to make develop-build take -Prelease profile #95

Closed stevehu closed 5 years ago

stevehu commented 5 years ago

for the light-example-4j build as they are all applications.

ddobrin commented 5 years ago

I think that has already been addressed (unless I am misunderstanding the issue) DevelopBuildTask.java:

...
                if(buildFatJar)
                    mavenCmd += " -Prelease";
...
stevehu commented 5 years ago

The problem is that the build config I have contains both light-4j frameworks and light-example-4j together. If I use buildFatJar flag, the light-4j will be build with -Prelease and a warning message is displayed. I guess it is OK anyway. Let me try it out and see if the test cases can be executed successfully. Thanks.

The requested profile "release" could not be activated because it does not exist.
stevehu commented 5 years ago

@ddobrin I had an issue in my config file previously. After fixing the issue, the buildFatJar working. Thanks.