You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2008/06/02 11:04:22 UTC

BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Hi,

Does anyone know why it happens? It's with today's sources - revision
662358 and no local changes.

[INFO] ------------------------------------------------------------------------
[INFO] Building OpenEJB :: Container :: Java EE
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] snapshot
com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
for updates from apache-m2-snapshot
[INFO] snapshot
com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
for updates from codehaus-snapshot
[INFO] snapshot
com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
for updates from java.net
[INFO] snapshot
com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
for updates from apache.snapshots
Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
2K downloaded
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
updates from apache-m2-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
updates from codehaus-snapshot
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
updates from java.net
[INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
updates from apache.snapshots
Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
5K downloaded
Downloading: http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=com.envoisolutions.sxc
-DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
-DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
oryId=[id]


  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT

from the specified remote repositories:
  ibiblio.org (http://repo1.maven.org/maven2),
  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)

  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT

from the specified remote repositories:
  ibiblio.org (http://repo1.maven.org/maven2),
  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Dain Sundstrom <da...@iq80.com>.
I added the snapshot repository.

Sorry, I forgot I needed to do this.

-dain

On Jun 5, 2008, at 1:13 AM, Manu George wrote:

> I am also getting this problem on linux. Adding the pluginRepositories
> to openejb-jee/pom.xml only seems to work for some reason
>
> Regards
> Manu
>
> On Tue, Jun 3, 2008 at 2:04 PM, Jonathan Gallimore
> <jo...@gmail.com> wrote:
>> Ah right. I was consistently getting the same problem as Jacek on  
>> Windows XP
>> here.
>>
>> It appears to be a pluginRepository it needs rather than a  
>> repository. I
>> noticed that there's one of those in the top level POM too,  
>> although it has
>> a <snapshots/> tag rather than
>> <snapshots><enabled>true</enabled></snapshots>. I wonder if its  
>> something
>> like that?
>>
>> Jon
>>
>>
>> On Mon, Jun 2, 2008 at 11:20 PM, Dain Sundstrom <da...@iq80.com>  
>> wrote:
>>
>>> This is really weird.  If you look in the root pom (
>>> https://svn.apache.org/repos/asf/openejb/trunk/openejb3/pom.xml),  
>>> you will
>>> find this:
>>>
>>> <repositories>
>>>   <repository>
>>>     <id>codehaus-snapshot</id>
>>>     <name>CodeHaus SNAPSHOT repository</name>
>>>     <url>http://snapshots.repository.codehaus.org</url>
>>>     <releases>
>>>       <enabled>false</enabled>
>>>     </releases>
>>>     <snapshots>
>>>       <enabled>true</enabled>
>>>     </snapshots>
>>>   </repository>
>>>
>>> Which is effectively, what you added explicitly below.
>>>
>>> Is anyone else having this problem?  If not, it may just be an  
>>> isolated
>>> "maven being weird" incident.
>>>
>>> -dain
>>>
>>>
>>> On Jun 2, 2008, at 11:14 AM, Jonathan Gallimore wrote:
>>>
>>> I don't know if you've already sorted this, but I was able to get a
>>>> successful build by adding the following to container/openejb-jee/ 
>>>> pom.xml:
>>>>
>>>> <pluginRepositories>
>>>>   <pluginRepository>
>>>>     <id>codehaus-snapshot</id>
>>>>     <url>http://snapshots.repository.codehaus.org</url>
>>>>     <layout>default</layout>
>>>>     <snapshots>
>>>>         <enabled>true</enabled>
>>>>     </snapshots>
>>>> </pluginRepository>
>>>> </pluginRepositories>
>>>>
>>>>
>>>> Jon
>>>>
>>>>
>>>> Mohammad Nour El-Din wrote:
>>>>
>>>>> Hi Jacek
>>>>>
>>>>> Dain is implementing the JEE XML mapping using a new framework
>>>>> called SXC - http://sxc.codehaus.org/ - and this is recorded in  
>>>>> the
>>>>> SCM mailing list -
>>>>> http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -
>>>>>
>>>>> On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <jacek@laskowski.net.pl 
>>>>> >
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>>
>>>>>> Does anyone know why it happens? It's with today's sources -  
>>>>>> revision
>>>>>> 662358 and no local changes.
>>>>>>
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>>> [INFO]    task-segment: [clean, install]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:  
>>>>>> checking
>>>>>> for updates from apache-m2-snapshot
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:  
>>>>>> checking
>>>>>> for updates from codehaus-snapshot
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:  
>>>>>> checking
>>>>>> for updates from java.net
>>>>>> [INFO] snapshot
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT:  
>>>>>> checking
>>>>>> for updates from apache.snapshots
>>>>>> Downloading:
>>>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
>>>>>> 2K downloaded
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>>> checking for
>>>>>> updates from apache-m2-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>>> checking for
>>>>>> updates from codehaus-snapshot
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>>> checking for
>>>>>> updates from java.net
>>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT:  
>>>>>> checking for
>>>>>> updates from apache.snapshots
>>>>>> Downloading:
>>>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
>>>>>> 5K downloaded
>>>>>> Downloading:
>>>>>> http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] BUILD FAILURE
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] A required plugin was not found: Plugin could not be  
>>>>>> found -
>>>>>> check that the goal name is correct: Unable to download the  
>>>>>> artifact
>>>>>> from any repository
>>>>>>
>>>>>> Try downloading the file manually from the project website.
>>>>>>
>>>>>> Then, install it using the command:
>>>>>> mvn install:install-file -DgroupId=com.envoisolutions.sxc
>>>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file
>>>>>>
>>>>>> Alternatively, if you host your own repository you can deploy  
>>>>>> the file
>>>>>> there:
>>>>>> mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
>>>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] - 
>>>>>> Dreposit
>>>>>> oryId=[id]
>>>>>>
>>>>>>
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7- 
>>>>>> SNAPSHOT
>>>>>>
>>>>>> from the specified remote repositories:
>>>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>>>> apache-m2-snapshot (
>>>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>>>
>>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7- 
>>>>>> SNAPSHOT
>>>>>>
>>>>>> from the specified remote repositories:
>>>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>>>> apache-m2-snapshot (
>>>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>>>
>>>>>> Jacek
>>>>>>
>>>>>> --
>>>>>> Jacek Laskowski
>>>>>> http://www.JacekLaskowski.pl
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>


Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Manu George <ma...@gmail.com>.
I am also getting this problem on linux. Adding the pluginRepositories
to openejb-jee/pom.xml only seems to work for some reason

Regards
Manu

On Tue, Jun 3, 2008 at 2:04 PM, Jonathan Gallimore
<jo...@gmail.com> wrote:
> Ah right. I was consistently getting the same problem as Jacek on Windows XP
> here.
>
> It appears to be a pluginRepository it needs rather than a repository. I
> noticed that there's one of those in the top level POM too, although it has
> a <snapshots/> tag rather than
> <snapshots><enabled>true</enabled></snapshots>. I wonder if its something
> like that?
>
> Jon
>
>
> On Mon, Jun 2, 2008 at 11:20 PM, Dain Sundstrom <da...@iq80.com> wrote:
>
>> This is really weird.  If you look in the root pom (
>> https://svn.apache.org/repos/asf/openejb/trunk/openejb3/pom.xml), you will
>> find this:
>>
>>  <repositories>
>>    <repository>
>>      <id>codehaus-snapshot</id>
>>      <name>CodeHaus SNAPSHOT repository</name>
>>      <url>http://snapshots.repository.codehaus.org</url>
>>      <releases>
>>        <enabled>false</enabled>
>>      </releases>
>>      <snapshots>
>>        <enabled>true</enabled>
>>      </snapshots>
>>    </repository>
>>
>> Which is effectively, what you added explicitly below.
>>
>> Is anyone else having this problem?  If not, it may just be an isolated
>> "maven being weird" incident.
>>
>> -dain
>>
>>
>> On Jun 2, 2008, at 11:14 AM, Jonathan Gallimore wrote:
>>
>>  I don't know if you've already sorted this, but I was able to get a
>>> successful build by adding the following to container/openejb-jee/pom.xml:
>>>
>>> <pluginRepositories>
>>>    <pluginRepository>
>>>      <id>codehaus-snapshot</id>
>>>      <url>http://snapshots.repository.codehaus.org</url>
>>>      <layout>default</layout>
>>>      <snapshots>
>>>          <enabled>true</enabled>
>>>      </snapshots>
>>>  </pluginRepository>
>>> </pluginRepositories>
>>>
>>>
>>> Jon
>>>
>>>
>>> Mohammad Nour El-Din wrote:
>>>
>>>> Hi Jacek
>>>>
>>>>  Dain is implementing the JEE XML mapping using a new framework
>>>> called SXC - http://sxc.codehaus.org/ - and this is recorded in the
>>>> SCM mailing list -
>>>> http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -
>>>>
>>>> On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <ja...@laskowski.net.pl>
>>>> wrote:
>>>>
>>>>  Hi,
>>>>>
>>>>> Does anyone know why it happens? It's with today's sources - revision
>>>>> 662358 and no local changes.
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>>> [INFO]    task-segment: [clean, install]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>>> for updates from apache-m2-snapshot
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>>> for updates from codehaus-snapshot
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>>> for updates from java.net
>>>>> [INFO] snapshot
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>>> for updates from apache.snapshots
>>>>> Downloading:
>>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
>>>>> 2K downloaded
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>> updates from apache-m2-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>> updates from codehaus-snapshot
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>> updates from java.net
>>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>>> updates from apache.snapshots
>>>>> Downloading:
>>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
>>>>> 5K downloaded
>>>>> Downloading:
>>>>> http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] A required plugin was not found: Plugin could not be found -
>>>>> check that the goal name is correct: Unable to download the artifact
>>>>> from any repository
>>>>>
>>>>> Try downloading the file manually from the project website.
>>>>>
>>>>> Then, install it using the command:
>>>>>  mvn install:install-file -DgroupId=com.envoisolutions.sxc
>>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file
>>>>>
>>>>> Alternatively, if you host your own repository you can deploy the file
>>>>> there:
>>>>>  mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
>>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
>>>>> oryId=[id]
>>>>>
>>>>>
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>>>>
>>>>> from the specified remote repositories:
>>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>>> apache-m2-snapshot (
>>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>>
>>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>>>>
>>>>> from the specified remote repositories:
>>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>>> apache-m2-snapshot (
>>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>>
>>>>> Jacek
>>>>>
>>>>> --
>>>>> Jacek Laskowski
>>>>> http://www.JacekLaskowski.pl
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Jonathan Gallimore <jo...@gmail.com>.
Ah right. I was consistently getting the same problem as Jacek on Windows XP
here.

It appears to be a pluginRepository it needs rather than a repository. I
noticed that there's one of those in the top level POM too, although it has
a <snapshots/> tag rather than
<snapshots><enabled>true</enabled></snapshots>. I wonder if its something
like that?

Jon


On Mon, Jun 2, 2008 at 11:20 PM, Dain Sundstrom <da...@iq80.com> wrote:

> This is really weird.  If you look in the root pom (
> https://svn.apache.org/repos/asf/openejb/trunk/openejb3/pom.xml), you will
> find this:
>
>  <repositories>
>    <repository>
>      <id>codehaus-snapshot</id>
>      <name>CodeHaus SNAPSHOT repository</name>
>      <url>http://snapshots.repository.codehaus.org</url>
>      <releases>
>        <enabled>false</enabled>
>      </releases>
>      <snapshots>
>        <enabled>true</enabled>
>      </snapshots>
>    </repository>
>
> Which is effectively, what you added explicitly below.
>
> Is anyone else having this problem?  If not, it may just be an isolated
> "maven being weird" incident.
>
> -dain
>
>
> On Jun 2, 2008, at 11:14 AM, Jonathan Gallimore wrote:
>
>  I don't know if you've already sorted this, but I was able to get a
>> successful build by adding the following to container/openejb-jee/pom.xml:
>>
>> <pluginRepositories>
>>    <pluginRepository>
>>      <id>codehaus-snapshot</id>
>>      <url>http://snapshots.repository.codehaus.org</url>
>>      <layout>default</layout>
>>      <snapshots>
>>          <enabled>true</enabled>
>>      </snapshots>
>>  </pluginRepository>
>> </pluginRepositories>
>>
>>
>> Jon
>>
>>
>> Mohammad Nour El-Din wrote:
>>
>>> Hi Jacek
>>>
>>>  Dain is implementing the JEE XML mapping using a new framework
>>> called SXC - http://sxc.codehaus.org/ - and this is recorded in the
>>> SCM mailing list -
>>> http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -
>>>
>>> On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <ja...@laskowski.net.pl>
>>> wrote:
>>>
>>>  Hi,
>>>>
>>>> Does anyone know why it happens? It's with today's sources - revision
>>>> 662358 and no local changes.
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building OpenEJB :: Container :: Java EE
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>> for updates from apache-m2-snapshot
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>> for updates from codehaus-snapshot
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>> for updates from java.net
>>>> [INFO] snapshot
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>>> for updates from apache.snapshots
>>>> Downloading:
>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
>>>> 2K downloaded
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from apache-m2-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from codehaus-snapshot
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from java.net
>>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>>>> updates from apache.snapshots
>>>> Downloading:
>>>> http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
>>>> 5K downloaded
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] A required plugin was not found: Plugin could not be found -
>>>> check that the goal name is correct: Unable to download the artifact
>>>> from any repository
>>>>
>>>> Try downloading the file manually from the project website.
>>>>
>>>> Then, install it using the command:
>>>>  mvn install:install-file -DgroupId=com.envoisolutions.sxc
>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file
>>>>
>>>> Alternatively, if you host your own repository you can deploy the file
>>>> there:
>>>>  mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
>>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
>>>> oryId=[id]
>>>>
>>>>
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>> apache-m2-snapshot (
>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>
>>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>> ibiblio.org (http://repo1.maven.org/maven2),
>>>> apache-m2-snapshot (
>>>> http://people.apache.org/repo/m2-snapshot-repository)
>>>>
>>>> Jacek
>>>>
>>>> --
>>>> Jacek Laskowski
>>>> http://www.JacekLaskowski.pl
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>

Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Dain Sundstrom <da...@iq80.com>.
This is really weird.  If you look in the root pom (https://svn.apache.org/repos/asf/openejb/trunk/openejb3/pom.xml 
), you will find this:

   <repositories>
     <repository>
       <id>codehaus-snapshot</id>
       <name>CodeHaus SNAPSHOT repository</name>
       <url>http://snapshots.repository.codehaus.org</url>
       <releases>
         <enabled>false</enabled>
       </releases>
       <snapshots>
         <enabled>true</enabled>
       </snapshots>
     </repository>

Which is effectively, what you added explicitly below.

Is anyone else having this problem?  If not, it may just be an  
isolated "maven being weird" incident.

-dain

On Jun 2, 2008, at 11:14 AM, Jonathan Gallimore wrote:

> I don't know if you've already sorted this, but I was able to get a  
> successful build by adding the following to container/openejb-jee/ 
> pom.xml:
>
> <pluginRepositories>
>     <pluginRepository>
>       <id>codehaus-snapshot</id>
>       <url>http://snapshots.repository.codehaus.org</url>
>       <layout>default</layout>
>       <snapshots>
>           <enabled>true</enabled>
>       </snapshots>
>   </pluginRepository>
> </pluginRepositories>
>
>
> Jon
>
>
> Mohammad Nour El-Din wrote:
>> Hi Jacek
>>
>>   Dain is implementing the JEE XML mapping using a new framework
>> called SXC - http://sxc.codehaus.org/ - and this is recorded in the
>> SCM mailing list -
>> http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -
>>
>> On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <jacek@laskowski.net.pl 
>> > wrote:
>>
>>> Hi,
>>>
>>> Does anyone know why it happens? It's with today's sources -  
>>> revision
>>> 662358 and no local changes.
>>>
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [INFO] Building OpenEJB :: Container :: Java EE
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>> for updates from apache-m2-snapshot
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>> for updates from codehaus-snapshot
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>> for updates from java.net
>>> [INFO] snapshot
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>>> for updates from apache.snapshots
>>> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
>>> 2K downloaded
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking  
>>> for
>>> updates from apache-m2-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking  
>>> for
>>> updates from codehaus-snapshot
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking  
>>> for
>>> updates from java.net
>>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking  
>>> for
>>> updates from apache.snapshots
>>> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
>>> 5K downloaded
>>> Downloading: http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [INFO] A required plugin was not found: Plugin could not be found -
>>> check that the goal name is correct: Unable to download the artifact
>>> from any repository
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>>   mvn install:install-file -DgroupId=com.envoisolutions.sxc
>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>> -Dpackaging=maven-plugin -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the  
>>> file there:
>>>   mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
>>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
>>> oryId=[id]
>>>
>>>
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7- 
>>> SNAPSHOT
>>>
>>> from the specified remote repositories:
>>> ibiblio.org (http://repo1.maven.org/maven2),
>>> apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository 
>>> )
>>>
>>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7- 
>>> SNAPSHOT
>>>
>>> from the specified remote repositories:
>>> ibiblio.org (http://repo1.maven.org/maven2),
>>> apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository 
>>> )
>>>
>>> Jacek
>>>
>>> --
>>> Jacek Laskowski
>>> http://www.JacekLaskowski.pl
>>>
>>>
>>
>>
>>
>>
>


Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Jonathan Gallimore <jo...@gmail.com>.
I don't know if you've already sorted this, but I was able to get a 
successful build by adding the following to container/openejb-jee/pom.xml:

  <pluginRepositories>
      <pluginRepository>
        <id>codehaus-snapshot</id>
        <url>http://snapshots.repository.codehaus.org</url>
        <layout>default</layout>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </pluginRepository>
  </pluginRepositories>


Jon


Mohammad Nour El-Din wrote:
> Hi Jacek
>
>    Dain is implementing the JEE XML mapping using a new framework
> called SXC - http://sxc.codehaus.org/ - and this is recorded in the
> SCM mailing list -
> http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -
>
> On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
>   
>> Hi,
>>
>> Does anyone know why it happens? It's with today's sources - revision
>> 662358 and no local changes.
>>
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building OpenEJB :: Container :: Java EE
>> [INFO]    task-segment: [clean, install]
>> [INFO] ------------------------------------------------------------------------
>> [INFO] snapshot
>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>> for updates from apache-m2-snapshot
>> [INFO] snapshot
>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>> for updates from codehaus-snapshot
>> [INFO] snapshot
>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>> for updates from java.net
>> [INFO] snapshot
>> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
>> for updates from apache.snapshots
>> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
>> 2K downloaded
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from apache-m2-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from codehaus-snapshot
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from java.net
>> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
>> updates from apache.snapshots
>> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
>> 5K downloaded
>> Downloading: http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] A required plugin was not found: Plugin could not be found -
>> check that the goal name is correct: Unable to download the artifact
>> from any repository
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>>    mvn install:install-file -DgroupId=com.envoisolutions.sxc
>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>> -Dpackaging=maven-plugin -Dfile=/path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file there:
>>    mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
>> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
>> oryId=[id]
>>
>>
>>  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>
>> from the specified remote repositories:
>>  ibiblio.org (http://repo1.maven.org/maven2),
>>  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)
>>
>>  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>>
>> from the specified remote repositories:
>>  ibiblio.org (http://repo1.maven.org/maven2),
>>  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> http://www.JacekLaskowski.pl
>>
>>     
>
>
>
>   


Re: BUILD FAILURE due to A required plugin was not found: sxc-jaxb-maven-plugin

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Hi Jacek

   Dain is implementing the JEE XML mapping using a new framework
called SXC - http://sxc.codehaus.org/ - and this is recorded in the
SCM mailing list -
http://marc.info/?l=openejb-cvs&m=121229308117160&w=2 -

On Mon, Jun 2, 2008 at 12:04 PM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> Hi,
>
> Does anyone know why it happens? It's with today's sources - revision
> 662358 and no local changes.
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building OpenEJB :: Container :: Java EE
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] snapshot
> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
> for updates from apache-m2-snapshot
> [INFO] snapshot
> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
> for updates from codehaus-snapshot
> [INFO] snapshot
> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
> for updates from java.net
> [INFO] snapshot
> com.envoisolutions.sxc:sxc-jaxb-maven-plugin:0.7-SNAPSHOT: checking
> for updates from apache.snapshots
> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-20080601.034926-1.pom
> 2K downloaded
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from apache-m2-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from codehaus-snapshot
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from java.net
> [INFO] snapshot com.envoisolutions.sxc:sxc:0.7-SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://snapshots.repository.codehaus.org/com/envoisolutions/sxc/sxc/0.7-SNAPSHOT/sxc-0.7-20080601.034926-1.pom
> 5K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/com/envoisolutions/sxc/sxc-jaxb-maven-plugin/0.7-SNAPSHOT/sxc-jaxb-maven-plugin-0.7-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found -
> check that the goal name is correct: Unable to download the artifact
> from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=com.envoisolutions.sxc
> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
>    mvn deploy:deploy-file -DgroupId=com.envoisolutions.sxc
> -DartifactId=sxc-jaxb-maven-plugin -Dversion=0.7-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -Dreposit
> oryId=[id]
>
>
>  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>
> from the specified remote repositories:
>  ibiblio.org (http://repo1.maven.org/maven2),
>  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)
>
>  com.envoisolutions.sxc:sxc-jaxb-maven-plugin:maven-plugin:0.7-SNAPSHOT
>
> from the specified remote repositories:
>  ibiblio.org (http://repo1.maven.org/maven2),
>  apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-repository)
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>



-- 
Thanks
- Mohammad Nour