On Fri, Nov 2, 2018 at 11:51 AM benamrane fouad <benamranefou...@gmail.com>
wrote:

> Hi again,
>
> I don't think it is possible to use the archetype
> org.opendaylight.controller anymore. When using this archetype with the
> latest version available in nexus.opendaylight.org which is
> 1.7.0-SNAPSHOT.
> mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller
> -DarchetypeArtifactId=opendaylight-startup-archetype
> -DarchetypeCatalog=remote -DarchetypeVersion=1.7.0-SNAPSHOT
>
> After build and compile, the project is not created just two files are
> placed inside the folder, pom.xml and README.txt. The later file showing
> that org.opendaylight.controller is not supported anymore and we should use
> the "archetypes" groupId, which turns on the initial problem. Is there any
> way to build an ODL project with any stable version now ?
>

no don't use version 1.7.0-SNAPSHOT, that is Neon (the current bleeding
edge master, where we are currently working on to re-stabilize everything
following tis major version bump) ... just use 1.5.4-SNAPSHOT instead -
that is the much more stable Oxygen SR 4.

https://github.com/opendaylight/controller/blob/master/opendaylight/archetypes/opendaylight-startup/pom.xml

https://nexus.opendaylight.org/#nexus-search;gav~org.opendaylight.controller~opendaylight-startup-archetype~~~~kw,versionexpand


Best,
> Fouad
>
> Le ven. 2 nov. 2018 à 10:37, Michael Vorburger <vorbur...@redhat.com> a
> écrit :
>
>> On Fri, Nov 2, 2018 at 11:03 AM benamrane fouad <
>> benamranefou...@gmail.com> wrote:
>>
>>> Hi Michael,
>>>
>>> Yes, I am planning to contribute to ODL by proposing new services or
>>> applications. I had some commit in neutron and moasca openstack projects.
>>> But, I am new in ODL architecture so I am just starting to learn how to
>>> implement new functions based on the official doc for developers. I can
>>> help to resolve this issue but I have no idea how. If you can provide me
>>> with necessary instructions, I will propose a change for this.
>>>
>>
>> basically we very recently changed a couple of things with a major new
>> version bump, and therefore the instructions on
>> https://docs.opendaylight.org/en/latest/developer-guide/developing-apps-on-the-opendaylight-controller.html
>> are currently broken ... https://jira.opendaylight.org/browse/ARCH-3 is
>> the issue to update the Maven archetype; someone has to apply
>> https://wiki.opendaylight.org/view/Neon_platform_upgrade, which all
>> other (as in non-Archetype) ODL projects recently did (recent as in merged
>> just last week), to
>> https://github.com/opendaylight/archetypes/tree/master/opendaylight-startup/src/main/resources/archetype-resources
>> and raise a Gerrit with that ...
>>
>> BTW: You could, of course, always use an older stable version of
>> OpenDaylight, e.g. Oxygen, see
>> https://docs.opendaylight.org/en/stable-oxygen/developer-guide/developing-apps-on-the-opendaylight-controller.html
>> (note the old archetypeGroupId previously was org.opendaylight.controller
>> instead of org.opendaylight.archetypes)
>>
>> Best,
>>> Fouad
>>>
>>> Le jeu. 1 nov. 2018 à 21:21, Michael Vorburger <vorbur...@redhat.com> a
>>> écrit :
>>>
>>>> archetypes-dev friends, who of you is up for doing
>>>> https://jira.opendaylight.org/browse/ARCH-3 now, coming days / next
>>>> week?
>>>>
>>>> Fouad, would you have any interest in contributing back to OpenDaylight
>>>> and help with this task and propose a Gerrit change addressing issue
>>>> ARCH-3? We could help guide you, if needed.
>>>>
>>>> Tx,
>>>> M.
>>>> --
>>>> Michael Vorburger, Red Hat
>>>> vorbur...@redhat.com | IRC: vorburger @freenode | ~ =
>>>> http://vorburger.ch
>>>>
>>>>
>>>> On Thu, Nov 1, 2018 at 7:51 PM Robert Varga <n...@hq.sk> wrote:
>>>>
>>>>> On 01/11/2018 16:29, benamrane fouad wrote:
>>>>> > Hi all,
>>>>>
>>>>> Hello,
>>>>>
>>>>> > I would like to reproduce the hello world application in odl using
>>>>> > latest versions, but I got an error after creating the yang rpc
>>>>> model.
>>>>> >
>>>>> > org.apache.felix.resolver.reason.ReasonException: Unable to resolve
>>>>> > org.opendaylight.mdsal.yang-binding/0.14.0.SNAPSHOT: missing
>>>>> requirement
>>>>> > [org.opendaylight.mdsal.yang-binding/0.14.0.SNAPSHOT]
>>>>> > osgi.wiring.package;
>>>>> >
>>>>> filter:="(&(osgi.wiring.package=org.opendaylight.yangtools.util)(version>=2.0.0)(!(version>=3.0.0)))"
>>>>> >     at
>>>>> >
>>>>> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>>>>> >     at
>>>>> >
>>>>> org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:420)
>>>>> >     at
>>>>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
>>>>> >     at
>>>>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
>>>>> >     at
>>>>> >
>>>>> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>>>>> >     at
>>>>> >
>>>>> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
>>>>> >     at
>>>>> >
>>>>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025)
>>>>> >     at
>>>>> >
>>>>> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964)
>>>>> >     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>>> >     at
>>>>> >
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>>>>> >     at
>>>>> >
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>>>>> >     at java.lang.Thread.run(Thread.java:748)
>>>>> >
>>>>> > My environment and build command
>>>>> > java 1.8.0_181
>>>>> > maven 3.5.4
>>>>> > to create hello project I setup the maven archetype:
>>>>> > mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes
>>>>> > -DarchetypeArtifactId=opendaylight-startup-archetype
>>>>> > -DarchetypeCatalog=remote -DarchetypeVersion=1.1.0-SNAPSHOT
>>>>>
>>>>> Archetype has not been updated in the Neon MRI window:
>>>>> https://jira.opendaylight.org/browse/ARCH-3.
>>>>>
>>>>> Regards,
>>>>> Robert
>>>>>
>>>>> _______________________________________________
>>>>> controller-dev mailing list
>>>>> controller-dev@lists.opendaylight.org
>>>>> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>>>>>
>>>>
>>>
>>> --
>>> Fouad Benamrane
>>> Postdoc Research Assistant at University of Bradford, UK
>>> http://ma.linkedin.com/pub/fouad-benamrane/23/1a5/881
>>> http://www.researchgate.net/profile/Fouad_Benamrane2
>>>
>>>
>>>
>
> --
> Fouad Benamrane
> Postdoc Research Assistant at University of Bradford, UK
> http://ma.linkedin.com/pub/fouad-benamrane/23/1a5/881
> http://www.researchgate.net/profile/Fouad_Benamrane2
>
>
>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to