Modify your project POM to look something like this:

<project ...>
            The following configuration parameters are allowed:

              sourceDir (optional)
                Directory of the source tree where generated code is written to.

              className (optional)
                Name of the generated Java class.

              properties (mandatory)
                A set of key/value pairs which will be attribute/value pairs
                in the generated class.
              Add arbitrary key/value pairs here to access them from your
              source code...
      <name>QXS Plugin Repository</name>

Change the configuration according to your needs. Next, generate the ProjectInfo class:

mvn generate-sources

Note that there is usually no need for calling the generate-sources target explicitly. Check out your new ProjectInfo class. It should look like this:

package com.example;

import java.util.Date;

public final class ProjectInfo
  public static final Date compiled = new Date(1282066069704L);
  public static final String title = "Example Project Name";
  public static final String version = "1.0";
  public static final String foo = "bar";