[jira] [Updated] (NETBEANS-2976) EE Deployment module not working with git-commit-id-plugin and finalName
[ https://issues.apache.org/jira/browse/NETBEANS-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John updated NETBEANS-2976: --- Affects Version/s: 12.1 16 17 19 > EE Deployment module not working with git-commit-id-plugin and finalName > > > Key: NETBEANS-2976 > URL: https://issues.apache.org/jira/browse/NETBEANS-2976 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1, 12.1, 16, 17, 19 > Environment: Ubuntu Linux 19.04, Netbeans 11.1, Oracle JDK 1.8.0_201 >Reporter: John >Priority: Minor > > I have nested maven projects that uses plugin > `pl.project13.maven:git-commit-id-plugin` in the parent pom, and a child > project overriding it's artifact name in it's pom. When the `finalName` > setting in the child project contains properties created by the plugin, the > NB deployment module can't find the packaged ear for test deployment. > > Here is the parent pom.xml: > > {code:java} > > pl.project13.maven > git-commit-id-plugin > 2.2.6 > > > get-the-git-infos > >revision > > initialize > > > validate-the-git-infos > >validateRevision > > package > > > > ${project.basedir}/.git > git > MMdd'T'HHmm > false > false > false > false > true > true > false > false false > true > true > > ^git.commit.id.abbrev$ > ^git.commit.time$ > ^git.build.version$ > ^git.branch$ > > > {code} > > > Here is the child pom.xml: > > {code:java} > > > ${project.artifactId}${project.version}${git.branch}${git.commit.time}${git.commit.id.abbrev} > {code} > > {{And IDE.log:}} > {code:java} > INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment] > org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No > archive for deployment > at > org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:675) > [catch] at > org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221) > at > org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185) > at > org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67) > at > org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64) > at > org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:186) > at > org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:140) > at > org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213) > at > org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128){code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2976) EE Deployment module not working with git-commit-id-plugin and finalName
[ https://issues.apache.org/jira/browse/NETBEANS-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17730994#comment-17730994 ] John commented on NETBEANS-2976: Still an issue with Netbeans 18. > EE Deployment module not working with git-commit-id-plugin and finalName > > > Key: NETBEANS-2976 > URL: https://issues.apache.org/jira/browse/NETBEANS-2976 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.1 > Environment: Ubuntu Linux 19.04, Netbeans 11.1, Oracle JDK 1.8.0_201 >Reporter: John >Priority: Minor > > I have nested maven projects that uses plugin > `pl.project13.maven:git-commit-id-plugin` in the parent pom, and a child > project overriding it's artifact name in it's pom. When the `finalName` > setting in the child project contains properties created by the plugin, the > NB deployment module can't find the packaged ear for test deployment. > > Here is the parent pom.xml: > > {code:java} > > pl.project13.maven > git-commit-id-plugin > 2.2.6 > > > get-the-git-infos > >revision > > initialize > > > validate-the-git-infos > >validateRevision > > package > > > > ${project.basedir}/.git > git > MMdd'T'HHmm > false > false > false > false > true > true > false > false false > true > true > > ^git.commit.id.abbrev$ > ^git.commit.time$ > ^git.build.version$ > ^git.branch$ > > > {code} > > > Here is the child pom.xml: > > {code:java} > > > ${project.artifactId}${project.version}${git.branch}${git.commit.time}${git.commit.id.abbrev} > {code} > > {{And IDE.log:}} > {code:java} > INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment] > org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No > archive for deployment > at > org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:675) > [catch] at > org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221) > at > org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185) > at > org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67) > at > org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64) > at > org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:186) > at > org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:140) > at > org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213) > at > org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128){code} > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists