LWJGL / lwjgl3-wiki

The LWJGL 3 Wiki
415 stars 35 forks source link

Generated pom.xml is not complete #7

Closed wimdeblauwe closed 2 years ago

wimdeblauwe commented 4 years ago

When using https://www.lwjgl.org/customize to create a pom.xml, the pom.xml is not valid. It needs at least a <project/> tag around the content that is currently generated. Maybe also add some other defaults like this:


<?xml version="1.0" encoding="UTF-8"?>
<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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.example</groupId>
    <artifactId>my-lwjgl-app</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name>My LWJGL Application</name>

.... current generated XML....
</project>

That way, users can directly run `mvn install`
httpdigest commented 2 years ago

Thanks for bringing up this issue. We'll track this (including the Gradle script) with: https://github.com/LWJGL/lwjgl3-www/issues/115