brief-engineer-67497
12/10/2018, 8:45 AMchilly-librarian-83669
12/10/2018, 11:33 AMbrief-engineer-67497
12/10/2018, 12:29 PMchilly-librarian-83669
12/10/2018, 4:12 PMbrief-engineer-67497
12/10/2018, 4:24 PM[source]
#unmatched: fail
lang_canonicalizations: {
'jvm': ('java', 'scala', ''),
'protobuf': ('proto', ),
'py': ('python',),
'golang': ('go',),
'resources': ('resources', '',),
}
source_root_patterns: +[
'app/*',
'conf/*',
]
test_root_patterns: +[
'it/*',
'src/it/*',
]
chilly-librarian-83669
12/10/2018, 4:29 PMbrief-engineer-67497
12/10/2018, 4:34 PMsrc/main
is a default source_root_patterns and pants build its root by appending source_root to language, hence the "resources" languages to let him find the src/main/resources
rootchilly-librarian-83669
12/10/2018, 4:36 PMbrief-engineer-67497
12/10/2018, 4:36 PM.configs(IntegrationTest).settings(Defaults.itSettings)
to your project definitionchilly-librarian-83669
12/10/2018, 4:40 PMbrief-engineer-67497
12/10/2018, 4:41 PMchilly-librarian-83669
12/10/2018, 4:42 PMbrief-engineer-67497
12/10/2018, 4:44 PMchilly-librarian-83669
12/10/2018, 4:53 PMbrief-engineer-67497
12/10/2018, 4:57 PMjar_library(
name='core',
jars=[
jar(
org='org.hibernate',
name='hibernate-core',
rev='5.2.6.Final',
excludes = [
exclude('dom4j','dom4j')
]), # see <http://stackoverflow.com/a/36226800/1992669>
jar(
org='dom4j',
name='dom4j',
rev='1.6',
)
],
)
chilly-librarian-83669
12/10/2018, 4:59 PMaloof-angle-91616
12/10/2018, 5:23 PM