You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Pavel Minchenkov <ch...@gmail.com> on 2010/07/16 17:34:49 UTC
Building maven artifacts
Hi,
I'm trying to run ant task "generate-maven-artifacts" in lucene-solr
build.xml file.
But getting this error:
/home/chardex/lucene/dev/lucene/common-build.xml:312: Error deploying
artifact 'org.apache.lucene:lucene-core:jar': Error deploying artifact: File
/home/chardex/lucene/dev/lucene/build/${project.artifactId}-${project.version}.jar
does not exist
Source code is latest.
What I'm doing wrong?
"generate-maven-artifacts" works fine for solr build.xml file.
Thanks.
--
Pavel Minchenkov
RE: Building maven artifacts
Posted by "Zhang, Lisheng" <Li...@BroadVision.com>.
Hi Pavel,
I have not done this build, I sent last message based on my
experiences using ant on other projects, maybe people who
worked on maven artifacts could help?
Best regards, Lisheng
-----Original Message-----
From: Pavel Minchenkov [mailto:chardex@gmail.com]
Sent: Monday, July 19, 2010 3:03 AM
To: java-user@lucene.apache.org
Subject: Re: Building maven artifacts
Hi,
I don't know. I tried to setup somethind like this:
<property name="project.artifactId" value="lucene"/>
But error is the same. Maybe there are any other parameters?
2010/7/16 Zhang, Lisheng <Li...@broadvision.com>
> Hi,
>
> I never this kind of build before, but just from the error message
> I guess it could mean two variables:
>
> ${project.artifactId}
> ${project.version}
>
> are not defined (otherwise exact jar file name would be printed out)?
>
> Could it be some environment setup issue?
>
> Best regards, Lisheng
>
> -----Original Message-----
> From: Pavel Minchenkov [mailto:chardex@gmail.com]
> Sent: Friday, July 16, 2010 8:35 AM
> To: java-user@lucene.apache.org; solr-user@lucene.apache.org
> Subject: Building maven artifacts
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Building maven artifacts
Posted by Pavel Minchenkov <ch...@gmail.com>.
Hi,
I don't know. I tried to setup somethind like this:
<property name="project.artifactId" value="lucene"/>
But error is the same. Maybe there are any other parameters?
2010/7/16 Zhang, Lisheng <Li...@broadvision.com>
> Hi,
>
> I never this kind of build before, but just from the error message
> I guess it could mean two variables:
>
> ${project.artifactId}
> ${project.version}
>
> are not defined (otherwise exact jar file name would be printed out)?
>
> Could it be some environment setup issue?
>
> Best regards, Lisheng
>
> -----Original Message-----
> From: Pavel Minchenkov [mailto:chardex@gmail.com]
> Sent: Friday, July 16, 2010 8:35 AM
> To: java-user@lucene.apache.org; solr-user@lucene.apache.org
> Subject: Building maven artifacts
>
>
RE: Building maven artifacts
Posted by "Zhang, Lisheng" <Li...@BroadVision.com>.
Hi,
I never this kind of build before, but just from the error message
I guess it could mean two variables:
${project.artifactId}
${project.version}
are not defined (otherwise exact jar file name would be printed out)?
Could it be some environment setup issue?
Best regards, Lisheng
-----Original Message-----
From: Pavel Minchenkov [mailto:chardex@gmail.com]
Sent: Friday, July 16, 2010 8:35 AM
To: java-user@lucene.apache.org; solr-user@lucene.apache.org
Subject: Building maven artifacts
Hi,
I'm trying to run ant task "generate-maven-artifacts" in lucene-solr
build.xml file.
But getting this error:
/home/chardex/lucene/dev/lucene/common-build.xml:312: Error deploying
artifact 'org.apache.lucene:lucene-core:jar': Error deploying artifact: File
/home/chardex/lucene/dev/lucene/build/${project.artifactId}-${project.version}.jar
does not exist
Source code is latest.
What I'm doing wrong?
"generate-maven-artifacts" works fine for solr build.xml file.
Thanks.
--
Pavel Minchenkov
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org