Changing the project information

Before we venture into further details of the code, let's customize the project information. Let's add information about the organization, license, and developers associated with it. To do this, let's open the pom file and add the following code:

<project >
…....
  <!-- Organization information -->
    <organization> 
      <name>Packt Publishing</name>
      <url>www.packtpub.com</url>
    </organization> 
  <!-- License information  -->
  <licenses>
    <license>
       <name>Apache 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>manual</distribution>
        <comments>A Friendly license</comments>
    </license>
  </licenses>
  <!-- Developers Information -->
  <developers>
    <developer>
      <id>foo</id>
        <name>Foo foo</name>
        <email>[email protected]</email>
        <url>http://www.foofoo.net</url>
        <organization>Packt</organization>
        <organizationUrl>http://packtpub.com</organizationUrl>
            <roles>
              <role>developer</role>
            </roles>
            <timezone>-8</timezone>
    </developer>
  </developers>
.......
</project>

Note

For detailed information on the Maven model, visit http://maven.apache.org/ref/3.2.1/maven-model/maven.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.150.231