[ 
https://issues.apache.org/jira/browse/AVRO-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906730#comment-17906730
 ] 

Martin Tzvetanov Grigorov commented on AVRO-4099:
-------------------------------------------------

Did you miss to git add src/main/avro ?
{code:java}
] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.752 s
[INFO] Finished at: 2024-12-18T14:25:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.avro:avro-maven-plugin:1.11.3:schema 
(default) on project avro-exec: neither sourceDirectory: 
/tmp/avro-exec/src/main/avro or testSourceDirectory: 
/tmp/avro-exec/src/test/avro are directories -> [Help 1]
 {code}
I've created it manually but then it fails with:
{code:java}
INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.651 s
[INFO] Finished at: 2024-12-18T14:26:12+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) 
on project avro-exec: Compilation failure: Compilation failure: 
[ERROR] 
/tmp/avro-exec/src/main/java/com/github/gbaso/avroexec/AvroExecApplication.java:[3,40]
 package com.github.gbaso.avroexec.schema does not exist
[ERROR] 
/tmp/avro-exec/src/main/java/com/github/gbaso/avroexec/AvroExecApplication.java:[23,7]
 cannot find symbol
[ERROR]   symbol:   class TestMessage
[ERROR]   location: class com.github.gbaso.avroexec.AvroExecApplication
[ERROR] 
/tmp/avro-exec/src/main/java/com/github/gbaso/avroexec/AvroExecApplication.java:[23,29]
 cannot find symbol
[ERROR]   symbol:   variable TestMessage
[ERROR]   location: class com.github.gbaso.avroexec.AvroExecApplication
[ERROR] -> [Help 1]
[ERROR] 
 {code}

> trevni-core-tests and trevni-avro-tests are missing from maven central in 
> 1.11.4
> --------------------------------------------------------------------------------
>
>                 Key: AVRO-4099
>                 URL: https://issues.apache.org/jira/browse/AVRO-4099
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Giacomo Baso
>            Priority: Major
>
> avro-tools declares a depedency on trevni-core:tests and trevni-avro:tests. 
> Since those are missing from maven central (compare 
> [v1.11.4|https://repo1.maven.org/maven2/org/apache/avro/trevni-core/1.11.4/] 
> with 
> [v.1.11.3|https://repo1.maven.org/maven2/org/apache/avro/trevni-core/1.11.3] 
> - or any other), any uses of avro-tools 1.11.4 via maven (for example using 
> maven exec plugin) fails.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to