framctr opened a new issue, #915: URL: https://github.com/apache/incubator-eventmesh/issues/915
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Question Hi, I created an app that relies on Apache EventMesh. I prepared the build with Maven and I found the packages at [mvnrepository.com](https://mvnrepository.com/artifact/org.apache.eventmesh). I included `java-sdk`, `common` and `connector-api`, but when launching `./mvnw clean package` it gives me many errors reporting that it cannot find symbols (for example it says `package org.apache.eventmesh.common.protocol.tcp does not exist`). It is related to `package org.apache.eventmesh.common`, sdk seems not to be the problem. Here my `pom.xml`: ```xml <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com</groupId> <artifactId>myapp</artifactId> <version>0.0.1-SNAPSHOT</version> <name>MyApp</name> <description>Description</description> <packaging>jar</packaging> <properties> <java.version>1.8</java.version> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>org.apache.eventmesh</groupId> <artifactId>eventmesh-sdk-java</artifactId> <version>1.4.0</version> </dependency> <dependency> <groupId>org.apache.eventmesh</groupId> <artifactId>eventmesh-common</artifactId> <version>1.4.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.eventmesh</groupId> <artifactId>eventmesh-connector-api</artifactId> <version>1.4.0</version> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <transformers> <transformer implementation= "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>com.myapp.MyApp</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> ``` What could be the problem? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
