|
79 | 79 | </execution> |
80 | 80 | </executions> |
81 | 81 | </plugin> |
82 | | - <plugin> |
83 | | - <groupId>org.jruby.maven</groupId> |
84 | | - <artifactId>gem-maven-plugin</artifactId> |
85 | | - <version>${jruby.plugins.version}</version> |
86 | | - <executions> |
87 | | - <execution> |
88 | | - <goals><goal>initialize</goal></goals> |
89 | | - </execution> |
90 | | - </executions> |
91 | | - </plugin> |
| 82 | + <plugin> |
| 83 | + <groupId>org.jruby.maven</groupId> |
| 84 | + <artifactId>gem-maven-plugin</artifactId> |
| 85 | + <version>${jruby.plugins.version}</version> |
| 86 | + <executions> |
| 87 | + <execution> |
| 88 | + <goals><goal>initialize</goal></goals> |
| 89 | + </execution> |
| 90 | + </executions> |
| 91 | + </plugin> |
92 | 92 | </plugins> |
93 | 93 | <pluginManagement> |
94 | 94 | <plugins> |
|
102 | 102 | </plugin> |
103 | 103 | <plugin> |
104 | 104 | <groupId>org.mortbay.jetty</groupId> |
105 | | - <artifactId>maven-jetty-plugin</artifactId> |
106 | | - <version>6.1.26</version> |
| 105 | + <artifactId>jetty-maven-plugin</artifactId> |
| 106 | + <version>${jetty.version}</version> |
107 | 107 | <configuration> |
108 | | - <webApp>${project.build.directory}/test.war</webApp> |
| 108 | + <webAppConfig> |
| 109 | + <contextPath>/</contextPath> |
| 110 | + <configurationClasses> |
| 111 | + <configurationClass>org.eclipse.jetty.webapp.WebXmlConfiguration</configurationClass> |
| 112 | + <configurationClass>org.eclipse.jetty.webapp.WebInfConfiguration</configurationClass> |
| 113 | + <configurationClass>org.eclipse.jetty.webapp.TagLibConfiguration</configurationClass> |
| 114 | + <configurationClass>org.eclipse.jetty.webapp.MetaInfConfiguration</configurationClass> |
| 115 | + <configurationClass>org.eclipse.jetty.webapp.FragmentConfiguration</configurationClass> |
| 116 | + <configurationClass>org.eclipse.jetty.webapp.JettyWebXmlConfiguration</configurationClass> |
| 117 | + <!-- intentionally no AnnotationConfiguration --> |
| 118 | + </configurationClasses> |
| 119 | + </webAppConfig> |
109 | 120 | <stopPort>9966</stopPort> |
110 | 121 | <stopKey>warbler_stop</stopKey> |
| 122 | + <scanIntervalSeconds>0</scanIntervalSeconds> |
| 123 | + <daemon>true</daemon> |
111 | 124 | </configuration> |
112 | 125 | <executions> |
113 | 126 | <execution> |
|
116 | 129 | <goals> |
117 | 130 | <goal>run-war</goal> |
118 | 131 | </goals> |
119 | | - <configuration> |
120 | | - <scanIntervalSeconds>0</scanIntervalSeconds> |
121 | | - <daemon>true</daemon> |
122 | | - </configuration> |
123 | 132 | </execution> |
124 | 133 | <execution> |
125 | 134 | <id>stop-jetty</id> |
|
146 | 155 | <executions> |
147 | 156 | <execution> |
148 | 157 | <id>bundle-install</id> |
149 | | - <goals><goal>jruby</goal></goals> |
| 158 | + <goals><goal>jruby</goal></goals> |
150 | 159 | <configuration> |
151 | 160 | <args>-C ${basedir}/src/main/ruby -S ${gem.home}/bin/bundle install</args> |
152 | 161 | </configuration> |
|
0 commit comments