GithubHelp home page GithubHelp logo

maven-plugins's Issues

foundation-service 5.0.0找不到

请问一下foundation-service是还没更新吗,这里依赖了5.0.0,但是foundation-service的项目最新的版本才4.1.1

missing package 'org.unidal.maven.plugins.plexus.profile'?

missing package 'org.unidal.maven.plugins.plexus.profile'?

I got some errors while I was compiling codegen-maven-plugin.

[kemp@ora234 codegen-maven-plugin]$ mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Code Generation Maven Plugin 2.0.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-plugin-plugin:2.9:descriptor (default-descriptor) @ codegen-maven-plugin ---
[INFO] Using 'utf-8' encoding to read mojo metadata.
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 9 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ codegen-maven-plugin ---
[debug] execute contextualize
[INFO] Using 'utf-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ codegen-maven-plugin ---
[INFO] Compiling 1 source file to /opt/dianping/maven-plugins/codegen-maven-plugin/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[26,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[27,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[28,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[29,56] package org.unidal.maven.plugins.plexus.profile.transform does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[71,13] cannot find symbol
symbol : class Profile
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[26,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[27,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[28,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[29,56] package org.unidal.maven.plugins.plexus.profile.transform does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[71,13] cannot find symbol
symbol : class Profile
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[103,9] cannot find symbol
symbol : class Env
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[112,17] cannot find symbol
symbol : class Property
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[258,6] cannot find symbol
symbol : class DefaultDomParser
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[258,36] cannot find symbol
symbol : class DefaultDomParser
location: class org.unidal.maven.plugin.codegen.PlexusMojo
[INFO] 14 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.630s
[INFO] Finished at: Tue Apr 09 13:30:42 CST 2013
[INFO] Final Memory: 12M/164M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project codegen-maven-plugin: Compilation failure: Compilation failure:
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[26,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[27,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[28,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[29,56] package org.unidal.maven.plugins.plexus.profile.transform does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[71,13] cannot find symbol
[ERROR] symbol : class Profile
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[26,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[27,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[28,53] package org.unidal.maven.plugins.plexus.profile.entity does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[29,56] package org.unidal.maven.plugins.plexus.profile.transform does not exist
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[71,13] cannot find symbol
[ERROR] symbol : class Profile
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[103,9] cannot find symbol
[ERROR] symbol : class Env
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[112,17] cannot find symbol
[ERROR] symbol : class Property
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[258,6] cannot find symbol
[ERROR] symbol : class DefaultDomParser
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] /opt/dianping/maven-plugins/codegen-maven-plugin/src/main/java/org/unidal/maven/plugin/codegen/PlexusMojo.java:[258,36] cannot find symbol
[ERROR] symbol : class DefaultDomParser
[ERROR] location: class org.unidal.maven.plugin.codegen.PlexusMojo
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

mvn install error

[ERROR] Failed to execute goal on project codegen: Could not resolve dependencies for project org.unidal.maven.plugins:codegen:jar:2.3.1: Failure to find org.unidal.framework:foundation-service:jar:2.2.0 in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven has elapsed or updates are forced -> [Help 1]

use cat maven install error

urls[0] = file:/C:/develop/apache-maven-2.2.1/bin/../lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.apache.maven.project.MavenProject.getProjectBuildingRequest()Lorg/apache/maven/project/ProjectBuildingRequest;
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError: org.apache.maven.project.MavenProject.getProjectBuildingRequest()Lorg/apache/maven/project/ProjectBuildingRequest;
at org.unidal.maven.plugin.codegen.PlexusMojo.buildProperties(PlexusMojo.java:79)
at org.unidal.maven.plugin.codegen.PlexusMojo.execute(PlexusMojo.java:123)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 15 seconds

compile error.

hi guys,

I download the latest master release , when compile it with 'mvn compile' , got a prompt that
"Plugin org.unidal.maven.plugins:codegen-maven-plugin:2.2.0 or one of its dependencies could not be resolved: Failure to find org.unidal.maven.plugins:codegen-maven-plugin:jar:2.2.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]"

does anyone have any idea?

thanks very much!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.