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)

Reply via email to