Open fipro78 opened 9 months ago
I tried to create a OSGi Jakarta RS project using the Maven archetype. I executed the following command:
mvn archetype:generate \ -DarchetypeGroupId=org.eclipse.osgi-technology.rest \ -DarchetypeArtifactId=org.eclipse.osgitech.rest.archetype \ -DarchetypeVersion=1.2.2 \ -DgroupId=org.fipro.modifier \ -DartifactId=jakartars \ -Dversion=1.0.0-SNAPSHOT \ -Dpackage=org.fipro.modifier.jakartars
This way the example package is created below the provided package. So the class DemoResource is generated in the folder
DemoResource
jakartars\src\main\java\org\fipro\modifier\jakartars\org\eclipse\osgitech\rest\sample
This of course leads to a compiler error, as the nested package does not match the package declaration of the DemoResource class.
I tried to create a OSGi Jakarta RS project using the Maven archetype. I executed the following command:
This way the example package is created below the provided package. So the class
DemoResource
is generated in the folderThis of course leads to a compiler error, as the nested package does not match the package declaration of the
DemoResource
class.