Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>

<groupId>org.eolang</groupId>
<artifactId>eo-time</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<eo.version>0.29.0</eo.version>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eo-runtime is pinned to 0.29.0, while eo-maven-plugin is 0.58.3. The runtime and the plugin must share one version, otherwise the transpiled Java code will not compile against the runtime. Please use ${eo.version} for the plugin too and set it to 0.58.3 (or the latest release).

</properties>

<dependencies>
<dependency>
<groupId>org.eolang</groupId>
<artifactId>eo-runtime</artifactId>
<version>${eo.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.eolang</groupId>
<artifactId>eo-maven-plugin</artifactId>
<version>0.58.3</version>
<executions>
<execution>
<goals>
<goal>register</goal>
<goal>assemble</goal>
<goal>transpile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file has no newline at the end. Please add one.

2 changes: 2 additions & 0 deletions src/main/eo/org.eolang/time.eo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is the main time object that provides access to all time-related functionality

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file has no +package org.eolang meta line, so the object will not land in the org.eolang package. Please add +package org.eolang (and the +home and +version metas used in other objectionary repositories) above the comment, separated by an empty line.

[] > time

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The directory is named org.eolang, a single folder with a dot in its name. Issue #2 asks for src/main/eo/org/eolang/time.eo, two nested folders. Please move the file there.