You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jean-François El Fouly (JIRA)" <ji...@apache.org> on 2017/07/14 17:00:03 UTC
[jira] [Created] (NETBEANS-37) NPE while pasting an XML stanza in
pom.xml
Jean-François El Fouly created NETBEANS-37:
----------------------------------------------
Summary: 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: apisupport - 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)