Class AssembleMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="assemble",
          defaultPhase=PROCESS_SOURCES,
          threadSafe=true)
    public final class AssembleMojo
    extends org.apache.maven.plugin.AbstractMojo
    Pull all necessary EO XML files from Objectionary and parse them all.
    Since:
    0.1
    • Field Detail

      • project

        @Parameter(defaultValue="${project}",
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
        Maven project.
      • session

        @Parameter(defaultValue="${session}",
                   readonly=true)
        protected org.apache.maven.execution.MavenSession session
        Maven session.
      • manager

        @Component
        protected org.apache.maven.plugin.BuildPluginManager manager
        Maven plugin manager.
      • foreign

        @Parameter(required=true,
                   defaultValue="${project.build.directory}/eo-foreign.csv")
        protected File foreign
        File with foreign "tojos".
      • targetDir

        @Parameter(required=true,
                   defaultValue="${project.build.directory}/eo")
        protected File targetDir
        Target directory.
      • scope

        @Parameter
        protected String scope
        Current scope (either "compile" or "test").
    • Constructor Detail

      • AssembleMojo

        public AssembleMojo()
    • Method Detail

      • execute

        public final void execute()
                           throws org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoFailureException
      • tojos

        protected final Tojos tojos()
        Tojos to use.
        Returns:
        Tojos to use