flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS <webdoubl...@hotmail.com>
Subject RE: AW: [MAVENIZER] New dev-version available for playing around with Command Line Interface :-)
Date Thu, 09 Apr 2015 22:07:42 GMT
Hi Alex,
Yes, I had the same.

Note: My patch says the version of the "cli" is 1.1.0-SNAPSHOT but in reality should be 1.0.0-SNAPSHOT,
anyway, won't make any difference and will build.

Frédéric THOMAS

> From: aharui@adobe.com
> To: dev@flex.apache.org
> Subject: Re: AW: [MAVENIZER] New dev-version available for playing around with Command
Line Interface :-)
> Date: Thu, 9 Apr 2015 21:57:14 +0000
> 
> Will that fix the errors I got?  Here’s the output for me:
> 
> ~/git/flex/master/flex-utilities/mavenizer$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 4 projects -> [Help 1]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:retrievers:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/retrievers/pom.xml)
>  has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:converters:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/converters/pom.xml)
>  has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:deployers:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/deployers/pom.xml)
> has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [ERROR]   
> [ERROR]   The project
> org.apache.flex.utilities.converter:cli:1.0.0-SNAPSHOT
> (/Users/aharui/git/flex/master/flex-utilities/mavenizer/cli/pom.xml) has 1
> error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.flex.utilities.converter:flex-sdk-converter:pom:1.0.0-SNAPSHOT
> and 'parent.relativePath' points at wrong local POM @ line 23, column 13
> -> [Help 2]
> [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
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 
> BTW, I made a few spelling corrections to README.txt
> 
> 
> -Alex
> 
> On 4/9/15, 2:32 PM, "Frédéric THOMAS" <webdoublefx@hotmail.com> wrote:
> 
> >Didn't try yet with your new commit but there was a problem with the
> >fontkit pom and the name of the parent artifact, this is my patch [1] to
> >make it build, can you check you are align with on the develop branch too
> >? after you confirm, I will stash and pull.
> >
> >Thanks,
> >Frédéric THOMAS
> >[1]Index: cli/pom.xmlIDEA additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================--- cli/pom.xml	(revision
> >)+++ cli/pom.xml	(revision )@@ -0,0 +1,96 @@+<?xml version="1.0"
> >encoding="UTF-8"?>+<!--++  Licensed to the Apache Software Foundation
> >(ASF) under one or more+  contributor license agreements.  See the NOTICE
> >file distributed with+  this work for additional information regarding
> >copyright ownership.+  The ASF licenses this file to You under the Apache
> >License, Version 2.0+  (the "License"); you may not use this file except
> >in compliance with+  the License.  You may obtain a copy of the License
> >at++      http://www.apache.org/licenses/LICENSE-2.0++  Unless required
> >by applicable law or agreed to in writing, software+  distributed under
> >the License is distributed on an "AS IS" BASIS,+  WITHOUT WARRANTIES OR
> >CONDITIONS OF ANY KIND, either express or implied.+  See the License for
> >the specific language governing permissions and+  limitations under the
> >License.++-->+<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/xsd/maven-4.0.0.xsd">+
> ><modelVersion>4.0.0</modelVersion>++    <parent>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>flex-sdk-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> ><artifactId>cli</artifactId>+    <version>1.1.0-SNAPSHOT</version>+
> ><packaging>jar</packaging>++    <build>+        <plugins>+
> ><plugin>+                <artifactId>maven-assembly-plugin</artifactId>+
> >              <version>2.4</version>+                <configuration>+
> >               <archive>+                        <manifest>+
> >              
> ><addDefaultImplementationEntries>true</addDefaultImplementationEntries>+
> >                          <addClasspath>true</addClasspath>+
> >              
> ><mainClass>org.apache.flex.utilities.converter.core.SdkConverterCLI</mainC
> >lass>+                        </manifest>+
> ><manifestEntries>+
> ><Implementation-Build>${project.version}</Implementation-Build>+
> >              </manifestEntries>+                    </archive>+
> >          <descriptorRefs>+
> ><descriptorRef>jar-with-dependencies</descriptorRef>+
> ></descriptorRefs>+
> ><finalName>flex-sdk-converter-${project.version}</finalName>+
> >       <appendAssemblyId>false</appendAssemblyId>+
> ></configuration>+                <executions>+
> ><execution>+                        <phase>package</phase>+
> >         <goals>+                            <goal>single</goal>+
> >               </goals>+                    </execution>+
> ></executions>+            </plugin>+        </plugins>+    </build>++
> ><dependencies>+        <dependency>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>download-retriever</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+     
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>flex-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+     
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>aether-deployer</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>++
> ><dependency>+            <groupId>commons-cli</groupId>+
> ><artifactId>commons-cli</artifactId>+            <version>1.2</version>+
> >      </dependency>+        <dependency>+
> ><groupId>org.apache.commons</groupId>+
> ><artifactId>commons-lang3</artifactId>+
> ><version>3.3.2</version>+        </dependency>+
> ></dependencies>++</project>Index: converters/fontkit/pom.xmlIDEA
> >additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================---
> >converters/fontkit/pom.xml	(revision )+++
> >converters/fontkit/pom.xml	(revision )@@ -0,0 +1,46 @@+<?xml
> >version="1.0" encoding="UTF-8"?>+<!--++  Licensed to the Apache Software
> >Foundation (ASF) under one or more+  contributor license agreements.  See
> >the NOTICE file distributed with+  this work for additional information
> >regarding copyright ownership.+  The ASF licenses this file to You under
> >the Apache License, Version 2.0+  (the "License"); you may not use this
> >file except in compliance with+  the License.  You may obtain a copy of
> >the License at++      http://www.apache.org/licenses/LICENSE-2.0++
> >Unless required by applicable law or agreed to in writing, software+
> >distributed under the License is distributed on an "AS IS" BASIS,+
> >WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+
> > See the License for the specific language governing permissions and+
> >limitations under the License.++-->+<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/xsd/maven-4.0.0.xsd">+
> ><modelVersion>4.0.0</modelVersion>++    <parent>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>converters</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    </parent>++
> ><artifactId>fontkit-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+    <packaging>jar</packaging>++
> ><dependencies>+        <dependency>+
> ><groupId>org.apache.flex.utilities.converter</groupId>+
> ><artifactId>base-converter</artifactId>+
> ><version>1.0.0-SNAPSHOT</version>+        </dependency>+
> ><dependency>+            <groupId>org.apache.commons</groupId>+
> > <artifactId>commons-compress</artifactId>+
> ><version>1.4</version>+        </dependency>+
> ></dependencies>++</project>Index: pom.xmlIDEA additional info:Subsystem:
> >com.intellij.openapi.diff.impl.patch.CharsetEP<+>UTF-8====================
> >===============================================--- pom.xml	(revision
> >897e070999743f99e7401b786d16260f6f6a19d5)+++ pom.xml	(revision )@@ -27,7
> >+27,7 @@     </parent>
> ><groupId>org.apache.flex.utilities.converter</groupId>-
> ><artifactId>apache-flex-sdk-converter</artifactId>+
> ><artifactId>flex-sdk-converter</artifactId>
> ><version>1.0.0-SNAPSHOT</version>     <packaging>pom</packaging>
> >
> >> From: christofer.dutz@c-ware.de
> >> To: dev@flex.apache.org
> >> Subject: AW: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> Date: Thu, 9 Apr 2015 21:20:46 +0000
> >> 
> >> Hi Frederic,
> >> 
> >> Ok ... thanks for reporting this.
> >> 
> >> I had to force the addition of that pom as git complained, that it was
> >>excluded because of one of the active ".gitignore" files rules (I
> >>couldn't find the rule that was causing the exclusion). Well after
> >>forcing it in I could confirm it's presence by going to the Github web
> >>interface.
> >> 
> >> Give it another try ... should work now.
> >> 
> >> Chris
> >> 
> >> ________________________________________
> >> Von: Frédéric THOMAS <webdoublefx@hotmail.com>
> >> Gesendet: Donnerstag, 9. April 2015 22:38
> >> An: dev@flex.apache.org
> >> Betreff: RE: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> 
> >> Hi Chris,
> >> I need to re-install my artifactory on my machine, in between, can you
> >>check the pom.xml for the CLI has been committed to develop as I can't
> >>see it.
> >> 
> >> Thanks,
> >> Frédéric THOMAS
> >> 
> >> > From: christofer.dutz@c-ware.de
> >> > To: dev@flex.apache.org
> >> > Subject: [MAVENIZER] New dev-version available for playing around
> >>with Command Line Interface :-)
> >> > Date: Wed, 8 Apr 2015 14:30:41 +0000
> >> >
> >> > Hi,
> >> >
> >> >
> >> > while I was at it to implement the last changes I saw for the first
> >>release, I also removed all the old legacy "main" classes and replaced
> >>them with one Commandline Interface (module cli)
> >> >
> >> >
> >> > If you checkout the "develop" branch of the flex-utils repo, and
> >>build the Mavenizer using "mvn clean install", you will get a
> >>"cli/target/apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar"
> >> >
> >> >
> >> > in the "cli/target" directory run the cli like this:
> >> >
> >> > java -jar apache-flex-sdk-converter-1.0.0-SNAPSHOT.jar ... (followed
> >>by the commands you want it to execute)
> >> >
> >> >
> >> > Currently there are 4 commands:
> >> >
> >> > list:                 Lists all versions and platforms available for
> >>download
> >> >
> >> > download:    Downloads selected versions and assembles an FDK
> >> >
> >> > convert:        Converts a previously installed (using the installer)
> >>or assembled (using download command) FDK into a mavenized form.
> >> >
> >> > deploy:          Uploads previously created maven artifacts to a
> >>remote repository.
> >> >
> >> >
> >> > Some typical usage scenarios:
> >> >
> >> > - Create a mavenized version of a previously installed FDK (Using the
> >>installer):
> >> >
> >> >    "... -fdkDir <FDK install dir> -mavenDir <maven local repo>
> >>convert"
> >> >
> >> > - Download and create an FDK (Flex 1.4.1 with playerglobal 17.0 and
> >>16.0 AIR SDK 17.0 for Windows and Mac and the fontkit libs):
> >> >
> >> >    "... -fdkDir <FDK target dir> -flexVersion 4.14.1 -flashVersion
> >>17.0,16.0 -airVersion 17.0 -platform WINDOWS,MAC -fontkit download"
> >> >
> >> > - Download and convert an FDK (FDK assembled in temp directory using
> >>Air for current systems platform only):
> >> >
> >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> >>-fontkit -mavenDir <maven local repo> download convert"
> >> >
> >> > - Deploy a bunch of maven artifacts to a remote maven repository:
> >> >
> >> >    "... -mavenDir <dir with maven artifacts> -repoUrl <url>
> >>-repoUsername <username> -repoPassword <pasword> deploy"
> >> >
> >> > - "The works" (TM): Download, Convert and Deploy using only temp
> >>directories:
> >> >
> >> >    "... -flexVersion 4.14.1 -flashVersion 17.0 -airVersion 17.0
> >>-fontkit -repoUrl <url> -repoUsername <username> -repoPassword <pasword>
> >>download convert deploy"
> >> >
> >> >
> >> > Would be cool if you guys could experiment a little with it ... I
> >>think it could probably need a little hardening here and there. The more
> >>experiment with it, the harder it gets :-)
> >> >
> >> >
> >> > Chris
> >> >
> >> >
> > 		 	   		  
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message