You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michał Stefanów <ms...@gmail.com> on 2009/05/12 15:06:10 UTC

Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

Hi there,
I'm following "setup from zero" tutorial and one one the point contain 
following phrase:
import all projects to Eclipse then select all of them and click Maven / 
enable dependency management.

Unfortunately this generates following output:
12.05.09 15:03:16 CEST: [INFO] 
------------------------------------------------------------------------
12.05.09 15:03:16 CEST: [INFO] Building jAgE applications vanilla-genetic
12.05.09 15:03:16 CEST: [INFO]
12.05.09 15:03:16 CEST: [INFO] Id: 
org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
12.05.09 15:03:16 CEST: [INFO] task-segment: [process-resources]
12.05.09 15:03:16 CEST: [INFO] 
------------------------------------------------------------------------
12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for 
plugin: com.google.code.maven-license-plugin:maven-license-plugin using 
meta-version: LATEST
12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for 
plugin: com.google.code.maven-license-plugin:maven-license-plugin using 
meta-version: RELEASE
12.05.09 15:03:16 CEST: Adding resource folder 
/jage-applications-vanilla-genetic/src/main/resources
12.05.09 15:03:16 CEST: Build error for 
/jage-applications-vanilla-genetic/pom.xml; 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
construct build plan for: jAgE applications vanilla-genetic
Id: org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
task-segment: [process-resources]. Reason: Failed to load plugin 
descriptor for: 
com.google.code.maven-license-plugin:maven-license-plugin:check. Cannot 
discover it's default phase, specified in its plugin descriptor.
12.05.09 15:03:16 CEST: Setting source compatibility: 1.5
12.05.09 15:03:16 CEST: Setting target compatibility: 1.5

Search result for - 
http://www.google.pl/search?q=Failed+to+load+plugin+descriptor+for%3A+com.google.code.maven-license-plugin%3Amaven-license-plugin%3Acheck.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a 
- doesn't bring any answers.

I'm completely new to Maven2, I'm just following tutorial, any 
suggestions will be appreciated.
Best regards
Michał Stefanów

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

Posted by Wayne Fay <wa...@gmail.com>.
> I don't want to send a blank message just to see whether I can post to
> mailing list. There is some traffic and I cannot imagine that such
> experts couldn't solve my problem :) Honestly all my efforts are
> wasted and don't know what to do.

Next time you're unsure if a message went through to a list, you
should check the email list archives at Nabble.com. If Nabble has it,
then the message went through.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

Posted by Brian Fox <br...@infinity.nu>.
Ok remove the dependency block. Then put version 1.4.0 elements in the
plugin section (not required, but a best practice[1][2]) . Then the error is
implying that the plugin has no default phase to run it in. You have bound
the plugin via the execution and told it to run the check goal, but you
didn't specify a phase. Add something like <phase>validate<phase> inside the
execution element. That will solve your problem. There's a free maven
book[3] and some more how-tos[4] that's worth looking at if you're new to
maven.
[1] http://www.sonatype.com/people/2008/04/maven-209-released/
[2]
http://www.sonatype.com/people/2008/05/optimal-maven-plugin-configuration/
[3] http://www.sonatype.com/products/maven/documentation/book-defguide
[4] http://www.sonatype.com/people/2009/04/summary-of-maven-how-tos/


2009/5/14 Michał Stefanów <ms...@gmail.com>

> I don't want to send a blank message just to see whether I can post to
> mailing list. There is some traffic and I cannot imagine that such
> experts couldn't solve my problem :) Honestly all my efforts are
> wasted and don't know what to do.
>
> > I'm following "setup from zero" tutorial and one one the point contains
> > following phrase:
> > import all projects to Eclipse then select all of them and click Maven /
> > enable dependency management.
> >
> > Unfortunately this generates following output:
> > 12.05.09 15:03:16 CEST: [INFO]
> > ------------------------------------------------------------------------
> > 12.05.09 15:03:16 CEST: [INFO] Building jAgE applications vanilla-genetic
> > 12.05.09 15:03:16 CEST: [INFO]
> > 12.05.09 15:03:16 CEST: [INFO] Id:
> > org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
> > 12.05.09 15:03:16 CEST: [INFO] task-segment: [process-resources]
> > 12.05.09 15:03:16 CEST: [INFO]
> > ------------------------------------------------------------------------
> > 12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for
> plugin:
> > com.google.code.maven-license-plugin:maven-license-plugin using
> > meta-version: LATEST
> > 12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for
> plugin:
> > com.google.code.maven-license-plugin:maven-license-plugin using
> > meta-version: RELEASE
> > 12.05.09 15:03:16 CEST: Adding resource folder
> > /jage-applications-vanilla-genetic/src/main/resources
> > 12.05.09 15:03:16 CEST: Build error for
> > /jage-applications-vanilla-genetic/pom.xml;
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> construct
> > build plan for: jAgE applications vanilla-genetic
> > Id: org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
> > task-segment: [process-resources]. Reason: Failed to load plugin
> descriptor
> > for: com.google.code.maven-license-plugin:maven-license-plugin:check.
> Cannot
> > discover it's default phase, specified in its plugin descriptor.
> > 12.05.09 15:03:16 CEST: Setting source compatibility: 1.5
> > 12.05.09 15:03:16 CEST: Setting target compatibility: 1.5
> >
> > Search result for -
> >
> http://www.google.pl/search?q=Failed+to+load+plugin+descriptor+for%3A+com.google.code.maven-license-plugin%3Amaven-license-plugin%3Acheck.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a
> > - doesn't bring any answers.
>
> I also tried commenting this part of pom.xml:
>                        <!-- check license -->
>                        <plugin>
>
>  <groupId>com.google.code.maven-license-plugin</groupId>
>
>  <artifactId>maven-license-plugin</artifactId>
>                                <configuration>
>                                        <basedir>${basedir}</basedir>
>                                        <header>src/etc/license.txt</header>
>                                        <quiet>false</quiet>
>                                        <failIfMissing>false</failIfMissing>
>                                        <includes>
>
>  <include>src/**/*.java</include>
>
>  <include>src/**/*.html</include>
>
>  <include>**/test/**/*.java</include>
>                                        </includes>
>
>  <useDefaultExcludes>true</useDefaultExcludes>
>
>  <useDefaultMapping>true</useDefaultMapping>
>                                        <encoding>UTF-8</encoding>
>                                </configuration>
>                                <executions>
>                                        <execution>
>                                                <goals>
>                                                        <goal>check</goal>
>                                                </goals>
>                                        </execution>
>                                </executions>
>                        </plugin>
>
> I also tried adding this:
>                <dependency>
>
>  <groupId>com.google.code.maven-license-plugin</groupId>
>                        <artifactId>maven-license-plugin</artifactId>
>                        <version>1.4.0</version>
>                </dependency>
>
> Nothing works and I'm making blind guesses, but I'm sure that solution
> is obvious :/
>
> Best regards
> Michał Stefanów
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

Posted by Michał Stefanów <ms...@gmail.com>.
I don't want to send a blank message just to see whether I can post to
mailing list. There is some traffic and I cannot imagine that such
experts couldn't solve my problem :) Honestly all my efforts are
wasted and don't know what to do.

> I'm following "setup from zero" tutorial and one one the point contains
> following phrase:
> import all projects to Eclipse then select all of them and click Maven /
> enable dependency management.
>
> Unfortunately this generates following output:
> 12.05.09 15:03:16 CEST: [INFO]
> ------------------------------------------------------------------------
> 12.05.09 15:03:16 CEST: [INFO] Building jAgE applications vanilla-genetic
> 12.05.09 15:03:16 CEST: [INFO]
> 12.05.09 15:03:16 CEST: [INFO] Id:
> org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
> 12.05.09 15:03:16 CEST: [INFO] task-segment: [process-resources]
> 12.05.09 15:03:16 CEST: [INFO]
> ------------------------------------------------------------------------
> 12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for plugin:
> com.google.code.maven-license-plugin:maven-license-plugin using
> meta-version: LATEST
> 12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for plugin:
> com.google.code.maven-license-plugin:maven-license-plugin using
> meta-version: RELEASE
> 12.05.09 15:03:16 CEST: Adding resource folder
> /jage-applications-vanilla-genetic/src/main/resources
> 12.05.09 15:03:16 CEST: Build error for
> /jage-applications-vanilla-genetic/pom.xml;
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to construct
> build plan for: jAgE applications vanilla-genetic
> Id: org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
> task-segment: [process-resources]. Reason: Failed to load plugin descriptor
> for: com.google.code.maven-license-plugin:maven-license-plugin:check. Cannot
> discover it's default phase, specified in its plugin descriptor.
> 12.05.09 15:03:16 CEST: Setting source compatibility: 1.5
> 12.05.09 15:03:16 CEST: Setting target compatibility: 1.5
>
> Search result for -
> http://www.google.pl/search?q=Failed+to+load+plugin+descriptor+for%3A+com.google.code.maven-license-plugin%3Amaven-license-plugin%3Acheck.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a
> - doesn't bring any answers.

I also tried commenting this part of pom.xml:
			<!-- check license -->
			<plugin>
				<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<configuration>
					<basedir>${basedir}</basedir>
					<header>src/etc/license.txt</header>
					<quiet>false</quiet>
					<failIfMissing>false</failIfMissing>
					<includes>
						<include>src/**/*.java</include>
						<include>src/**/*.html</include>
						<include>**/test/**/*.java</include>
					</includes>
					<useDefaultExcludes>true</useDefaultExcludes>
					<useDefaultMapping>true</useDefaultMapping>
					<encoding>UTF-8</encoding>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>check</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

I also tried adding this:
		<dependency>
			<groupId>com.google.code.maven-license-plugin</groupId>
			<artifactId>maven-license-plugin</artifactId>
			<version>1.4.0</version>
		</dependency>

Nothing works and I'm making blind guesses, but I'm sure that solution
is obvious :/

Best regards
Michał Stefanów

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Failed to load plugin descriptor for: com.google.code.maven-license-plugin:maven-license-plugin:check

Posted by Michał Stefanów <ms...@gmail.com>.
Hi there,
I'm following "setup from zero" tutorial and one one the point contain
following phrase:
import all projects to Eclipse then select all of them and click Maven
/ enable dependency management.

Unfortunately this generates following output:
12.05.09 15:03:16 CEST: [INFO]
------------------------------------------------------------------------
12.05.09 15:03:16 CEST: [INFO] Building jAgE applications vanilla-genetic
12.05.09 15:03:16 CEST: [INFO]
12.05.09 15:03:16 CEST: [INFO] Id:
org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
12.05.09 15:03:16 CEST: [INFO] task-segment: [process-resources]
12.05.09 15:03:16 CEST: [INFO]
------------------------------------------------------------------------
12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for
plugin: com.google.code.maven-license-plugin:maven-license-plugin
using meta-version: LATEST
12.05.09 15:03:16 CEST: [INFO] Attempting to resolve a version for
plugin: com.google.code.maven-license-plugin:maven-license-plugin
using meta-version: RELEASE
12.05.09 15:03:16 CEST: Adding resource folder
/jage-applications-vanilla-genetic/src/main/resources
12.05.09 15:03:16 CEST: Build error for
/jage-applications-vanilla-genetic/pom.xml;
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
construct build plan for: jAgE applications vanilla-genetic
Id: org.jage.student:jage-applications-vanilla-genetic:jar:2.2.0
task-segment: [process-resources]. Reason: Failed to load plugin
descriptor for:
com.google.code.maven-license-plugin:maven-license-plugin:check.
Cannot discover it's default phase, specified in its plugin
descriptor.
12.05.09 15:03:16 CEST: Setting source compatibility: 1.5
12.05.09 15:03:16 CEST: Setting target compatibility: 1.5

Search result for -
http://www.google.pl/search?q=Failed+to+load+plugin+descriptor+for%3A+com.google.code.maven-license-plugin%3Amaven-license-plugin%3Acheck.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a
- doesn't bring any answers.

I'm completely new to Maven2, I'm just following tutorial, any
suggestions will be appreciated.
Best regards
Michał Stefanów

PS. I've sent this message this afternoon but at that time I haven't
been subscribed to this mailing list, if you received this message
twice - sorry.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org