-
Notifications
You must be signed in to change notification settings - Fork 2
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
Debug failed 0.7.0 release #199
Comments
The problem that CI reports is that I ran The second possibility is that while this information is available, it's not getting packaged into the pom file for reasons. I don't believe this is the case either -- I ran a <?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>org.scala-exercises</groupId>
<artifactId>definitions_2.12</artifactId>
<packaging>jar</packaging>
<description>Exercises Compiler Plugin</description>
<url>https://github.com/scala-exercises/sbt-exercise</url>
<version>0.6.7+142-792921bb-SNAPSHOT</version>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://api.github.com/licenses/apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<name>definitions</name>
<inceptionYear>2020</inceptionYear>
<organization>
<name>47 Degrees Open Source</name>
<url>https://www.47deg.com</url>
</organization>
<scm>
<url>https://github.com/scala-exercises/sbt-exercise</url>
<connection>scm:git:https://github.com/scala-exercises/sbt-exercise.git</connection>
<developerConnection>scm:git:[email protected]:scala-exercises/sbt-exercise.git</developerConnection>
</scm>
<developers>
<developer>
<id>47erbot</id>
<name>47erbot</name>
<url>https://github.com/47erbot</url>
<email>[email protected]</email>
</developer>
<developer>
<id>fedefernandez</id>
<name>Fede Fernández</name>
<url>https://github.com/fedefernandez</url>
</developer>
<developer>
<id>jisantuc</id>
<name>James Santucci</name>
<url>https://github.com/jisantuc</url>
<email>[email protected]</email>
</developer>
<developer>
<id>juanpedromoreno</id>
<name>Juan Pedro Moreno</name>
<url>https://github.com/juanpedromoreno</url>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.12.15</version>
</dependency>
<dependency>
<groupId>org.typelevel</groupId>
<artifactId>cats-core_2.12</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.12</artifactId>
<version>3.2.10</version>
</dependency>
<dependency>
<groupId>org.scalacheck</groupId>
<artifactId>scalacheck_2.12</artifactId>
<version>1.15.4</version>
</dependency>
<dependency>
<groupId>com.github.alexarchambault</groupId>
<artifactId>scalacheck-shapeless_1.15_2.12</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>
</project> I downloaded the $ xmllint --schema schema.xsd definitions_2.12.pom --noout
definitions_2.12.pom validates I did the same validation to the So I think the note about a bad pom file is a red herring maybe? |
Huh, so the snapshot artifact actually doesn't have developers 🤔 : $ http 'https://oss.sonatype.org/content/repositories/snapshots/org/scala-exercises/definitions_2.12/0.6.7+141-4773acd9-SNAPSHOT/definitions_2.12-0.6.7+141-4773acd9-SNAPSHOT.pom' > definitions_published.pom
$ cat definitions_published.pom
<?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>org.scala-exercises</groupId>
<artifactId>definitions_2.12</artifactId>
<packaging>jar</packaging>
<description>Exercises Compiler Plugin</description>
<url>https://github.com/scala-exercises/sbt-exercise</url>
<version>0.6.7+141-4773acd9-SNAPSHOT</version>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://api.github.com/licenses/apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<name>definitions</name>
<inceptionYear>2020</inceptionYear>
<organization>
<name>47 Degrees Open Source</name>
<url>https://www.47deg.com</url>
</organization>
<scm>
<url>https://github.com/scala-exercises/sbt-exercise</url>
<connection>scm:git:https://github.com/scala-exercises/sbt-exercise.git</connection>
<developerConnection>scm:git:[email protected]:scala-exercises/sbt-exercise.git</developerConnection>
</scm>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.12.15</version>
</dependency>
<dependency>
<groupId>org.typelevel</groupId>
<artifactId>cats-core_2.12</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.12</artifactId>
<version>3.2.10</version>
</dependency>
<dependency>
<groupId>org.scalacheck</groupId>
<artifactId>scalacheck_2.12</artifactId>
<version>1.15.4</version>
</dependency>
<dependency>
<groupId>com.github.alexarchambault</groupId>
<artifactId>scalacheck-shapeless_1.15_2.12</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>
</project> But without developers it still validates 🤔🤔🤔🤔🤔🤔 I think this schema might not actually specify everything that's required, which is very cool. |
Yup,
|
Contrast the pom above with the pom from the last <?xml version='1.0' encoding='UTF-8'?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>org.scala-exercises</groupId>
<artifactId>evaluator-client_2.12</artifactId>
<packaging>jar</packaging>
<description>Runtime library for Scala-Exercises Server</description>
<url>https://github.com/scala-exercises/scala-exercises-runtime</url>
<version>0.6.4+132-ab7d5c40-SNAPSHOT</version>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://api.github.com/licenses/apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<name>evaluator-client</name>
<inceptionYear>2020</inceptionYear>
<organization>
<name>47 Degrees Open Source</name>
<url>https://www.47deg.com</url>
</organization>
<scm>
<url>https://github.com/scala-exercises/scala-exercises-runtime</url>
<connection>scm:git:https://github.com/scala-exercises/scala-exercises-runtime.git</connection>
<developerConnection>scm:git:[email protected]:scala-exercises/scala-exercises-runtime.git</developerConnection>
</scm>
<developers>
<developer>
<id>alejandrohdezma</id>
<name>Alejandro Hernández</name>
<url>https://github.com/alejandrohdezma</url>
<email>[email protected]</email>
</developer>
<developer>
<id>rafaparadela</id>
<name>Rafa Paradela</name>
<url>https://github.com/rafaparadela</url>
<email>[email protected]</email>
</developer>
<developer>
<id>raulraja</id>
<name>Raúl Raja Martínez</name>
<url>https://github.com/raulraja</url>
<email>[email protected]</email>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.12.15</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-blaze-client_2.12</artifactId>
<version>0.23.8</version>
</dependency>
<dependency>
<groupId>org.http4s</groupId>
<artifactId>http4s-circe_2.12</artifactId>
<version>0.23.8</version>
</dependency>
<dependency>
<groupId>io.circe</groupId>
<artifactId>circe-core_2.12</artifactId>
<version>0.14.1</version>
</dependency>
<dependency>
<groupId>io.circe</groupId>
<artifactId>circe-generic_2.12</artifactId>
<version>0.14.1</version>
</dependency>
</dependencies>
</project> I think for whatever reason, while everything looks like it should be working, we're actually not writing the |
Oh, cool, Right before running
|
Contrast with local, where everything is fine ™️
|
The release for 0.7.0 failed repeatedly for an invalid POM file: https://github.com/scala-exercises/sbt-exercise/actions/runs/1791462712
I'm opening this issue as a place to dump debugging info
The text was updated successfully, but these errors were encountered: