Results 1 to 2 of 2
  1. #1
    Niket is offline Member
    Join Date
    Oct 2013
    Posts
    1
    Rep Power
    0

    Default String values in Maven

    I have just come across a string variable in my application code where the value is assigned as follows

    String YEAR="${year}";

    What does the value of the String variable here?

    Thanks

  2. #2
    gvs048 is offline Member
    Join Date
    Apr 2013
    Posts
    16
    Rep Power
    0

    Default Re: String values in Maven

    you have to specify <system.year>2001</system.year>, now you can use "${year}" any where, which refers 2001.

    Thanks.
    maven creates wonders

Similar Threads

  1. Replies: 1
    Last Post: 02-09-2013, 03:45 PM
  2. Replies: 0
    Last Post: 12-17-2012, 02:32 PM
  3. Finding Max and Min values from string args
    By Mortus in forum New To Java
    Replies: 4
    Last Post: 03-22-2012, 04:01 PM
  4. If Statements with string values.
    By crafty876 in forum New To Java
    Replies: 5
    Last Post: 02-10-2012, 02:31 AM
  5. Replies: 0
    Last Post: 04-20-2009, 07:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •