File tree 22 files changed +46
-92
lines changed
invalid-and-excluded-extra
22 files changed +46
-92
lines changed Original file line number Diff line number Diff line change 1
- # Contributing to Presto
1
+ # Contributing to Trino
2
2
3
3
## Contributor License Agreement ("CLA")
4
4
5
- In order to accept your pull request, we need you to [ submit a CLA] ( https://github.com/prestosql /cla ) .
5
+ In order to accept your pull request, we need you to [ submit a CLA] ( https://github.com/trinodb /cla ) .
6
6
7
7
## License
8
8
9
- By contributing to Presto , you agree that your contributions will be licensed under the [ Apache License Version 2.0 (APLv2)] ( LICENSE ) .
9
+ By contributing to Trino , you agree that your contributions will be licensed under the [ Apache License Version 2.0 (APLv2)] ( LICENSE ) .
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public void testInvalidMissingProvided()
109
109
File basedir = resources .getBasedir ("invalid-missing" );
110
110
maven .forProject (basedir )
111
111
.execute ("verify" )
112
- .assertLogText ("[ERROR] Trino plugin dependency io.airlift:units must have scope 'provided'." );
112
+ .assertLogText ("[ERROR] Trino plugin dependency io.airlift:slice must have scope 'provided'." );
113
113
}
114
114
115
115
@ Test
Original file line number Diff line number Diff line change 28
28
@ SuppressWarnings ({"JUnitTestNG" , "PublicField" })
29
29
public class GeneratorIntegrationTest
30
30
{
31
- private static final String DESCRIPTOR = "META-INF/services/io.prestosql .spi.Plugin" ;
31
+ private static final String DESCRIPTOR = "META-INF/services/io.trino .spi.Plugin" ;
32
32
33
33
@ Rule
34
34
public final TestResources resources = new TestResources ();
Original file line number Diff line number Diff line change 13
13
14
14
<dependencies >
15
15
<dependency >
16
- <groupId >io.prestosql </groupId >
17
- <artifactId >presto -spi</artifactId >
18
- <version >300 </version >
16
+ <groupId >io.trino </groupId >
17
+ <artifactId >trino -spi</artifactId >
18
+ <version >351 </version >
19
19
<scope >provided</scope >
20
20
</dependency >
21
21
</dependencies >
27
27
<artifactId >trino-maven-plugin</artifactId >
28
28
<version >${it-plugin.version} </version >
29
29
<extensions >true</extensions >
30
- <configuration >
31
- <!-- TODO: remove after trino-spi is released -->
32
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
33
- <spiGroupId >io.prestosql</spiGroupId >
34
- <spiArtifactId >presto-spi</spiArtifactId >
35
- </configuration >
36
30
</plugin >
37
31
</plugins >
38
32
</build >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public abstract class AbstractPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class TestPlugin
6
6
extends AbstractPlugin
Original file line number Diff line number Diff line change 13
13
14
14
<dependencies >
15
15
<dependency >
16
- <groupId >io.prestosql </groupId >
17
- <artifactId >presto -spi</artifactId >
18
- <version >300 </version >
16
+ <groupId >io.trino </groupId >
17
+ <artifactId >trino -spi</artifactId >
18
+ <version >351 </version >
19
19
<scope >provided</scope >
20
20
</dependency >
21
21
</dependencies >
27
27
<artifactId >trino-maven-plugin</artifactId >
28
28
<version >${it-plugin.version} </version >
29
29
<extensions >true</extensions >
30
- <configuration >
31
- <!-- TODO: remove after trino-spi is released -->
32
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
33
- <spiGroupId >io.prestosql</spiGroupId >
34
- <spiArtifactId >presto-spi</spiArtifactId >
35
- </configuration >
36
30
</plugin >
37
31
</plugins >
38
32
</build >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class BasicPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 21
21
</dependency >
22
22
23
23
<dependency >
24
- <groupId >io.prestosql </groupId >
25
- <artifactId >presto -spi</artifactId >
26
- <version >300 </version >
24
+ <groupId >io.trino </groupId >
25
+ <artifactId >trino -spi</artifactId >
26
+ <version >351 </version >
27
27
<scope >provided</scope >
28
28
</dependency >
29
29
</dependencies >
39
39
<allowedProvidedDependencies >
40
40
<allowedProvidedDependency >com.google.guava:guava</allowedProvidedDependency >
41
41
</allowedProvidedDependencies >
42
- <!-- TODO: remove after trino-spi is released -->
43
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
44
- <spiGroupId >io.prestosql</spiGroupId >
45
- <spiArtifactId >presto-spi</spiArtifactId >
46
42
</configuration >
47
43
</plugin >
48
44
</plugins >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class ValidPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 13
13
14
14
<dependencies >
15
15
<dependency >
16
- <groupId >io.prestosql </groupId >
17
- <artifactId >presto -spi</artifactId >
18
- <version >300 </version >
16
+ <groupId >io.trino </groupId >
17
+ <artifactId >trino -spi</artifactId >
18
+ <version >351 </version >
19
19
<scope >provided</scope >
20
20
</dependency >
21
21
</dependencies >
27
27
<artifactId >trino-maven-plugin</artifactId >
28
28
<version >${it-plugin.version} </version >
29
29
<extensions >true</extensions >
30
- <configuration >
31
- <!-- TODO: remove after trino-spi is released -->
32
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
33
- <spiGroupId >io.prestosql</spiGroupId >
34
- <spiArtifactId >presto-spi</spiArtifactId >
35
- </configuration >
36
30
</plugin >
37
31
</plugins >
38
32
</build >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public interface MyPlugin
6
6
extends Plugin {}
Original file line number Diff line number Diff line change 29
29
</dependency >
30
30
31
31
<dependency >
32
- <groupId >io.prestosql </groupId >
33
- <artifactId >presto -spi</artifactId >
34
- <version >300 </version >
32
+ <groupId >io.trino </groupId >
33
+ <artifactId >trino -spi</artifactId >
34
+ <version >351 </version >
35
35
<scope >provided</scope >
36
36
</dependency >
37
37
</dependencies >
47
47
<allowedProvidedDependencies >
48
48
<allowedProvidedDependency >com.google.guava:guava</allowedProvidedDependency >
49
49
</allowedProvidedDependencies >
50
- <!-- TODO: remove after trino-spi is released -->
51
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
52
- <spiGroupId >io.prestosql</spiGroupId >
53
- <spiArtifactId >presto-spi</spiArtifactId >
54
50
</configuration >
55
51
</plugin >
56
52
</plugins >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class InvalidPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 2
2
<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" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
5
- <groupId >io.prestosql .maven.its</groupId >
5
+ <groupId >io.trino .maven.its</groupId >
6
6
<artifactId >invalid-extra</artifactId >
7
7
<version >1.0</version >
8
8
<packaging >trino-plugin</packaging >
21
21
</dependency >
22
22
23
23
<dependency >
24
- <groupId >io.prestosql </groupId >
25
- <artifactId >presto -spi</artifactId >
26
- <version >300 </version >
24
+ <groupId >io.trino </groupId >
25
+ <artifactId >trino -spi</artifactId >
26
+ <version >351 </version >
27
27
<scope >provided</scope >
28
28
</dependency >
29
29
</dependencies >
35
35
<artifactId >trino-maven-plugin</artifactId >
36
36
<version >${it-plugin.version} </version >
37
37
<extensions >true</extensions >
38
- <configuration >
39
- <!-- TODO: remove after trino-spi is released -->
40
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
41
- <spiGroupId >io.prestosql</spiGroupId >
42
- <spiArtifactId >presto-spi</spiArtifactId >
43
- </configuration >
44
38
</plugin >
45
39
</plugins >
46
40
</build >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class InvalidPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 12
12
</properties >
13
13
14
14
<dependencies >
15
- <!-- this dependency will bring in 'units ' transitively -->
15
+ <!-- this dependency will bring in 'slice ' transitively -->
16
16
<dependency >
17
17
<groupId >io.airlift</groupId >
18
- <artifactId >concurrent </artifactId >
19
- <version >0.178 </version >
18
+ <artifactId >stats </artifactId >
19
+ <version >205 </version >
20
20
</dependency >
21
21
22
22
<dependency >
23
- <groupId >io.prestosql </groupId >
24
- <artifactId >presto -spi</artifactId >
25
- <version >300 </version >
23
+ <groupId >io.trino </groupId >
24
+ <artifactId >trino -spi</artifactId >
25
+ <version >351 </version >
26
26
<scope >provided</scope >
27
27
</dependency >
28
28
41
41
<artifactId >trino-maven-plugin</artifactId >
42
42
<version >${it-plugin.version} </version >
43
43
<extensions >true</extensions >
44
- <configuration >
45
- <!-- TODO: remove after trino-spi is released -->
46
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
47
- <spiGroupId >io.prestosql</spiGroupId >
48
- <spiArtifactId >presto-spi</spiArtifactId >
49
- </configuration >
50
44
</plugin >
51
45
</plugins >
52
46
</build >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class InvalidPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 21
21
</dependency >
22
22
23
23
<dependency >
24
- <groupId >io.prestosql </groupId >
25
- <artifactId >presto -spi</artifactId >
26
- <version >300 </version >
24
+ <groupId >io.trino </groupId >
25
+ <artifactId >trino -spi</artifactId >
26
+ <version >351 </version >
27
27
<scope >provided</scope >
28
28
</dependency >
29
29
</dependencies >
37
37
<extensions >true</extensions >
38
38
<configuration >
39
39
<skipCheckSpiDependencies >true</skipCheckSpiDependencies >
40
- <!-- TODO: remove after trino-spi is released -->
41
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
42
- <spiGroupId >io.prestosql</spiGroupId >
43
- <spiArtifactId >presto-spi</spiArtifactId >
44
40
</configuration >
45
41
</plugin >
46
42
</plugins >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class InvalidPlugin
6
6
implements Plugin
Original file line number Diff line number Diff line change 29
29
</dependency >
30
30
31
31
<dependency >
32
- <groupId >io.prestosql </groupId >
33
- <artifactId >presto -spi</artifactId >
34
- <version >300 </version >
32
+ <groupId >io.trino </groupId >
33
+ <artifactId >trino -spi</artifactId >
34
+ <version >351 </version >
35
35
<scope >provided</scope >
36
36
</dependency >
37
37
</dependencies >
48
48
<allowedProvidedDependency >com.google.guava:guava</allowedProvidedDependency >
49
49
<allowedProvidedDependency >org.scala-lang:scala-library</allowedProvidedDependency >
50
50
</allowedProvidedDependencies >
51
- <!-- TODO: remove after trino-spi is released -->
52
- <pluginClassName >io.prestosql.spi.Plugin</pluginClassName >
53
- <spiGroupId >io.prestosql</spiGroupId >
54
- <spiArtifactId >presto-spi</spiArtifactId >
55
51
</configuration >
56
52
</plugin >
57
53
</plugins >
Original file line number Diff line number Diff line change 1
1
package its ;
2
2
3
- import io .prestosql .spi .Plugin ;
3
+ import io .trino .spi .Plugin ;
4
4
5
5
public class ValidPlugin
6
6
implements Plugin
You can’t perform that action at this time.
0 commit comments