Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] tycho-pomgenerator doesn't want to generate pom.xml's

Thanks, Igor,
that made it work.

Anna.

On Mon, Dec 12, 2011 at 9:27 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> Hmm, indeed. I could swear "-f doesnotexist.xml" trick used to work, but
> it does not work. Here is what works for me.
>
> In the root of  org.eclipse.tm.rse checkout
>
> 1. create dummy.xml file
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>org.eclipse.tm</groupId>
>  <artifactId>org.eclipse.tm.rse</artifactId>
>  <version>3.8.0-SNAPSHOT</version>
>  <packaging>pom</packaging>
> </project>
>
> 2. execute
>
> mvn -f dummy.xml \
>  org.eclipse.tycho:tycho-pomgenerator-plugin:0.13.0:generate-poms \
>  -DgroupId=org.eclipse.tm -Dversion=3.8.0-SNAPSHOT \
>  -DextraDirs=doc,examples,features,plugins,releng,tests,tools
>
>
> --
> Regards,
> Igor
>
>
> On 11-12-12 12:58 PM, Anna Dushistova wrote:
>>
>>
>> http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.tm.core/?root=Tools_Project
>>
>> http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.tm.rse/?root=Tools_Project
>>
>> On Mon, Dec 12, 2011 at 8:50 PM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>>  wrote:
>>>
>>> What is the current cvs/svn/git location of Target Management sources?
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>>
>>> On 11-12-12 12:48 PM, Anna Dushistova wrote:
>>>>
>>>>
>>>> That doesn't help...
>>>> ssid:TM-releng-workspace anna$ mvn
>>>> org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms
>>>> -DgroupId=org.eclipse.tm -f doesnotexist.xml
>>>> [INFO] Scanning for projects...
>>>> [ERROR] The build could not read 1 project ->    [Help 1]
>>>> [ERROR]
>>>> [ERROR]   The project
>>>> (/Users/anna/tycho/TM-releng-workspace/doesnotexist.xml) has 1 error
>>>> [ERROR]     Non-readable POM
>>>> /Users/anna/tycho/TM-releng-workspace/doesnotexist.xml:
>>>> /Users/anna/tycho/TM-releng-workspace/doesnotexist.xml (No such file
>>>> or directory)
>>>> [ERROR]
>>>>
>>>> On Mon, Dec 12, 2011 at 5:11 PM, Igor Fedorenko<igor@xxxxxxxxxxxxxx>
>>>>  wrote:
>>>>>
>>>>>
>>>>> Does your source tree base directory already have pom.xml file? Try
>>>>> re-running tycho-pomgenerator with "-f doesnotexist.xml" parameter to
>>>>> tell maven not to use existing pom.xml file.
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Igor
>>>>>
>>>>>
>>>>> On 11-12-12 12:25 AM, Anna Dushistova wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi All,
>>>>>> I am working on converting a Target Management build to tycho.
>>>>>> I was hoping that tycho-pomgenerator would generate pom  files for me,
>>>>>> but it doesn't seem to be willing to do it:
>>>>>>  ssid:TM-releng-workspace anna$ mvn
>>>>>> org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms
>>>>>> -DgroupId=org.eclipse.tm
>>>>>> [INFO] Scanning for projects...
>>>>>> [ERROR] The build could not read 1 project ->      [Help 1]
>>>>>> [ERROR]
>>>>>> [ERROR]   The project
>>>>>> org.eclipse.rse.features-parent:rse-features-parent:3.4.0-SNAPSHOT
>>>>>> (/Users/anna/tycho/TM-releng-workspace/features/pom.xml) has 18 errors
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.core-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.core-patch/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.dstore-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.efs-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.ftp-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.ftp-patch/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.local-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.remotecdt-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.remotecdt.wrapper-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.scp-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.sdk-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.ssh-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.telnet-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.terminals-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.useractions-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.useractions.wrapper-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [ERROR]     Child module
>>>>>>
>>>>>>
>>>>>>
>>>>>> /Users/anna/tycho/TM-releng-workspace/features/org.eclipse.rse.wince.wrapper-feature/pom.xml
>>>>>> of /Users/anna/tycho/TM-releng-workspace/features/pom.xml does not
>>>>>> exist
>>>>>> [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/ProjectBuildingException
>>>>>>
>>>>>> What am I missing?
>>>>>>
>>>>>> Thanks!
>>>>>> Anna.
>>>>>> _______________________________________________
>>>>>> tycho-dev mailing list
>>>>>> tycho-dev@xxxxxxxxxxx
>>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> tycho-dev mailing list
>>>>> tycho-dev@xxxxxxxxxxx
>>>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> tycho-dev mailing list
>>>> tycho-dev@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>>>
>>>
>>> _______________________________________________
>>> tycho-dev mailing list
>>> tycho-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>>
>> _______________________________________________
>> tycho-dev mailing list
>> tycho-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>
> _______________________________________________
> tycho-dev mailing list
> tycho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-dev


Back to the top