Hi:

The exec-maven-plugin not start when I build.

I pulled all the code from master branch and try to build it with the
pom.xml under the http2-client folder. And my pom.xml here:

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

  <parent>

    <groupId>org.eclipse.jetty.http2</groupId>

    <artifactId>http2-parent</artifactId>

    <version>9.3.4-SNAPSHOT</version>

  </parent>


  <modelVersion>4.0.0</modelVersion>

  <artifactId>http2-client</artifactId>

  <name>Jetty :: HTTP2 :: Client</name>


 <properties>

    <bundle-symbolic-name>${project.groupId}.client</bundle-symbolic-name>

  </properties>


  <build>

    <plugins>

        <plugin>

            <groupId>org.codehaus.mojo</groupId>

            <artifactId>exec-maven-plugin</artifactId>

            <version>1.4.0</version>

            <executions>

                <execution>

                    <goals>

                        <goal>exec</goal>

                    </goals>

                </execution>

            </executions>

            <configuration>

                <executable>java</executable>

                <arguments>

                    <argument>org.eclipse.jetty.http2.client.Client</
argument>

                </arguments>

            </configuration>

        </plugin>

    </plugins>

</build>


    <dependencies>

        <dependency>

            <groupId>org.eclipse.jetty.http2</groupId>

            <artifactId>http2-common</artifactId>

            <version>${project.version}</version>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty</groupId>

            <artifactId>jetty-alpn-client</artifactId>

            <version>${project.version}</version>

        </dependency>


        <dependency>

            <groupId>org.eclipse.jetty.toolchain</groupId>

            <artifactId>jetty-test-helper</artifactId>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty</groupId>

            <artifactId>jetty-server</artifactId>

            <version>${project.version}</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty</groupId>

            <artifactId>jetty-servlet</artifactId>

            <version>${project.version}</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty</groupId>

            <artifactId>jetty-servlets</artifactId>

            <version>${project.version}</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty</groupId>

            <artifactId>jetty-proxy</artifactId>

            <version>${project.version}</version>

            <scope>test</scope>

        </dependency>

        <dependency>

            <groupId>org.eclipse.jetty.http2</groupId>

            <artifactId>http2-server</artifactId>

            <version>${project.version}</version>

            <scope>test</scope>

        </dependency>

    </dependencies>


</project>
And the result:

[INFO] Scanning for projects...

[INFO]


[INFO]
------------------------------------------------------------------------

[INFO] Building Jetty :: HTTP2 :: Client 9.3.4-SNAPSHOT

[INFO]
------------------------------------------------------------------------

[INFO]

[INFO] --- build-helper-maven-plugin:1.5:parse-version (set-osgi-version) @
http2-client ---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-java) @ http2-client
---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (ban-junit-dep.jar) @
http2-client ---

[INFO]

[INFO] --- maven-remote-resources-plugin:1.2:process (default) @
http2-client ---

[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.

[INFO] Setting property: velocimacro.messages.on => 'false'.

[INFO] Setting property: resource.loader => 'classpath'.

[INFO] Setting property: resource.manager.logwhenfound => 'false'.

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
http2-client ---

[debug] execute contextualize

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/src/main/resources

[INFO] Copying 1 resource

[INFO]

[INFO] --- jetty-version-maven-plugin:1.0.10:attach-version-text
(attach-version) @ http2-client ---

[INFO]

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
http2-client ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] >>> maven-pmd-plugin:3.4:check (named-logging-enforcement) > :pmd @
http2-client >>>

[INFO]

[INFO] --- maven-pmd-plugin:3.4:pmd (pmd) @ http2-client ---

[INFO]

[INFO] <<< maven-pmd-plugin:3.4:check (named-logging-enforcement) < :pmd @
http2-client <<<

[INFO]

[INFO] --- maven-pmd-plugin:3.4:check (named-logging-enforcement) @
http2-client ---

[INFO]

[INFO]

[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) >
generate-sources @ http2-client >>>

[INFO]

[INFO] --- build-helper-maven-plugin:1.5:parse-version (set-osgi-version) @
http2-client ---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-java) @ http2-client
---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (ban-junit-dep.jar) @
http2-client ---

[INFO]

[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) <
generate-sources @ http2-client <<<

[INFO]

[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ http2-client ---

[INFO] about.html already added, skipping

[INFO] Building jar:
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/target/http2-client-9.3.4-SNAPSHOT-sources.jar

[INFO] about.html already added, skipping

[INFO]

[INFO] >>> maven-bundle-plugin:2.5.4:manifest (default) > process-classes @
http2-client >>>

[INFO]

[INFO] --- build-helper-maven-plugin:1.5:parse-version (set-osgi-version) @
http2-client ---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-java) @ http2-client
---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (ban-junit-dep.jar) @
http2-client ---

[INFO]

[INFO] --- maven-remote-resources-plugin:1.2:process (default) @
http2-client ---

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
http2-client ---

[debug] execute contextualize

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/src/main/resources

[INFO] Copying 1 resource

[INFO] Copying 1 resource

[INFO]

[INFO] --- jetty-version-maven-plugin:1.0.10:attach-version-text
(attach-version) @ http2-client ---

[INFO]

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
http2-client ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] >>> maven-pmd-plugin:3.4:check (named-logging-enforcement) > :pmd @
http2-client >>>

[INFO]

[INFO] --- maven-pmd-plugin:3.4:pmd (pmd) @ http2-client ---

[INFO]

[INFO] <<< maven-pmd-plugin:3.4:check (named-logging-enforcement) < :pmd @
http2-client <<<

[INFO]

[INFO] --- maven-pmd-plugin:3.4:check (named-logging-enforcement) @
http2-client ---

[INFO]

[INFO]

[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) >
generate-sources @ http2-client >>>

[INFO]

[INFO] --- build-helper-maven-plugin:1.5:parse-version (set-osgi-version) @
http2-client ---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-java) @ http2-client
---

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (ban-junit-dep.jar) @
http2-client ---

[INFO]

[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) <
generate-sources @ http2-client <<<

[INFO]

[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ http2-client ---

[INFO] about.html already added, skipping

[INFO] about.html already added, skipping

[INFO] about.html already added, skipping

[INFO] Building jar:
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/target/http2-client-9.3.4-SNAPSHOT-sources.jar

[INFO] about.html already added, skipping

[INFO] about.html already added, skipping

[INFO] about.html already added, skipping

[INFO]

[INFO] <<< maven-bundle-plugin:2.5.4:manifest (default) < process-classes @
http2-client <<<

[INFO]

[INFO] --- maven-bundle-plugin:2.5.4:manifest (default) @ http2-client ---

[INFO]

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ http2-client ---

[debug] execute contextualize

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO] Copying 1 resource

[INFO]

[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @
http2-client ---

[INFO] Not compiling test sources

[INFO]

[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ http2-client
---

[INFO] Tests are skipped.

[INFO]

[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ http2-client ---

[INFO] Building jar:
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/target/http2-client-9.3.4-SNAPSHOT.jar

[INFO]

[INFO] --- maven-site-plugin:3.0-beta-3:attach-descriptor
(attach-descriptor) @ http2-client ---

[INFO]

[INFO] --- maven-install-plugin:2.4:install (default-install) @
http2-client ---

[INFO] Installing
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/target/http2-client-9.3.4-SNAPSHOT.jar
to
/Users/MuhuiJiang/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.4-SNAPSHOT/http2-client-9.3.4-SNAPSHOT.jar

[INFO] Installing
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/pom.xml
to
/Users/MuhuiJiang/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.4-SNAPSHOT/http2-client-9.3.4-SNAPSHOT.pom

[INFO] Installing
/Users/MuhuiJiang/Downloads/jetty.project-master/jetty-http2/http2-client/target/http2-client-9.3.4-SNAPSHOT-sources.jar
to
/Users/MuhuiJiang/.m2/repository/org/eclipse/jetty/http2/http2-client/9.3.4-SNAPSHOT/http2-client-9.3.4-SNAPSHOT-sources.jar

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 8.308 s

[INFO] Finished at: 2015-09-16T00:53:06+08:00

[INFO] Final Memory: 30M/460M

[INFO]
------------------------------------------------------------------------


It seems the Client.main is not execute. Anybody know why?


Best Regards

Muhui Jiang


2015-09-14 22:44 GMT+08:00 Simone Bordet <[email protected]>:

> Hi,
>
> On Mon, Sep 14, 2015 at 4:22 PM, Muhui Jiang <[email protected]> wrote:
> > Okay, I am going to do it.
> >
> > I used the release jar packages before for my testing.
> >
> >  If I want to build Jetty source I pulled from github, it seems I need to
> > use maven. Am I right?
>
> Maven and JDK 8.
>
> Use:
>
> mvn clean install -DskipTests=true
>
> to speed up the build by skipping all tests.
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to