You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by chandnisingh <gi...@git.apache.org> on 2016/04/01 04:11:14 UTC

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

GitHub user chandnisingh opened a pull request:

    https://github.com/apache/incubator-apex-core/pull/290

    APEXCORE-401 created an artifact for codestyle configurations

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chandnisingh/incubator-apex-core APEXCORE-401

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-core/pull/290.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #290
    
----
commit f579182ba8e4324e6e0bc6f396c152a78ffaebd4
Author: Chandni Singh <cs...@apache.org>
Date:   2016-04-01T01:56:01Z

    APEXCORE-401 created an artifact for codestyle configurations

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204758710
  
    Deployed the artifact to the staging repo. Will merge PR once it shows up in central.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204620676
  
    made a fix. please review again. 
    Thanks, Chandni


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-apex-core/pull/290


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58255053
  
    --- Diff: pom.xml ---
    @@ -335,6 +336,11 @@
               <version>2.17</version>
               <dependencies>
                 <dependency>
    +              <groupId>org.apache.apex</groupId>
    +              <artifactId>apex-codestyle-config</artifactId>
    +              <version>${project.version}</version>
    --- End diff --
    
    I am not sure of this but can we not change this to a fixed previously released version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204414197
  
    #1 can be addressed by releasing the Maven artifact separately.
    
    #2 should be solved in intellij
    
    --
    sent from mobile
    On Apr 1, 2016 7:16 AM, "Vlad Rozov" <no...@github.com> wrote:
    
    > I see couple of issues that such approach will introduce:
    >
    >    1. Changes to the codestyle configuration will not be visible in
    >    Malhar till the next Apex release while Apex will be affected immideately.
    >    2. IntelliJ has codestyle plugin that relies on codestyle definition
    >    file location. When this file is moved to a different location, switching
    >    between releases becomes quite inconvinient.
    >
    > —
    > You are receiving this because you commented.
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204412962>
    >



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204581927
  
    @tweise  @vrozov 
    ok. 
    does that mean that I right now I can't change the main apex pom.xml to use the new artifact as it is not present at the maven central repo. Only once the new artifact is available there, then I can modify the apex pom?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204616808
  
    checkstyle-suppressions.xml contains configuration that is only valid for -core. Can it be kept local?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58271890
  
    --- Diff: codestyle-config/pom.xml ---
    @@ -0,0 +1,35 @@
    +<?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">
    +  <parent>
    +    <groupId>org.apache.apex</groupId>
    +    <artifactId>apex</artifactId>
    +    <version>3.4.0-incubating-SNAPSHOT</version>
    +  </parent>
    +  <modelVersion>4.0.0</modelVersion>
    +
    +  <artifactId>apex-codestyle-config</artifactId>
    +  <name>Apache Apex (incubating) Codestyle Config</name>
    +
    --- End diff --
    
    Add a version here?
      <version>1.0.0-incubating</version>


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204518051
  
    squashed the commits 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204212702
  
    Nice.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204611790
  
    Made the necessary changes and squashed the commits.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by vrozov <gi...@git.apache.org>.
Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58249180
  
    --- Diff: pom.xml ---
    @@ -335,6 +336,11 @@
               <version>2.17</version>
               <dependencies>
                 <dependency>
    +              <groupId>org.apache.apex</groupId>
    +              <artifactId>apex-codestyle-config</artifactId>
    +              <version>${project.version}</version>
    --- End diff --
    
    This is a dependency on SNAPSHOT version that will be propagated to Malhar library. IMO, codestyle artifact should be on a different release cycle compared to Apex and/or Malhar and this is where separating it into a separate project will help. This will also help with avoiding every developer rebuilding the artifact every time Apex is built.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by vrozov <gi...@git.apache.org>.
Github user vrozov commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204412962
  
    I see couple of issues that such approach will introduce:
    
    1. Changes to the codestyle configuration will not be visible in Malhar till the next Apex release while Apex will be affected immideately.
    2. IntelliJ has codestyle plugin that relies on codestyle definition file location. When this file is moved to a different location, switching between releases becomes quite inconvinient.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by chandnisingh <gi...@git.apache.org>.
Github user chandnisingh commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204208364
  
    @PramodSSImmaneni please review 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58154352
  
    --- Diff: codestyle-config/pom.xml ---
    @@ -0,0 +1,35 @@
    +<?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">
    +  <parent>
    +    <groupId>org.apache.apex</groupId>
    +    <artifactId>apex</artifactId>
    +    <version>3.4.0-incubating-SNAPSHOT</version>
    +  </parent>
    +  <modelVersion>4.0.0</modelVersion>
    +
    +  <artifactId>apex-codesytle-config</artifactId>
    --- End diff --
    
    typo


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58256171
  
    --- Diff: pom.xml ---
    @@ -335,6 +336,11 @@
               <version>2.17</version>
               <dependencies>
                 <dependency>
    +              <groupId>org.apache.apex</groupId>
    +              <artifactId>apex-codestyle-config</artifactId>
    +              <version>${project.version}</version>
    --- End diff --
    
    This can be resolved by giving the artifact a fixed, separate version number. 1.0.0?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by vrozov <gi...@git.apache.org>.
Github user vrozov commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204434631
  
    Is it necessary to have a separate artifactId for codestyle and publish it to apache maven? Can the same goal be achieved by uploading codestyle definition file to a central location? For item 1, should checkstyle module be moved into a separate project?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by vrozov <gi...@git.apache.org>.
Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58264813
  
    --- Diff: pom.xml ---
    @@ -335,6 +336,11 @@
               <version>2.17</version>
               <dependencies>
                 <dependency>
    +              <groupId>org.apache.apex</groupId>
    +              <artifactId>apex-codestyle-config</artifactId>
    +              <version>${project.version}</version>
    --- End diff --
    
    Yes, I think `apex-codestyle-config` should be a separate project (source code may still be part of Apex repository) with it's own version and release cycle. It then can be released to maven prior to making changes to Apex pom.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204435522
  
    I don't see the need for separate project.
    
    Why not publish it to Maven, it is a central location?
    
    On Fri, Apr 1, 2016 at 8:16 AM, Vlad Rozov <no...@github.com> wrote:
    
    > Is it necessary to have a separate artifactId for codestyle and publish it
    > to apache maven? Can the same goal be achieved by uploading codestyle
    > definition file to a central location? For item 1, should checkstyle module
    > be moved into a separate project?
    >
    > —
    > You are receiving this because you commented.
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204434631>
    >



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204573946
  
    @chandnisingh once you make the changes I can work on pushing the codestyle artifact to maven along with merging the PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#discussion_r58271116
  
    --- Diff: pom.xml ---
    @@ -93,6 +93,7 @@
         <module>engine</module>
         <module>apex-app-archetype</module>
         <module>apex-conf-archetype</module>
    +    <module>codestyle-config</module>
    --- End diff --
    
    No need to have it in the module list when we release it separately.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-apex-core pull request: APEXCORE-401 created an artifact...

Posted by tweise <gi...@git.apache.org>.
Github user tweise commented on the pull request:

    https://github.com/apache/incubator-apex-core/pull/290#issuecomment-204604332
  
    You can submit the PR under the assumption it will be present. I will publish it as part of merging the PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---