You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by karl wettin <ka...@gmail.com> on 2007/07/21 14:39:49 UTC

ant generate-maven-artifacts

There seem to be problems with this and the new maven-ant-task release.

First off this needs to change:
Index: common-build.xml
===================================================================
--- common-build.xml    (revision 558287)
+++ common-build.xml    (working copy)
@@ -202,7 +202,7 @@
        </copy>
        <artifact:pom id="maven.project" file="${build.dir}/@ 
{pom.xml}" />
        <artifact:install file="${build.dir}/$ 
{maven.project.build.finalName}.jar">
-        <localRepository location="${maven.dist.dir}"/>
+        <localRepository path="${maven.dist.dir}"/>
          <pom refid="maven.project"/>
        </artifact:install>
      </sequential>


But even though I do that I get some funky errors from lucene-parent
that it requires unspecified:unspecified(0.0).

It might just be my machine, but I would appreciate if someone could
confirm that.

-- 
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: ant generate-maven-artifacts

Posted by Michael Busch <bu...@gmail.com>.
karl wettin wrote:
> There seem to be problems with this and the new maven-ant-task release.
> 
> 

Karl,

ant generate-maven-artifacts works fine with maven-ant-tasks version
2.0.6. In 2.0.7, which is the current version, the attribute name
"location" was changed to "path". I'm going to update this with LUCENE-935.

> 
> But even though I do that I get some funky errors from lucene-parent
> that it requires unspecified:unspecified(0.0).
> 

Hmm I haven't seen this error before with 2.0.6. I have to investigate
what the problem here is.

For now I recommend to use generate-maven-artifacts with version 2.0.6.

Thanks for finding these issues, Karl!

- Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org