You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "John McDonnell (JIRA)" <ji...@apache.org> on 2017/11/16 23:37:00 UTC
[jira] [Updated] (NETBEANS-37) NPE while pasting an XML stanza in
pom.xml
[ https://issues.apache.org/jira/browse/NETBEANS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John McDonnell updated NETBEANS-37:
-----------------------------------
Component/s: (was: apisupport - Maven)
projects - Maven
> NPE while pasting an XML stanza in pom.xml
> ------------------------------------------
>
> Key: NETBEANS-37
> URL: https://issues.apache.org/jira/browse/NETBEANS-37
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 9.0
> Environment: Windows 7
> Reporter: Jean-François El Fouly
>
> I was editing the POM of a simple project, generated online by Spring Boot, with only web, tomcat and thymeleaf features.
> Since I plan to add some AWS features, I tried to copy this stanza (from cloud.spring.io) at the end of the <dependencies> section. BTW, this stanza is syntactically correct from the XML point of view but incorrect for Maven since it lacks version information.
> <dependency>
> <groupId>org.springframework.cloud</groupId>
> <artifactId>spring-cloud-aws-context</artifactId>
> <version>{spring-cloud-version}</version>
> </dependency>
> This immediately caused an exception, and made the "Report problem" appear.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)