-
Notifications
You must be signed in to change notification settings - Fork 76
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
code update to Maven file structure #39
Comments
OK. I fixed it with the latest Java, Maven and Ubuntu. I have duplicate folders but at least it works. Description: Ubuntu 23.04 |
I cleaned it. I am not an expert programmer, but I moved only the necessary folders as desired by Maven and got the below new tree structure. ├── bin |
and changed pom.xml to the below. of course /home/mike should be replaced with your name or folders. 4.0.0 com.mechalikh pureedgesim 5.2.0 PureEdgeSim https://github.com/CharafeddineMechalikh/PureEdgeSim A simualtor for edge computing environments
|
hi Mechalikh,
thank you for your code. I used to have a running code in the past with a previous version!
I tried to use the latest version of the PureEdgeSim code and update the structure to one preferred by Maven and used the latest Java in Ubuntu 23.04.
(base) mike@mike-HP-ProBook-430-G5:~/.m2$ java --version
openjdk 18.0.2-ea 2022-07-19
OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-2ubuntu1)
OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-2ubuntu1, mixed mode, sharing)
but I get issues.
Is it possible to update the structure to one preferred by Maven compilation and test with latest Java version in Ubuntu/Linux?
my-project/
├── src/
│ ├── main/
│ │ ├── java/ <-- Your Java source code goes here
│ │ │ └── com/
│ │ │ └── mechalikh/
│ │ │ └── pureedgesim/
│ │ │ └── MainApplication.java
│ │ └── resources/ <-- Resources (like properties files) go here
│ │ └── application.properties
│ └── test/
│ ├── java/ <-- Test source code goes here
│ │ └── com/
│ │ └── mechalikh/
│ │ └── pureedgesim/
│ │ └── MainApplicationTest.java
│ └── resources/ <-- Test resources go here
│ └── test-data.json
└── pom.xml <-- Project configuration file
Kind regards,
Mihalis
The text was updated successfully, but these errors were encountered: