You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by angrezy1 <an...@gmail.com> on 2010/02/18 16:25:26 UTC

lastupdate is not showing in maven-metadata.xml

Hi all,
This is my first email sending to nabble ivy user group.
I have an issue with an artifact's maven-metadata.xml is not showing up.
Here is the environment i am working on:
Apache Archiva , Ivy, ant.

Problem: When I am Deploying artifact via the Web UI Form, I am able to see
all the attributes in maven-metadata.xml.
<metadata>
<groupId>twitter-evt</groupId>
<artifactId>authentication</artifactId>
<versioning>
<latest>1.1</latest>
<release>1.1</release>
<versions>
<version>LATEST</version>
<version>1.0</version>
<version>1.1</version>
</versions>
<lastUpdated>20090729142510</lastUpdated>
</versioning>
</metadata>

But when i deploy the artifact through ivy by command prompt (ant
publish-latest -Dversion=1.0.3), artifact is updating fine with latest
changes but artifact's maven-metadata.xml is missing <lastupdated> attribute
with latest time stamp.

<metadata>
<groupId>twitter-evt</groupId>
<artifactId>twitter_account_management</artifactId>
<versioning>
<latest>1.1.1</latest>
<release>1.1.1</release>
<versions>
<version>LATEST</version>
<version>1.0</version>
<version>1.0.1</version>
<version>1.0.2</version>
<version>1.0.3</version>
<version>1.0.4</version>
<version>1.0.5</version>
<version>1.1</version>
<version>1.1.1</version>
</versions>
</versioning>
</metadata>

Here is my ant publish-latest target:
<target name="publish_latest" depends="_loadantcontrib,dist" >
	<ivy:settings file="${ivy.settings.dir}/ivysettings.xml" />
	<ivy:resolve file="${ant.dir}/ivy.xml" transitive="false" />
	<ivy:findrevision organisation="${ivy.organisation}" module="${ivy.module}"
revision="latest.integration"/>
	<echo message="looking in:
${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/"
/>
	<ivy:publish resolver="ibiblio"
artifactspattern="${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/[artifact].[ext]"
pubrevision="${version}" overwrite="true" update="true"/>
</target>

Please help me on this issue, I struck at this point in process of getting
the latest artifact.

-- 
View this message in context: http://old.nabble.com/lastupdate-is-not-showing-in-maven-metadata.xml-tp27637832p27637832.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: lastupdate is not showing in maven-metadata.xml

Posted by Maarten Coene <ma...@yahoo.com>.
As far as I know Ivy doesn't generate/update maven-metadata.xml files...
Or maybe I didn't understood your question?

regards,
Maarten




----- Original Message ----
From: angrezy1 <an...@gmail.com>
To: ivy-user@ant.apache.org
Sent: Fri, February 19, 2010 4:08:56 PM
Subject: Re: lastupdate is not showing in maven-metadata.xml


seems every one is busy, none responded :-((

angrezy1 wrote:
> 
> Hi all,
> This is my first email sending to nabble ivy user group.
> I have an issue with an artifact's maven-metadata.xml is not showing up.
> Here is the environment i am working on:
> Apache Archiva , Ivy, ant.
> 
> Problem: When I am Deploying artifact via the Web UI Form, I am able to
> see all the attributes in maven-metadata.xml.
> <metadata>
> <groupId>twitter-evt</groupId>
> <artifactId>authentication</artifactId>
> <versioning>
> <latest>1.1</latest>
> <release>1.1</release>
> <versions>
> <version>LATEST</version>
> <version>1.0</version>
> <version>1.1</version>
> </versions>
> <lastUpdated>20090729142510</lastUpdated>
> </versioning>
> </metadata>
> 
> But when i deploy the artifact through ivy by command prompt (ant
> publish-latest -Dversion=1.0.3), artifact is updating fine with latest
> changes but artifact's maven-metadata.xml is missing <lastupdated>
> attribute with latest time stamp.
> 
> <metadata>
> <groupId>twitter-evt</groupId>
> <artifactId>twitter_account_management</artifactId>
> <versioning>
> <latest>1.1.1</latest>
> <release>1.1.1</release>
> <versions>
> <version>LATEST</version>
> <version>1.0</version>
> <version>1.0.1</version>
> <version>1.0.2</version>
> <version>1.0.3</version>
> <version>1.0.4</version>
> <version>1.0.5</version>
> <version>1.1</version>
> <version>1.1.1</version>
> </versions>
> </versioning>
> </metadata>
> 
> Here is my ant publish-latest target:
> <target name="publish_latest" depends="_loadantcontrib,dist" >
>     <ivy:settings file="${ivy.settings.dir}/ivysettings.xml" />
>     <ivy:resolve file="${ant.dir}/ivy.xml" transitive="false" />
>     <ivy:findrevision organisation="${ivy.organisation}"
> module="${ivy.module}" revision="latest.integration"/>
>     <echo message="looking in:
> ${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/"
> />
>     <ivy:publish resolver="ibiblio"
> artifactspattern="${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/[artifact].[ext]"
> pubrevision="${version}" overwrite="true" update="true"/>
> </target>
> 
> Please help me on this issue, I struck at this point in process of getting
> the latest artifact.
> 
> 

-- 
View this message in context: http://old.nabble.com/lastupdate-is-not-showing-in-maven-metadata.xml-tp27637832p27653175.html
Sent from the ivy-user mailing list archive at Nabble.com.


      

Re: lastupdate is not showing in maven-metadata.xml

Posted by angrezy1 <an...@gmail.com>.
seems every one is busy, none responded :-((

angrezy1 wrote:
> 
> Hi all,
> This is my first email sending to nabble ivy user group.
> I have an issue with an artifact's maven-metadata.xml is not showing up.
> Here is the environment i am working on:
> Apache Archiva , Ivy, ant.
> 
> Problem: When I am Deploying artifact via the Web UI Form, I am able to
> see all the attributes in maven-metadata.xml.
> <metadata>
> <groupId>twitter-evt</groupId>
> <artifactId>authentication</artifactId>
> <versioning>
> <latest>1.1</latest>
> <release>1.1</release>
> <versions>
> <version>LATEST</version>
> <version>1.0</version>
> <version>1.1</version>
> </versions>
> <lastUpdated>20090729142510</lastUpdated>
> </versioning>
> </metadata>
> 
> But when i deploy the artifact through ivy by command prompt (ant
> publish-latest -Dversion=1.0.3), artifact is updating fine with latest
> changes but artifact's maven-metadata.xml is missing <lastupdated>
> attribute with latest time stamp.
> 
> <metadata>
> <groupId>twitter-evt</groupId>
> <artifactId>twitter_account_management</artifactId>
> <versioning>
> <latest>1.1.1</latest>
> <release>1.1.1</release>
> <versions>
> <version>LATEST</version>
> <version>1.0</version>
> <version>1.0.1</version>
> <version>1.0.2</version>
> <version>1.0.3</version>
> <version>1.0.4</version>
> <version>1.0.5</version>
> <version>1.1</version>
> <version>1.1.1</version>
> </versions>
> </versioning>
> </metadata>
> 
> Here is my ant publish-latest target:
> <target name="publish_latest" depends="_loadantcontrib,dist" >
> 	<ivy:settings file="${ivy.settings.dir}/ivysettings.xml" />
> 	<ivy:resolve file="${ant.dir}/ivy.xml" transitive="false" />
> 	<ivy:findrevision organisation="${ivy.organisation}"
> module="${ivy.module}" revision="latest.integration"/>
> 	<echo message="looking in:
> ${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/"
> />
> 	<ivy:publish resolver="ibiblio"
> artifactspattern="${basedir}/${build_distdir}/${jar_tcs_libdir}/${component.distfilename}/${component_version}/[artifact].[ext]"
> pubrevision="${version}" overwrite="true" update="true"/>
> </target>
> 
> Please help me on this issue, I struck at this point in process of getting
> the latest artifact.
> 
> 

-- 
View this message in context: http://old.nabble.com/lastupdate-is-not-showing-in-maven-metadata.xml-tp27637832p27653175.html
Sent from the ivy-user mailing list archive at Nabble.com.