Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
maven-plugin-api-3.8.6.jar - Plugin API Module
maven-plugin-api-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Plugin API module.
Apache Maven is a software project management and comprehension tool.
JAR File Size and Download Location:
File: 46967 06-06-2022 16:16 lib/maven-plugin-api-3.8.6.jar Download: Apache Maven Website
✍: FYIcenter.com
⏎ org/apache/maven/plugin/MojoNotFoundException.java
package org.apache.maven.plugin;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import java.util.Iterator;
import java.util.List;
import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
/**
* MojoNotFoundException
*/
public class MojoNotFoundException
extends Exception
{
private String goal;
private PluginDescriptor pluginDescriptor;
public MojoNotFoundException( String goal, PluginDescriptor pluginDescriptor )
{
super( toMessage( goal, pluginDescriptor ) );
this.goal = goal;
this.pluginDescriptor = pluginDescriptor;
}
public String getGoal()
{
return goal;
}
public PluginDescriptor getPluginDescriptor()
{
return pluginDescriptor;
}
private static String toMessage( String goal, PluginDescriptor pluginDescriptor )
{
StringBuilder buffer = new StringBuilder( 256 );
buffer.append( "Could not find goal '" ).append( goal ).append( '\'' );
if ( pluginDescriptor != null )
{
buffer.append( " in plugin " ).append( pluginDescriptor.getId() );
buffer.append( " among available goals " );
List<MojoDescriptor> mojos = pluginDescriptor.getMojos();
if ( mojos != null )
{
for ( Iterator<MojoDescriptor> it = mojos.iterator(); it.hasNext(); )
{
MojoDescriptor mojo = it.next();
if ( mojo != null )
{
buffer.append( mojo.getGoal() );
}
if ( it.hasNext() )
{
buffer.append( ", " );
}
}
}
}
return buffer.toString();
}
}
⏎ org/apache/maven/plugin/MojoNotFoundException.java
Or download all of them as a single archive file:
File name: maven-plugin-api-3.8.6-src.zip File size: 32096 bytes Release date: 2022-06-06 Download
⇒ maven-resolver-provider-3.8.6.jar - Resolver Provider Module
⇐ maven-model-builder-3.8.6.jar - Model Builder Module
2023-07-11, ∼7833🔥, 0💬
Popular Posts:
What Is js.jar in Rhino JavaScript 1.7R5? js.jar in Rhino JavaScript 1.7R5 is the JAR file for Rhino...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...