1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| [INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - dra.proto.laf:dra.proto.laf:jar:0.0.1
[INFO] task-segment: [clean, compile, jar]
[INFO] ----------------------------------------------------------------------------
[INFO] clean:clean
[INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\target
[INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\bin\classes
[INFO] Deleting directory D:\eclipse-maestro\workspace\dra.proto.laf\target\test-classes
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
Compiling 60 source files to D:\eclipse-maestro\workspace\dra.proto.laf\bin\classes
[ERROR] project-execute : dra.proto.laf:dra.proto.laf:jar:0.0.1 ( task-segment: [clean, compile, jar] )
Diagnosis: Invalid task 'jar': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: Invalid task 'jar': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1510)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:487)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) |