-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #8895 - Introduce jetty-home-<ver>-with-docs.zip
#8898
Conversation
Signed-off-by: Joakim Erdfelt <[email protected]>
This isn't 100% ready (yet). |
The output ...
|
Doesn't lengthen the build appreciably, seems fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to link to these from the demo page on the distribution, but looks good.
sounds good. |
Now the jetty-home artifact builds at the right time in the reactor. Signed-off-by: Joakim Erdfelt <[email protected]>
+ Fix for circular dependency loop test-distribution -> jetty-home -> jetty-documentation -> jetty-asciidoctor-extensions -> test-distribution + Remove any deps on anything in org.eclipse.jetty from new module Signed-off-by: Joakim Erdfelt <[email protected]>
Signed-off-by: Joakim Erdfelt <[email protected]>
tests/jetty-home-tester/src/main/java/org/eclipse/jetty/tests/hometester/JettyHomeTester.java
Outdated
Show resolved
Hide resolved
doh looks to be some chicken and eggs problem to solve here :) |
Signed-off-by: Olivier Lamy <[email protected]>
Signed-off-by: Joakim Erdfelt <[email protected]>
…tility' into fix/jetty-10-home-with-docs # Conflicts: # tests/jetty-home-tester/src/main/java/org/eclipse/jetty/tests/hometester/JettyHomeTester.java
Signed-off-by: Joakim Erdfelt <[email protected]>
@@ -252,14 +252,18 @@ | |||
<artifactId>jetty-slf4j-impl</artifactId> | |||
<scope>test</scope> | |||
</dependency> | |||
<dependency> | |||
<!--<dependency> | |||
<groupId>org.eclipse.jetty</groupId> | |||
<artifactId>jetty-home</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@olamy do you recall why is this dependency here?
When I comment it out, the plugin still works (and tests properly).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll just delete it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because jetty-maven-plugin depends on it (see https://github.com/eclipse/jetty.project/blob/3569f6506618f0a4d95f76b72979cc0548cc6a42/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java#L68 and https://github.com/eclipse/jetty.project/blob/3569f6506618f0a4d95f76b72979cc0548cc6a42/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java#L557) there is forked mode using/downloaded the distro
It can work because you download a SNAPSHOT of jetty-home or use one already here locally but it really depends on it.
Try running: mvn clean install -pl :jetty-maven-plugin -am
with an empty repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see that jetty-home
doesn't build before jetty-maven-plugin
, but I really cannot make it fail, even with a new <version>
!
Signed-off-by: Joakim Erdfelt <[email protected]>
Signed-off-by: Joakim Erdfelt <[email protected]>
Signed-off-by: Joakim Erdfelt <[email protected]>
Signed-off-by: Joakim Erdfelt <[email protected]>
jetty-maven-plugin/pom.xml
Outdated
@@ -252,120 +252,6 @@ | |||
<artifactId>jetty-slf4j-impl</artifactId> | |||
<scope>test</scope> | |||
</dependency> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope it depends on it.
see comment here #8898 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yet the build is green without it present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this present, we get ...
[ERROR] [ERROR] The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.eclipse.jetty:javadoc:10.0.13-SNAPSHOT'}' and
'Vertex{label='org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT'}' introduces to cycle in the graph
org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT -->
org.eclipse.jetty:jetty-home:10.0.13-SNAPSHOT -->
org.eclipse.jetty:javadoc:10.0.13-SNAPSHOT -->
org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT @
[ERROR] The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.eclipse.jetty:javadoc:10.0.13-SNAPSHOT'}' and
'Vertex{label='org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT'}' introduces to cycle in the graph
org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT -->
org.eclipse.jetty:jetty-home:10.0.13-SNAPSHOT -->
org.eclipse.jetty:javadoc:10.0.13-SNAPSHOT -->
org.eclipse.jetty:jetty-maven-plugin:10.0.13-SNAPSHOT -> [Help 1]
Perhaps we should remove jetty-maven-plugin from the javadoc?
Signed-off-by: Joakim Erdfelt <[email protected]>
this cause #10312 |
Experiment to see if a
jetty-home-<ver>-with-docs.zip
can be done, and makes sense.Signed-off-by: Joakim Erdfelt [email protected]