Repository: maven-plugin-testing
Updated Branches:
  refs/heads/master b8c654b6b -> 4a374fc5a


[MPLUGINTESTING-47] Incorrect Mojo Java5 annotations in example

Signed-off-by: Anders Hammar <and...@hammar.net>


Project: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/commit/4a374fc5
Tree: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/tree/4a374fc5
Diff: http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/diff/4a374fc5

Branch: refs/heads/master
Commit: 4a374fc5a308a6416bfbdaf1c3f69eafefb60abd
Parents: b8c654b
Author: Anders Hammar <and...@hammar.net>
Authored: Thu Jan 14 09:45:30 2016 +0100
Committer: Anders Hammar <and...@hammar.net>
Committed: Thu Jan 14 09:45:30 2016 +0100

----------------------------------------------------------------------
 .../src/site/apt/examples/complex-mojo-parameters.apt            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-plugin-testing/blob/4a374fc5/maven-plugin-testing-harness/src/site/apt/examples/complex-mojo-parameters.apt
----------------------------------------------------------------------
diff --git 
a/maven-plugin-testing-harness/src/site/apt/examples/complex-mojo-parameters.apt
 
b/maven-plugin-testing-harness/src/site/apt/examples/complex-mojo-parameters.apt
index a0761c2..29b78a9 100644
--- 
a/maven-plugin-testing-harness/src/site/apt/examples/complex-mojo-parameters.apt
+++ 
b/maven-plugin-testing-harness/src/site/apt/examples/complex-mojo-parameters.apt
@@ -60,7 +60,7 @@ public class MyMojo
     /**
      * The Maven Project.
      */
-    @Component
+    @Parameter( defaultValue = "${project}", readonly = true )
     protected MavenProject project;
 
     /**
@@ -72,7 +72,7 @@ public class MyMojo
     /**
      * The Maven Settings.
      */
-    @Component
+    @Parameter( defaultValue = "${settings}", readonly = true )
     private Settings settings;
 
     ...

Reply via email to