Hi Jayesh,
thanks for putting together the example app demonstrating the problem, and
well done for identifying the issue yourself.

You'll be pleased to know that for 1.15.0-SNAPSHOT I've moved these
somewhat obscure mavendeps poms into isis core itself, and their version
numbers will keep in sync with the framework.

Thanks again
Dan


On Sun, 16 Jul 2017 at 11:59 Jayesh Prajapati <jayesh...@gmail.com> wrote:

> Hi Support,
>
> Figured that use of latest version 0.0.2 for below property causes this
> build failure.
>
> <mavendeps-isiswebapp.version>0.0.2</mavendeps-isiswebapp.version>
>
> After changing this to 0.0.1, it was building fine.
>
> Cheers,
> Jayesh
>
> On Fri, Jul 14, 2017 at 12:46 AM, Jayesh Prajapati <jayesh...@gmail.com>
> wrote:
>
>> Hi Dan,
>>
>> A test application depends on Isis 1.14.0 is available on github at
>> https://github.com/jayeshatnest/test/tree/test-app-1.14.0
>>
>> Currently build is failing with below error and we are unable to
>> understand why it is looking for dependency
>> [org.apache.isis.core:isis-core-viewer-wicket-impl:jar:1.13.1]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Test Parent ........................................ SUCCESS [
>>  0.605 s]
>> [INFO] Test Common Module ................................. SUCCESS [
>> 14.131 s]
>> [INFO] Test Application ................................... SUCCESS [
>> 25.545 s]
>> [INFO] Test Webapp ........................................ FAILURE [
>>  0.238 s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 40.999 s
>> [INFO] Finished at: 2017-07-14T00:41:00+05:30
>> [INFO] Final Memory: 77M/461M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project test-webapp: Could not resolve
>> dependencies for project test:test-webapp:war:0.1-SNAPSHOT: The following
>> artifacts cou
>> ld not be resolved:
>> org.apache.isis.core:isis-core-viewer-wicket-impl:jar:1.13.1,
>> org.apache.isis.viewer:isis-core-viewer-wicket-impl:jar:1.14.0: Failure to
>> fin
>> d org.apache.isis.core:isis-core-viewer-wicket-impl:jar:1.13.1 in
>> http://repository-estatio.forge.cloudbees.com/snapshot/ was cached in
>> the local repository, re
>> solution will not be reattempted until the update interval of Cloudbees
>> snapshots has elapsed or updates are forced -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :test-webapp
>>
>> Please help in resolving above build issue. As soon as this is fixed we
>> will try new feature of collection as action parameter.
>>
>> Thanks,
>> Jayesh
>>
>> On Thu, Jul 13, 2017 at 4:41 PM, Jayesh Prajapati <jayesh...@gmail.com>
>> wrote:
>>
>>> Hi Anisha,
>>> Let's create a test project on public git repo where this issue is
>>> replicable. This will help community to provide quicker turnaround on
>>> query/issue.
>>>
>>> Thanks,
>>> Jayesh
>>>
>>>
>>> On Thu 13 Jul, 2017, 3:33 PM Anisha Jaiswal, <anishakjais...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am Anisha Jaiswal and am using Apache Isis to build an application.
>>>> I am facing a couple of issues...could you please help me out here:
>>>>
>>>> 1) I am currently using the core version 1.13.2 and decided to upgrade
>>>> to
>>>> 1.14.0 since it supports collection parameters in action methods.
>>>> I use maven to build my application. After running the build for version
>>>> 1.14.0, i got the error:
>>>> *Missing isis-core-viewer-wicket-impl-1.13.1.jar*. It wasn't able to
>>>> download the jar.
>>>>
>>>> Here is how i had given the dependency in my pom:
>>>>
>>>>             <dependency>
>>>>                 <groupId>org.apache.isis.core</groupId>
>>>>                 <artifactId>isis</artifactId>
>>>>                 <version>${isis.version}</version>
>>>>                 <type>pom</type>
>>>>                 <scope>import</scope>
>>>>             </dependency>
>>>>
>>>> where isis.version is 1.14.0
>>>>
>>>> Is there any other dependency i need to include ?
>>>>
>>>> 2) Then i decided to try version'1.15.0-SNAPSHOT', which is still under
>>>> development.
>>>> The application got built properly for this version. It was able to
>>>> download the isis-core-viewer-wicket-impl jar for this version.
>>>>
>>>> But the issue that i am facing now is that as soon as i try to show a
>>>> collection in my ViewModel it gives me the *IsisAssertException: POJO
>>>> Map
>>>> already contains object*
>>>> These collections were working fine in version 1.13.2.
>>>> This is how i have the collection specified in the layout.xml of my
>>>> ViewModel:
>>>>
>>>>     <collection id="students" defaultView="table" />
>>>>
>>>> And the corresponding method in the java class is:
>>>>
>>>> public List<Student> getStudents() {
>>>> List<Student> responseList = new ArrayList<>();
>>>> .
>>>> .
>>>> return responseList;
>>>> }
>>>>
>>>> *When do we get this exception and how do we resolve it ?*
>>>>
>>>> *Any help on these issues would really help my project.*
>>>>
>>>> Thanks a lot,
>>>> Anisha
>>>>
>>>
>>
>

Reply via email to