Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Builds fail with something like
- DEBUG util.py:257: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
- DEBUG util.py:257: [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.controller:mdsal-artifacts:pom:1.4.1-Boron-SR1 in koji-task-12259586-repo (http://download.eng.bos.redhat.com/brewroot/work/tasks/9586/12259586) @ line 348, column 25
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller:features-mdsal:xml:features is missing. @ line 382, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-inventory:jar is missing. @ line 420, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-topology:jar is missing. @ line 424, column 21
- DEBUG util.py:257: @
- DEBUG util.py:257: [ERROR] The build could not read 1 project -> [Help 1]
- DEBUG util.py:257: [ERROR]
- DEBUG util.py:257: [ERROR] The project org.opendaylight.openflowplugin:features-openflowplugin-he:0.3.1.Boron-SR1-redhat-1 (/maven/build/odl-openflowplugin/features-he/pom.xml) has 4 errors
- DEBUG util.py:257: [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.controller:mdsal-artifacts:pom:1.4.1-Boron-SR1 in koji-task-12259586-repo (http://download.eng.bos.redhat.com/brewroot/work/tasks/9586/12259586) @ line 348, column 25 -> [Help 2]
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller:features-mdsal:xml:features is missing. @ line 382, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-inventory:jar is missing. @ line 420, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-topology:jar is missing. @ line 424, column 21
- So openflowplugin/features-he/pom.xml is importing controller.mdsal-artifacts
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>${mdsal.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- So looking at `controller/opendaylight/md-sal/mdsal-artifacts`, note the depdendencies on the three arifacts causing errors
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>features-mdsal</artifactId>
- <version>${project.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-inventory</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-topology</artifactId>
- <version>${project.version}</version>
- </dependency>
- The build log makes it seem like these are missing version fields, but they aren't.
- Trying to replace generic property with more spicific one
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>features-mdsal</artifactId>
- - <version>${project.version}</version>
- + <version>${feature.mdsal.version}</version>
- <classifier>features</classifier>
- <type>xml</type>
- <scope>runtime</scope>
- @@ -142,12 +142,12 @@
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-inventory</artifactId>
- - <version>${project.version}</version>
- + <version>${controller.model.model-inventory.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-topology</artifactId>
- - <version>${project.version}</version>
- + <version>${controller.model.model-topology.version}</version>
- </dependency>
- But it didn't change the build failure
- https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12262823
- https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12262947
- DEBUG util.py:257: [ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.controller:mdsal-artifacts:pom:1.4.1-Boron-SR1 in koji-task-12262817-repo (http://download.eng.bos.redhat.com/brewroot/work/tasks/2817/12262817) @ line 350, column 25
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller:features-mdsal:xml:features is missing. @ line 384, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-inventory:jar is missing. @ line 422, column 21
- DEBUG util.py:257: [ERROR] 'dependencies.dependency.version' for org.opendaylight.controller.model:model-topology:jar is missing. @ line 426, column 21
- In TODO OTHER PATCH, Mike used literal versions. Trying one in the normal way versions are hardcoded in POMs, one with typical PME transform result (using . and RH suffix) and a third with the RH suffix but still a - after the patch version number.
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>features-mdsal</artifactId>
- - <version>${project.version}</version>
- + <version>1.4.1-Boron-SR1</version>
- <classifier>features</classifier>
- <type>xml</type>
- <scope>runtime</scope>
- @@ -142,12 +142,12 @@
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-inventory</artifactId>
- - <version>${project.version}</version>
- + <version>1.4.1.Boron-SR1-redhat-1</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-topology</artifactId>
- - <version>${project.version}</version>
- + <version>1.4.1-Boron-SR1-redhat-1</version>
- </dependency>
- Trying in this build:
- https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12263414
- (build not done at time of writing)
- Noteworthy files notes:
- controller/features/mdsal/pom.xml
- controller/features/mdsal/src/main/features/features.xml
- controller/opendaylight/model/model-inventory/pom.xml
- controller/opendaylight/model/model-topology/pom.xml
Advertisement
Add Comment
Please, Sign In to add comment