title: NetBeans on Ubuntu: Project's pom.xml file contains invalid xml content. Please fix the file before proceeding
body: <p>My name is Angela and I'm developing a Cytoscape app.</p>
  
  <p>I'm trying to access my maven project properties, but it returns me this error: "Project's pom.xml file contains invalid xml content. Please fix the file before proceeding."
  When I build the jar file and execute it on Cytoscape I do not have any problem. </p>
  
  <p>Can you help me to understand what is the error, please?</p>
  
  <p>This is my pom.xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;artifactId&gt;VF3Plugin&lt;/artifactId&gt;
          &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
      &lt;artifactId&gt;VF3&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;bundle&lt;/packaging&gt;
  
      &lt;name&gt;VF3 OSGi Bundle&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;bundle.symbolicName&gt;org.cytoscape.vf3-bundle&lt;/bundle.symbolicName&gt;
          &lt;bundle.namespace&gt;org.cytoscape.vf3&lt;/bundle.namespace&gt;
          &lt;cytoscape.api.version&gt;3.7.2&lt;/cytoscape.api.version&gt;
  
          &lt;maven-bundle-plugin.version&gt;2.5.3&lt;/maven-bundle-plugin.version&gt;
          &lt;osgi.api.version&gt;4.2.0&lt;/osgi.api.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;/properties&gt;
  
      &lt;!-- Links to the Cytoscape Maven repositories. --&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;cytoscape_snapshots&lt;/id&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;name&gt;Cytoscape Snapshots&lt;/name&gt;
              &lt;url&gt;http://nrnb-nexus.ucsd.edu/repository/cytoscape_snapshots/&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;cytoscape_releases&lt;/id&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/snapshots&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;name&gt;Cytoscape Releases&lt;/name&gt;
              &lt;url&gt;http://nrnb-nexus.ucsd.edu/repository/cytoscape_releases/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.3&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;instructions&gt;
                          &lt;Bundle-Activator&gt;org.cytoscape.vf3menu.CyActivator&lt;/Bundle-Activator&gt;
                          &lt;Export-Package/&gt;
                          &lt;Embed-Dependency&gt;*;scope=!provided|test;groupId=!org.cytoscape&lt;/Embed-Dependency&gt;
                          &lt;Embed-Transitive&gt;true&lt;/Embed-Transitive&gt;
                      &lt;/instructions&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
              &lt;artifactId&gt;swing-application-api&lt;/artifactId&gt;
              &lt;version&gt;${cytoscape.api.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
              &lt;artifactId&gt;work-api&lt;/artifactId&gt;
              &lt;version&gt;${cytoscape.api.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
              &lt;artifactId&gt;service-api&lt;/artifactId&gt;
              &lt;version&gt;${cytoscape.api.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.osgi&lt;/groupId&gt;
              &lt;artifactId&gt;org.osgi.core&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.8.2&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
              &lt;version&gt;1.8.5&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.ops4j.pax.logging&lt;/groupId&gt;
              &lt;artifactId&gt;pax-logging-api&lt;/artifactId&gt;
              &lt;version&gt;1.5.2&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
              &lt;artifactId&gt;service-api&lt;/artifactId&gt;
              &lt;version&gt;${cytoscape.api.version}&lt;/version&gt;
              &lt;type&gt;test-jar&lt;/type&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.cytoscape&lt;/groupId&gt;
              &lt;artifactId&gt;io-api&lt;/artifactId&gt;
              &lt;version&gt;3.7.1&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;vf3jni&lt;/groupId&gt;
              &lt;artifactId&gt;vf3jni.vf3jni&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
              &lt;artifactId&gt;commons-collections4&lt;/artifactId&gt;
              &lt;version&gt;4.4&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  &lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;build-for-felix&lt;/id&gt;
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;org.apache.felix.main&lt;/artifactId&gt;
                  &lt;version&gt;4.0.3&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;!-- To include a shell:
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;org.apache.felix.gogo.shell&lt;/artifactId&gt;
                  &lt;version&gt;0.10.0&lt;/version&gt;
              &lt;/dependency&gt;
              --&gt;
          &lt;/dependencies&gt;
          &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.7&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;compile&lt;/id&gt;
                              &lt;phase&gt;package&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;run&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;target&gt;
                                      &lt;pathconvert property="plugins.jars" pathsep="${path.separator}"&gt;
                                          &lt;path refid="maven.runtime.classpath" /&gt;
                                          &lt;map from="${project.build.directory}${file.separator}classes" to="" /&gt;
                                      &lt;/pathconvert&gt;
                                      &lt;pathconvert pathsep=" " property="bundles"&gt;
                                          &lt;path path="${plugins.jars}" /&gt;
                                          &lt;mapper&gt;
                                              &lt;chainedmapper&gt;
                                                  &lt;flattenmapper /&gt;
                                                  &lt;globmapper from="*" to="file:modules/*" casesensitive="no" /&gt;
                                              &lt;/chainedmapper&gt;
                                          &lt;/mapper&gt;
                                      &lt;/pathconvert&gt;
                                      &lt;propertyfile file="${project.build.directory}/config.properties"&gt;
                                          &lt;entry key="felix.auto.start" value="${bundles} file:modules/${project.build.finalName}.jar" /&gt;
                                          &lt;entry key="org.osgi.framework.bootdelegation" value="*" /&gt;
                                      &lt;/propertyfile&gt;
                                      &lt;copy file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}" tofile="${project.build.directory}/felix.jar" /&gt;
                                  &lt;/target&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.3&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;create-executable-jar&lt;/id&gt;
                              &lt;phase&gt;package&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;single&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;descriptors&gt;
                                      &lt;descriptor&gt;${basedir}/src/main/assembly/felix.xml&lt;/descriptor&gt;
                                  &lt;/descriptors&gt;
                                  &lt;finalName&gt;${project.build.finalName}&lt;/finalName&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/profile&gt;
      &lt;profile&gt;
          &lt;id&gt;run-on-felix&lt;/id&gt;
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;org.apache.felix.main&lt;/artifactId&gt;
                  &lt;version&gt;4.0.3&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;
              &lt;!-- org.apache.felix:org.apache.felix.gogo.shell:0.6.1 useless from Maven since stdin is swallowed --&gt;
          &lt;/dependencies&gt;
          &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.7&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;target&gt;
                              &lt;property name="vm.args" value="" /&gt;
                              &lt;pathconvert property="plugins.jars" pathsep="${path.separator}"&gt;
                                  &lt;path refid="maven.runtime.classpath" /&gt;
                                  &lt;map from="${project.build.directory}${file.separator}classes" to="" /&gt;
                              &lt;/pathconvert&gt;
                              &lt;makeurl property="urls" separator=" "&gt;
                                  &lt;path path="${plugins.jars}" /&gt;
                                  &lt;path location="${project.build.directory}/${project.build.finalName}.jar" /&gt;
                              &lt;/makeurl&gt;
                              &lt;propertyfile file="${project.build.directory}/run.properties"&gt;
                                  &lt;entry key="felix.auto.start" value="${urls}" /&gt;
                                  &lt;entry key="felix.auto.deploy.action" value="uninstall,install,update,start" /&gt;
                                  &lt;entry key="org.osgi.framework.storage" value="${project.build.directory}${file.separator}felix-cache" /&gt;
                                  &lt;entry key="org.osgi.framework.bootdelegation" value="*" /&gt;
                              &lt;/propertyfile&gt;
                              &lt;makeurl property="run.properties.url" file="${project.build.directory}/run.properties" /&gt;
                              &lt;java fork="true" jar="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}"&gt;
                                  &lt;sysproperty key="felix.config.properties" value="${run.properties.url}" /&gt;
                                  &lt;jvmarg line="${vm.args}" /&gt;
                              &lt;/java&gt;
                          &lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>thank you!</p>