You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Eramo <ma...@trustvesta.com> on 2007/09/05 19:49:49 UTC
Setting the Timezone correctly
Hello,
I am currently using Maven 2 and today I noticed that all the jars are
built 1 hour earlier then the current time.I see that in the Maven
documentation that there is a <timezone> tag that you can use to set
your timezone. I want to set this in my settings.xml so that when we
switch to DST, I can change it. Well, I added the tag and Maven
complains that it is an unrecognized tag.
Any ideas on why this happens? Does Maven 2 not support this?
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Setting the Timezone correctly
Posted by Roland Asmann <Ro...@cfc.at>.
I presume these times are UTC... This would be the most logical explanation,
since maven will often compare the build date and times to make sure you have
the latest version...
When it has your local time, this could mean that maven would detect a
difference in the times and download the plugins again and overwrite your
(manually build) dependencies...
On Thursday 06 September 2007 15:46, Mark Eramo wrote:
> Hi Tim,
> Thanks for the information. It must be something else then that is
> setting the time in Maven.
> The build completed time shows the build finishes 1 hour earlier then
> the actual system time.
>
> Regards,
> Mark
>
> Tim Kettler wrote:
> > Hi,
> >
> > see [1], [2] for references of the valid tags in 'pom.xml' and
> > 'settings.xml'. As you see <timezone/> is only used in the
> > <developers/> and <contributors/> sections of the 'pom.xml' to denote
> > the timzone a project team member is located. This has nothing to do
> > with when your project is built or what creation time the jars have.
> >
> > -Tim
> >
> > [1] http://maven.apache.org/ref/current/maven-model/maven.html
> > [2] http://maven.apache.org/ref/current/maven-settings/settings.html
> >
> > Mark Eramo schrieb:
> >> Hello,
> >> I am currently using Maven 2 and today I noticed that all the jars
> >> are built 1 hour earlier then the current time.I see that in the
> >> Maven documentation that there is a <timezone> tag that you can use
> >> to set your timezone. I want to set this in my settings.xml so that
> >> when we switch to DST, I can change it. Well, I added the tag and
> >> Maven complains that it is an unrecognized tag.
> >>
> >> Any ideas on why this happens? Does Maven 2 not support this?
> >>
> >> Thanks,
> >> Mark
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
Roland Asmann
CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien
Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Setting the Timezone correctly
Posted by Mark Eramo <ma...@trustvesta.com>.
Hi Tim,
Thanks for the information. It must be something else then that is
setting the time in Maven.
The build completed time shows the build finishes 1 hour earlier then
the actual system time.
Regards,
Mark
Tim Kettler wrote:
> Hi,
>
> see [1], [2] for references of the valid tags in 'pom.xml' and
> 'settings.xml'. As you see <timezone/> is only used in the
> <developers/> and <contributors/> sections of the 'pom.xml' to denote
> the timzone a project team member is located. This has nothing to do
> with when your project is built or what creation time the jars have.
>
> -Tim
>
> [1] http://maven.apache.org/ref/current/maven-model/maven.html
> [2] http://maven.apache.org/ref/current/maven-settings/settings.html
>
> Mark Eramo schrieb:
>> Hello,
>> I am currently using Maven 2 and today I noticed that all the jars
>> are built 1 hour earlier then the current time.I see that in the
>> Maven documentation that there is a <timezone> tag that you can use
>> to set your timezone. I want to set this in my settings.xml so that
>> when we switch to DST, I can change it. Well, I added the tag and
>> Maven complains that it is an unrecognized tag.
>>
>> Any ideas on why this happens? Does Maven 2 not support this?
>>
>> Thanks,
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Setting the Timezone correctly
Posted by Tim Kettler <ti...@udo.edu>.
Hi,
see [1], [2] for references of the valid tags in 'pom.xml' and
'settings.xml'. As you see <timezone/> is only used in the <developers/>
and <contributors/> sections of the 'pom.xml' to denote the timzone a
project team member is located. This has nothing to do with when your
project is built or what creation time the jars have.
-Tim
[1] http://maven.apache.org/ref/current/maven-model/maven.html
[2] http://maven.apache.org/ref/current/maven-settings/settings.html
Mark Eramo schrieb:
> Hello,
> I am currently using Maven 2 and today I noticed that all the jars are
> built 1 hour earlier then the current time.I see that in the Maven
> documentation that there is a <timezone> tag that you can use to set
> your timezone. I want to set this in my settings.xml so that when we
> switch to DST, I can change it. Well, I added the tag and Maven
> complains that it is an unrecognized tag.
>
> Any ideas on why this happens? Does Maven 2 not support this?
>
> Thanks,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org