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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to