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 <[EMAIL PROTECTED] > 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








Reply via email to