[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387238#comment-17387238
 ] 

Panimozhi Jothi commented on OPENMEETINGS-2641:
-----------------------------------------------

[~solomax] printing the mvn console logs.

 

Maven Logs:

-------------

[INFO] --- frontend-maven-plugin:1.11.0:npm (main) @ openmeetings-web ---
[INFO] Running 'npm run build' in 
D:\TempWkps\qcom\openmeetings-web\src\main\front\main
[INFO] 
[INFO] > [email protected] build D:\TempWkps\qcom\openmeetings-web\src\main\front\main
[INFO] > npm run build-dev && npm run build-prod
[INFO] 
[INFO] 
[INFO] > [email protected] build-dev 
D:\TempWkps\qcom\openmeetings-web\src\main\front\main
[INFO] > browserify src/index.js --transform-key=staging -o 
*{color:#de350b}${outDir}${npm_package_name}.js{color}*
[INFO] 
[INFO] 
[INFO] > [email protected] build-prod 
D:\TempWkps\qcom\openmeetings-web\src\main\front\main
[INFO] > browserify src/index.js --transform-key=production -p tinyify -o 
${outDir}${npm_package_name}.min.js
[INFO]

 

 

Pom Env Variables is set:

<environmentVariables><environmentVariables> 
<outDir>${project.build.directory}/generated-sources/js/org/apache/openmeetings/web/common/</outDir>
 </environmentVariables>

> Node environment value is not injected to NPM builds
> ----------------------------------------------------
>
>                 Key: OPENMEETINGS-2641
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2641
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: Builds, UI
>    Affects Versions: 6.1.0
>         Environment: Windows, maven-jetty-plugin, Java 14
>            Reporter: Panimozhi Jothi
>            Assignee: Maxim Solodovnik
>            Priority: Blocker
>              Labels: build, development, js, npm, outdir
>         Attachments: js_gen_err.png, js_gen_err_mvn.png, mvn_config.png
>
>
> When I run the application using maven-jetty plugin, the npm compilations are 
> NOT placing the generated JS under the target directory. The nodeenv 
> environment value is not getting injected.
> Happens for both DEVELOPMENT and DEPLOYMENT maven builds.
> I believe the GIT source code should be running fine, am I missing something 
> here.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to