You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by boB Gage <bg...@merge.com> on 2009/10/21 22:03:21 UTC

Is it just me?

I updated my mina source (first time in awhile) and am getting the 
oddest build-time error.

I type 'mvn clean install' and everything chugs along happy as can be, 
until ...

[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache MINA XBean Integration
[INFO]    task-segment: [install]
[INFO] 
------------------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.mojo:build-helper-maven-plugin

Reason: Error getting POM for 
'org.codehaus.mojo:build-helper-maven-plugin' from the repository: 
Failed to resolve artifact, possibly due to a repository list that is 
not appropriately equipped for this artifact's metadata.
  org.codehaus.mojo:build-helper-maven-plugin:pom:1.5-SNAPSHOT



I checked -- our repository mirror does not have codehaus's 
build-helper-maven-plugin, so I'm working on that part.    BUT....   far 
as I can tell from looking at 
http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/ 
the latest version is 1.4, so 1.5-SNAPSHOT is an unreleased working 
copy.   

I double-checked: renamed my mina directory and checked out clean from 
the trunk.   Same results.

Do I now need codehaus source too??    Oddly enough, I can't find "1.5" 
in any Mina project files (pom.xml et al) in relation to this plugin so 
am confused as to where that tag is even coming from.

Thanks!
boB

Re: Is it just me?

Posted by boB Gage <bg...@merge.com>.
Huh, well it's definitely just me then.   I did the same thing and ended 
up with the same unresolved artifact.    Dooming the repository did give 
me a few additional messages, but nothing incredibly telling.

Here's the end of the build (in the same Xbean Integration project as 
before):
Downloading: 
https://dev.ekosystems.com/maven/repo/org/apache/xbean/maven-xbean-plugin/3.6/maven-xbean-plugin-3.6.jar
13K downloaded
[INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking 
for updates from central
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.mojo:build-helper-maven-plugin

Reason: Error getting POM for 
'org.codehaus.mojo:build-helper-maven-plugin' from the repository: 
Failed to resolve artifact, possibly due to a repository list that is 
not appropriately equipped for this artifact's metadata.
  org.codehaus.mojo:build-helper-maven-plugin:pom:1.5-SNAPSHOT

from the specified remote repositories:
  eko-mirror (https://dev.ekosystems.com/maven/repo)
 for project org.codehaus.mojo:build-helper-maven-plugin


So maybe the problem is our repository mirror??   It contains no 
build-helper-maven-plugin artifacts at all... but like I said before, 
1.5-SNAPSHOT is an unreleased version of the plugin and I haven't found 
anything specifying that version in the builds....  

Whatever, this seems pretty likely an environment problem on my end and 
not due to any recent changes in the mina code stream.     I'll get some 
of our local experts on it and see what they can figure out.

Thanks!!
boB


Emmanuel Lecharny wrote:
> So here is what I did :
>
> cd ~/mina
> svn co http://svn.apache.org/repos/asf/mina/trunk clean-trunk
> cd ~/.m2
> rm -rf repository (this is where I 'doom' the directory)
> cd ~/mina/clean-trunk
> mvn clean install
>
> It builds just fine.
>
> You may point to a strange repos, from which Maven is trying to get 
> the plugin. Here is what I have :
> http://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.4/build-helper-maven-plugin-1.4.jar 
>
>
> and you have :
> http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/ 
>
>
> Can you check your maven settings.xml file ?
>


Re: Is it just me?

Posted by Emmanuel Lecharny <el...@apache.org>.
So here is what I did :

cd ~/mina
svn co http://svn.apache.org/repos/asf/mina/trunk clean-trunk
cd ~/.m2
rm -rf repository (this is where I 'doom' the directory)
cd ~/mina/clean-trunk
mvn clean install

It builds just fine.

You may point to a strange repos, from which Maven is trying to get the 
plugin. Here is what I have :
http://repo1.maven.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.4/build-helper-maven-plugin-1.4.jar

and you have :
http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/

Can you check your maven settings.xml file ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: Is it just me?

Posted by boB Gage <bg...@merge.com>.
Matters...   I just renamed .m2/repository/org/apace/mina to doomed-mina 
-- if that's what you mean by "doom" my repository, then it didn't help.

Tried renaming the codehaus build-helper directory out of the way too -- 
equally no effect.

Hopefully you mean something entirely different when you say "doom your 
repository."   :-)

boB



Emmanuel Lecharny wrote:
> boB Gage wrote:
>> Rats, I musta screwed something up on my end....    I hear RC2 will 
>> contain the only patch we've applied, so I'm thinking we'll just skip 
>> RC1 if I can't make the source build anymore...
>>
>> I just checked out a clean copy (  
>> http://svn.apache.org/repos/asf/mina/trunk ) and ran ' mvn clean 
>> install ' and am still getting the same odd version failure....
> Sometime, you also have to doom your .m2/repository directory before 
> running a mvn clean install.
>
> Can you try that ?
>


Re: Is it just me?

Posted by Emmanuel Lecharny <el...@apache.org>.
boB Gage wrote:
> Rats, I musta screwed something up on my end....    I hear RC2 will 
> contain the only patch we've applied, so I'm thinking we'll just skip 
> RC1 if I can't make the source build anymore...
>
> I just checked out a clean copy (  
> http://svn.apache.org/repos/asf/mina/trunk ) and ran ' mvn clean 
> install ' and am still getting the same odd version failure....
Sometime, you also have to doom your .m2/repository directory before 
running a mvn clean install.

Can you try that ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: Is it just me?

Posted by boB Gage <bg...@merge.com>.
Rats, I musta screwed something up on my end....    I hear RC2 will 
contain the only patch we've applied, so I'm thinking we'll just skip 
RC1 if I can't make the source build anymore...

I just checked out a clean copy (  
http://svn.apache.org/repos/asf/mina/trunk ) and ran ' mvn clean install 
' and am still getting the same odd version failure....

boB



Ashish wrote:
> Its working fine for me. Build was successful.
>
> To be on safe side, I did SVN cleanup, and then ran "mvn clean install".
>
> - ashish
>
> On Thu, Oct 22, 2009 at 1:33 AM, boB Gage <bg...@merge.com> wrote:
>   
>> I updated my mina source (first time in awhile) and am getting the oddest
>> build-time error.
>>
>> I type 'mvn clean install' and everything chugs along happy as can be, until
>> ...
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache MINA XBean Integration
>> [INFO]    task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: org.codehaus.mojo:build-helper-maven-plugin
>>
>> Reason: Error getting POM for 'org.codehaus.mojo:build-helper-maven-plugin'
>> from the repository: Failed to resolve artifact, possibly due to a
>> repository list that is not appropriately equipped for this artifact's
>> metadata.
>>  org.codehaus.mojo:build-helper-maven-plugin:pom:1.5-SNAPSHOT
>>
>>
>>
>> I checked -- our repository mirror does not have codehaus's
>> build-helper-maven-plugin, so I'm working on that part.    BUT....   far as
>> I can tell from looking at
>> http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/
>> the latest version is 1.4, so 1.5-SNAPSHOT is an unreleased working copy.
>> I double-checked: renamed my mina directory and checked out clean from the
>> trunk.   Same results.
>>
>> Do I now need codehaus source too??    Oddly enough, I can't find "1.5" in
>> any Mina project files (pom.xml et al) in relation to this plugin so am
>> confused as to where that tag is even coming from.
>>
>>     


Re: Is it just me?

Posted by Ashish <pa...@gmail.com>.
Its working fine for me. Build was successful.

To be on safe side, I did SVN cleanup, and then ran "mvn clean install".

- ashish

On Thu, Oct 22, 2009 at 1:33 AM, boB Gage <bg...@merge.com> wrote:
> I updated my mina source (first time in awhile) and am getting the oddest
> build-time error.
>
> I type 'mvn clean install' and everything chugs along happy as can be, until
> ...
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache MINA XBean Integration
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.codehaus.mojo:build-helper-maven-plugin
>
> Reason: Error getting POM for 'org.codehaus.mojo:build-helper-maven-plugin'
> from the repository: Failed to resolve artifact, possibly due to a
> repository list that is not appropriately equipped for this artifact's
> metadata.
>  org.codehaus.mojo:build-helper-maven-plugin:pom:1.5-SNAPSHOT
>
>
>
> I checked -- our repository mirror does not have codehaus's
> build-helper-maven-plugin, so I'm working on that part.    BUT....   far as
> I can tell from looking at
> http://repository.codehaus.org/org/codehaus/mojo/build-helper-maven-plugin/
> the latest version is 1.4, so 1.5-SNAPSHOT is an unreleased working copy.
> I double-checked: renamed my mina directory and checked out clean from the
> trunk.   Same results.
>
> Do I now need codehaus source too??    Oddly enough, I can't find "1.5" in
> any Mina project files (pom.xml et al) in relation to this plugin so am
> confused as to where that tag is even coming from.
>