I came across the notorius situation of jar-references, which are not available through any public repositories. And I am trying this solution: by Brett Porter 28/Mar/11 9:00 AM
So I checked out http://svn.apache.org/repos/asf/maven/sandbox/trunk/examples/extensions/bundled-repository-extension , built it with IDEA and put resulting bundled-repository-extension-1.0-SNAPSHOT.jar directly into C:\\Program Files\\Apache Software Foundation\\apache-maven-3.0.4\\lib\\ext
Now I am trying to use it like shown here . But IntelliJ IDEA is always highlighting in red that it can't find this build extesnion:
<build>
<extensions>
<extension>
<groupId>org.apache.maven.examples</groupId>
<artifactId>bundled-repository-extension</artifactId>
<version>1.0-SNAPSHOT</version>
</extension>
</extensions>
</build>
How can I help it find the build extension?
This extension is not found on maven central either. Possible resolutions:
One it is available for your maven commandline build IDEA will find it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.