Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350913 - Project build error: Unresolveable build extension: Plugin...
Summary: Project build error: Unresolveable build extension: Plugin...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 06:09 EDT by Délawen CLA
Modified: 2021-04-19 13:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Délawen CLA 2011-07-01 06:09:22 EDT
Build Identifier: 20110615-0604

Project build error: Unresolveable build extension: Plugin org.codehaus.mojo.javascript:javascript-maven-plugin:1.0-alpha-1-SNAPSHOT or one of its dependencies could not be resolved: Failure to transfer org.codehaus.mojo.javascript:javascript-compressor-api:jar:1.0-alpha-1-20090530.211438-8 from https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.mojo.javascript:javascript-compressor-api:jar:1.0-alpha-1-20090530.211438-8 from/to jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public/): Conexión rehusada

Reproducible: Always

Steps to Reproduce:
1. Add a non-usual build plugin like
<plugin>
		        <groupId>org.codehaus.mojo.javascript</groupId>
		        <artifactId>javascript-maven-plugin</artifactId>
		        <extensions>true</extensions>
		        <executions>
		            <execution>
		                <goals>
		                    <goal>war-package</goal>
		                    <goal>prepare-tests</goal>
		                    <goal>jsunit</goal>
		                    <goal>compress</goal>
		                </goals>
		            </execution>
		        </executions>
	      </plugin>
2. Wait for the automatic compilation.
3. Bug on Markers!



If I use the Run as Maven package or the console mvn package it works without problems. It is on my local repository.
Comment 1 Délawen CLA 2011-07-01 06:10:54 EDT
m2eclipse Plugin version: 0.12.1.20110112-1712 (just installed it)
Comment 2 Igor Fedorenko CLA 2011-07-01 07:56:57 EDT
We need more information how to reproduce the problem.

Using m2e 1.0 and Maven 3.0.3 with pom.xml below, I get consistent behaviour between IDE and command line build, i.e. in both cases build fails with "Unresolveable build extension".


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>xxx</groupId>
  <artifactId>xxx</artifactId>
  <version>0.0.1-SNAPSHOT</version>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo.javascript</groupId>
        <artifactId>javascript-maven-plugin</artifactId>
        <extensions>true</extensions>
        <executions>
          <execution>
            <goals>
              <goal>war-package</goal>
              <goal>prepare-tests</goal>
              <goal>jsunit</goal>
              <goal>compress</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
Comment 3 Igor Fedorenko CLA 2011-09-13 21:50:08 EDT
closing old/incomplete bug report. feel free to reopen if you can provide requested information.
Comment 4 Denis Roy CLA 2021-04-19 13:24:38 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/