You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Andrei Pozolotin (JIRA)" <ji...@apache.org> on 2012/10/05 23:02:04 UTC

[jira] [Created] (FELIX-3702) can not compile scr trunk

Andrei Pozolotin created FELIX-3702:
---------------------------------------

             Summary: can not compile scr trunk
                 Key: FELIX-3702
                 URL: https://issues.apache.org/jira/browse/FELIX-3702
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
         Environment: user1@wks002:/tmp/apache/felix/scr$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)

user1@wks002:/tmp/apache/felix/scr$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
Maven home: /opt/apache/apache-maven-3.0.4
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-30-generic-pae", arch: "i386", family: "unix"

user1@wks002:/tmp/apache/felix/scr$ uname -a
Linux wks002 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
            Reporter: Andrei Pozolotin


reproduce:
{code}
cd /tmp
mkdir apache
cd apache
git clone git://github.com/apache/felix.git
cd felix
cd scr
mvn clean install --define skipTests
{code}

result:
{code}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (FELIX-3702) can not compile scr trunk

Posted by "Pierre De Rop (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre De Rop closed FELIX-3702.
--------------------------------

    Resolution: Fixed

I actually forgot to add a license header in src/test/java/org/apache/felix/scr/integration/components/felix3680/G.java

But Göktürk fixed this problem and committed the file with a valid header.

I think it works now. (I'm closing this issue. Feel free to reopen it if the problem remains).
                
> can not compile scr trunk
> -------------------------
>
>                 Key: FELIX-3702
>                 URL: https://issues.apache.org/jira/browse/FELIX-3702
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>         Environment: user1@wks002:/tmp/apache/felix/scr$ java -version
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
> user1@wks002:/tmp/apache/felix/scr$ mvn -version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /opt/apache/apache-maven-3.0.4
> Java version: 1.7.0_07, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-30-generic-pae", arch: "i386", family: "unix"
> user1@wks002:/tmp/apache/felix/scr$ uname -a
> Linux wks002 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
>            Reporter: Andrei Pozolotin
>
> reproduce:
> {code}
> cd /tmp
> mkdir apache
> cd apache
> git clone git://github.com/apache/felix.git
> cd felix
> cd scr
> mvn clean install --define skipTests
> {code}
> result:
> {code}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-3702) can not compile scr trunk

Posted by "Andrei Pozolotin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470689#comment-13470689 ] 

Andrei Pozolotin commented on FELIX-3702:
-----------------------------------------

in my case:

works:
   mvn -Dmaven.test.skip=true clean package

does not work:
   mvn -Dmaven.test.skip=true clean install

                
> can not compile scr trunk
> -------------------------
>
>                 Key: FELIX-3702
>                 URL: https://issues.apache.org/jira/browse/FELIX-3702
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>         Environment: user1@wks002:/tmp/apache/felix/scr$ java -version
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
> user1@wks002:/tmp/apache/felix/scr$ mvn -version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /opt/apache/apache-maven-3.0.4
> Java version: 1.7.0_07, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-30-generic-pae", arch: "i386", family: "unix"
> user1@wks002:/tmp/apache/felix/scr$ uname -a
> Linux wks002 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
>            Reporter: Andrei Pozolotin
>
> reproduce:
> {code}
> cd /tmp
> mkdir apache
> cd apache
> git clone git://github.com/apache/felix.git
> cd felix
> cd scr
> mvn clean install --define skipTests
> {code}
> result:
> {code}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-3702) can not compile scr trunk

Posted by "Pierre De Rop (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470671#comment-13470671 ] 

Pierre De Rop commented on FELIX-3702:
--------------------------------------

I confirm, and have the same problem.
However, it works with 

   mvn -Dmaven.test.skip=true clean package
                
> can not compile scr trunk
> -------------------------
>
>                 Key: FELIX-3702
>                 URL: https://issues.apache.org/jira/browse/FELIX-3702
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>         Environment: user1@wks002:/tmp/apache/felix/scr$ java -version
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
> user1@wks002:/tmp/apache/felix/scr$ mvn -version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /opt/apache/apache-maven-3.0.4
> Java version: 1.7.0_07, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-30-generic-pae", arch: "i386", family: "unix"
> user1@wks002:/tmp/apache/felix/scr$ uname -a
> Linux wks002 3.2.0-30-generic-pae #48-Ubuntu SMP Fri Aug 24 17:14:09 UTC 2012 i686 i686 i386 GNU/Linux
>            Reporter: Andrei Pozolotin
>
> reproduce:
> {code}
> cd /tmp
> mkdir apache
> cd apache
> git clone git://github.com/apache/felix.git
> cd felix
> cd scr
> mvn clean install --define skipTests
> {code}
> result:
> {code}
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on project org.apache.felix.scr: Too many unapproved licenses: 1 -> [Help 1]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira