If I click "No", it's not recognized as a maven project. How can I add new
dependencies?

If I click "Yes" and then add it clicking the plus button in the maven tab,
the message appears again.


On Tue, Feb 4, 2014 at 10:29 AM, Christofer Dutz
<christofer.d...@c-ware.de>wrote:

>  Ok so I had a look at the Project and it worked fine. I did a Little
> more testing and leared out my local maven reporitory.
>
> When importing your Project then, IntelliJ seems to fail to resolve the
> Flexmojos plugin (as it's not yet there) and I was shown the message you
> talked about.
>
> You coulg simply click on "No" or if you clicked "Yes" you can simply add
> the maven module again, by clicking on thr "+" Icon in the Maven tab and
> simply add the pom.xml of your Project. In both cases I was able to work.
>
>
>
> Chris
>
>  ------------------------------
> *Von:* Gonzalo Chiappara <gchi...@gmail.com>
> *Gesendet:* Dienstag, 4. Februar 2014 11:46
> *An:* Christofer Dutz
>
> *Betreff:* Re: Error importing flexmojos 6 project into IntelliJ 13
>
>
> This is the project.
>
>  Thankyou!
>
> On Tue, Feb 4, 2014 at 5:10 AM, Christofer Dutz <christofer.d...@c-ware.de
> > wrote:
>
>> Could you just zip up your test-project and send it to me. I'll have a
>> look at what could be wrong?
>> If you send that to this list the attachment will get filtered out, so
>> you have to send it to me directly.
>>
>> Chris
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Gonzalo Chiappara [mailto:gchi...@gmail.com]
>>  Gesendet: Dienstag, 4. Februar 2014 01:50
>> An: users@flex.apache.org
>> Betreff: Re: Error importing flexmojos 6 project into IntelliJ 13
>>
>>  I tried with that archetype but still no working. The strange thing is
>> that I can compile it using terminal. I think is shouldn't be a problem in
>> the pom. I'm using flex 4.11 and flexmojos 6.0.1 from command line without
>> problems...
>>
>> I spent hours installing a virtual machine with ubuntu, maven, flex,
>> IntelliJ, etc. I cannot import a flexmojos in IntelliJ.
>>
>>
>> On Mon, Feb 3, 2014 at 8:14 PM, Christofer Dutz
>> <christofer.d...@c-ware.de>wrote:
>>
>> > I think you simply got the groupId of the archetype wrong.
>> > If I have a look at maven central the 6.0.1 is actually there:
>> >
>> > http://search.maven.org/#artifactdetails%7Cnet.flexmojos.oss%7Cflexmoj
>> > os-archetypes-application%7C6.0.1%7Cmaven-archetype
>> >
>> > Give that a try ... 4.2 will be a no-go with Apache Flex.
>> >
>> > Chris
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: Gonzalo Chiappara [mailto:gchi...@gmail.com]
>> > Gesendet: Montag, 3. Februar 2014 21:56
>> > An: users@flex.apache.org
>> > Betreff: Re: Error importing flexmojos 6 project into IntelliJ 13
>> >
>> > I'm using flexmojos 6.0.1. I created my project using archetype
>> > version 4.2-beta because it's the last version in central repo (
>> > http://mvnrepository.com/artifact/org.sonatype.flexmojos/flexmojos-arc
>> > hetypes-application
>> > ).
>> >
>> > I think there's should be something wrong in my pom.xml or I'm not
>> > using the right version of maven or something.
>> >
>> > Can anyone post an example of pom.xml that works with IntelliJ 13?
>> >
>> >
>> > On Mon, Feb 3, 2014 at 5:55 PM, Christofer Dutz
>> > <christofer.d...@c-ware.de>wrote:
>> >
>> > > Hi Gonzalo,
>> > >
>> > > First of all I think you should move to Flexmojos 6.0.1 or even
>> > > 7.0.0-SNAPSHOT.
>> > > The main problem is 4.x and 5.x were versions that only woked with
>> > > the Flex SDKs that Velo published to maven central.
>> > > No Apache Flex has ever been deployed there and the Apache way is to
>> > > manually provide a Mavenized version of Flex using the Mavenizer:
>> > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mav
>> > > en
>> > > izer
>> > >
>> > > I would strongly recommend to use the Archetype of version 6.0.1 or
>> > > 7.0.0-SNAPSHOT to generate your project stub as the 4.2 would need a
>> > > lot of tweaking to get it up and running.
>> > >
>> > > Chris
>> > >
>> > > -----Ursprüngliche Nachricht-----
>> > > Von: Gonzalo Chiappara [mailto:gchi...@gmail.com]
>> > > Gesendet: Montag, 3. Februar 2014 19:24
>> > > An: users@flex.apache.org
>> > > Betreff: Error importing flexmojos 6 project into IntelliJ 13
>> > >
>> > > Hi. I need help with IntelliJ and flexmojos.
>> > >
>> > > I'm trying to import a flexmojos project into IntelliJ 13, but I'm
>> > > getting this message:
>> > >
>> > > "
>> > > These modules have been removed from maven structure:
>> > > 'testflex'
>> > > Do you want them to be removed from the project too?
>> > > "
>> > >
>> > > However I can build it successfully from the terminal (mvn package).
>> > >
>> > > There's no error or exception in IntelliJ log file.
>> > >
>> > > I created the project from a maven archetype using the following
>> command:
>> > >
>> > >  mvn archetype:generate \
>> > > -DarchetypeGroupId=org.sonatype.flexmojos \
>> > > -DarchetypeArtifactId=flexmojos-archetypes-application \
>> > > -DarchetypeVersion=4.2-beta
>> > >
>> > >
>> > > Then I modified the pom.xml in order to use flexmojos 6 and flex 4.11.
>> > > This is the file:
>> > >
>> > > <?xml version="1.0" encoding="UTF-8"?> <project
>> > > xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
>> > > http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
>> > > http://maven.apache.org/POM/4.0.0
>> > > http://maven.apache.org/maven-v4_0_0.xsd
>> > > ">
>> > >   <modelVersion>4.0.0</modelVersion>
>> > >
>> > >   <groupId>test</groupId>
>> > >   <artifactId>testflex</artifactId>
>> > >   <version>1.0-SNAPSHOT</version>
>> > >   <packaging>swf</packaging>
>> > >
>> > >   <name>testflex Flex</name>
>> > >
>> > >   <properties>
>> > >     <flexmojos.version>6.0.1</flexmojos.version>
>> > >         <flex.version>4.11.0.20131017</flex.version>
>> > >         <flex.debug>true</flex.debug>
>> > >
>> > >
>> <flex.flashPlayer.command>flashplayerdebugger</flex.flashPlayer.command>
>> > >   </properties>
>> > >
>> > >   <build>
>> > >     <sourceDirectory>src/main/flex</sourceDirectory>
>> > >     <testSourceDirectory>src/test/flex</testSourceDirectory>
>> > >     <plugins>
>> > >       <plugin>
>> > >         <groupId>net.flexmojos.oss</groupId>
>> > >         <artifactId>flexmojos-maven-plugin</artifactId>
>> > >         <version>${flexmojos.version}</version>
>> > >         <extensions>true</extensions>
>> > >         <configuration>
>> > >           <debug>true</debug>
>> > >         </configuration>
>> > >         <dependencies>
>> > >           <dependency>
>> > >             <groupId>com.adobe.flex</groupId>
>> > >             <artifactId>compiler</artifactId>
>> > >             <version>${flex.version}</version>
>> > >             <type>pom</type>
>> > >           </dependency>
>> > >         </dependencies>
>> > >       </plugin>
>> > >     </plugins>
>> > >   </build>
>> > >
>> > >   <dependencies>
>> > >     <dependency>
>> > >       <groupId>com.adobe.flex.framework</groupId>
>> > >       <artifactId>flex-framework</artifactId>
>> > >       <version>${flex.version}</version>
>> > >       <type>pom</type>
>> > >     </dependency>
>> > >
>> > >     <dependency>
>> > >       <groupId>com.adobe.flexunit</groupId>
>> > >       <artifactId>flexunit</artifactId>
>> > >       <version>0.85</version>
>> > >       <type>swc</type>
>> > >       <scope>test</scope>
>> > >     </dependency>
>> > >   </dependencies>
>> > >
>> > > </project>
>> > >
>> > > I'm using Ubuntu 13.10, IntelliJ 13.0.2 and maven 3.1.1.
>> > >
>> > > I don't know what's wrong.
>> > >
>> > > Thanks for you help
>> > >
>> > > Gonzalo.
>> > >
>> >
>>
>
>

Reply via email to